Fix titles and headings (#204)
* Update head.html * Update header.html * Update head.html * Update header.html * Update about.html Co-authored-by: Maruan <alshedivat@users.noreply.github.com>
This commit is contained in:
parent
9229f7d881
commit
218291bceb
@ -2,7 +2,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
||||||
<title>{% if site.title == blank %}{{ site.title }}{% else %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
|
<title>{% if site.title == "blank" %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
|
||||||
<meta name="description" content="{{ site.description }}">
|
<meta name="description" content="{{ site.description }}">
|
||||||
|
|
||||||
<!-- Open Graph -->
|
<!-- Open Graph -->
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
{% if page.title != "about" %}
|
{% if page.title != "about" %}
|
||||||
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/">
|
<a class="navbar-brand title font-weight-lighter" href="{{ site.baseurl | prepend: site.url }}/">
|
||||||
{% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
|
{% if site.title == "blank" %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}
|
||||||
</a>
|
</a>
|
||||||
{% elsif site.show_social_icons %}
|
{% elsif site.show_social_icons %}
|
||||||
<!-- Social Icons -->
|
<!-- Social Icons -->
|
||||||
|
@ -6,7 +6,7 @@ layout: default
|
|||||||
|
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h1 class="post-title">
|
<h1 class="post-title">
|
||||||
{% if site.title == blank %}{{ site.title }}{% else %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% endif %}
|
{% if site.title == "blank" %}<span class="font-weight-bold">{{ site.first_name }}</span> {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="desc">{{ page.description }}</p>
|
<p class="desc">{{ page.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
Reference in New Issue
Block a user