_layouts/about.html in jekyll-theme-tallneck-0.2.3 vs _layouts/about.html in jekyll-theme-tallneck-0.2.4
- old
+ new
@@ -6,11 +6,10 @@
<h1>{{ page.title }}</h1>
{% else %}
<h1>About me</h1>
{% endif %}
- {% if site.social %}
<nav class="about-social no_print">
{% if site.github_url %}
<a href="{{ site.github_url }}" title="GitHub" target="_blank" rel="noopener">
<svg class="about-social--icon">
<use href="{{ "/assets/icon/github.svg#github" | relative_url }}" alt="GitHub"></use>
@@ -94,15 +93,16 @@
</use>
</svg>
</a>
{% endif %}
</nav>
- {% endif %}
<div class="about">
+ {% if page.image %}
<div class="about--img">
- <img src="{{ site.about_image | relative_url }}" alt="About me" width="500px" height="500px">
+ <img src="{{ page.image | relative_url }}" alt="About me" width="500px" height="500px">
</div>
+ {% endif %}
<div class="about--content">
{{ content }}
</div>
</div>
</div>
\ No newline at end of file