adjusted blog layout

This commit is contained in:
Paul Gauthier 2024-05-02 18:03:01 -07:00
parent 54aa208171
commit c48d7be1f6
2 changed files with 5 additions and 4 deletions

View file

@ -50,7 +50,6 @@
{% if site.github.is_project_page %} {% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span> <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %} {% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer> </footer>
</main> </main>
</body> </body>

View file

@ -14,9 +14,11 @@ layout: default
{{ post.content | strip_html | truncatewords: 100 }}... {{ post.content | strip_html | truncatewords: 100 }}...
{% endif %} {% endif %}
{% if post.highlight_image %} {% if post.highlight_image %}
<div class="post-highlight"> <a href="{{ site.baseurl }}{{ post.url }}">
<img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image"> <div class="post-highlight">
</div> <img src="{{ site.baseurl }}{{ post.highlight_image }}" alt="Highlight Image">
</div>
</a>
{% endif %} {% endif %}
</div> </div>
</div> </div>