mirror of
https://github.com/jessebot/tiny_personal_website.git
synced 2025-10-01 01:48:43 +00:00
accounting for long names, adjusts heading size if name > 13 char
This commit is contained in:
parent
080c63ece0
commit
32a854d8ad
1 changed files with 5 additions and 1 deletions
|
@ -17,7 +17,11 @@
|
|||
<img class="featurette-image img-responsive img-circle" src="/images/{{main_pic}}">
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-7 featureTextPad">
|
||||
<h2 class="featurette-heading"><span class="text-muted">Hi, I'm</span> {{name}}.</h2>
|
||||
% if len(name) > 13:
|
||||
<h3 class="featurette-heading"><span class="text-muted">Hi, I'm</span> {{name}}.</h3>
|
||||
% else:
|
||||
<h2 class="featurette-heading"><span class="text-muted">Hi, I'm</span> {{name}}.</h2>
|
||||
% end
|
||||
<p class="lead">{{header_quotation}}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue