Skip to content

Commit

Permalink
fix: styling and templating issues
Browse files Browse the repository at this point in the history
  • Loading branch information
phorward committed Jun 19, 2024
1 parent 5b7755d commit 19d64f3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion content/news/2024-06-19-tokay_v0.6.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ See the screenshot below with a REPL executed in Tokay v0.6.5 and Tokay v0.6.6.

For example, just specifying `,` defines an empty list. An item followed by `,` turns the item into a list.

![Two consoles besides showing differences between v0.6.5 and v0.6.6](/news/2024-06-19-tokay_v0.6.6.jpg)
[![Two consoles besides showing differences between v0.6.5 and v0.6.6](/news/2024-06-19-tokay_v0.6.6.jpg)](/news/2024-06-19-tokay_v0.6.6.jpg)
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ ul > li, ol > li {
padding: 0.3rem 0;
}

p > img {
p img {
width: 100%;
height: auto;
}
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h3 class="title-text">
{% block footer %}
<footer>
<small class="subtext">
© 2023 by <a href="https://phorward.dev">Jan Max Meyer, Phorward Software Technologies</a><br>
© 2024 by <a href="https://phorward.dev">Jan Max Meyer, Phorward Software Technologies</a><br>
Tokay is free software released under the MIT license.
</small>
</footer>
Expand Down
5 changes: 3 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% extends "index.html" %}

{% block head %}
<script src="nav.js"></script>
<script src="/nav.js"></script>
{% endblock head %}

{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
Expand All @@ -14,7 +14,8 @@
{% endblock header %}

{% block content %}
<div class="heading-text">{{ page.title }}</div>
<div class="heading-text">{{ page.date }}</div>
<div class="title-text">{{ page.title }}</div>

{{ page.content | safe }}
{% endblock content %}
2 changes: 1 addition & 1 deletion templates/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<article>
<h2><a href="{{ page.permalink | safe }}">{{ page.date }} - {{ page.title }}</a></h2>
{{ page.summary | safe }}
<p><small><a href="{{ page.permalink | safe }}">continue reading...</a></small></p>
<p><small><a href="{{ page.permalink | safe }}">Continue reading</a></small></p>
</article>
{% endfor %}

Expand Down

0 comments on commit 19d64f3

Please sign in to comment.