diff options
| author | 2022-03-03 10:11:01 +0100 | |
|---|---|---|
| committer | 2022-03-03 10:11:01 +0100 | |
| commit | 82624418d5940ef628a51ca07aa222073fa9a388 (patch) | |
| tree | 247c542ea5cf952889bd394d1bb3e3a32ee3932f /templates | |
| parent | 12ddb91334e82c87f6318beea879eb53f1fd6f1c (diff) | |
change some things around
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/blog-page.html | 5 | ||||
| -rw-r--r-- | templates/blog.html | 4 | ||||
| -rw-r--r-- | templates/index.html | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/templates/blog-page.html b/templates/blog-page.html index b8263e0..ddf34f0 100644 --- a/templates/blog-page.html +++ b/templates/blog-page.html @@ -3,6 +3,10 @@ {% block title %}{{ page.title }}{% endblock title %} {% block content %} + +<nav class="navbar"> + <a href="/">Home</a> <a href="../">Go Back</a> +</nav> <h1 class="title"> {{ page.title }} </h1> @@ -10,5 +14,4 @@ <hr> {{ page.content | safe }} -<hr> <a href="../">Go back</a> {% endblock content %} diff --git a/templates/blog.html b/templates/blog.html index afee41d..fb7ea21 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -3,6 +3,9 @@ {% block title %}lemon's site{% endblock title %} {% block content %} +<nav class="navbar"> + <a href="/">Home</a> <!--a href="../">Go Back</a--!> +</nav> <h1 class="title"> {{ section.title }} </h1> @@ -11,5 +14,4 @@ <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a> ({{ page.date }})</li> {% endfor %} </ul> -<hr> <a href="../">Go back</a> {% endblock content %} diff --git a/templates/index.html b/templates/index.html index d6c2755..3eee716 100644 --- a/templates/index.html +++ b/templates/index.html @@ -12,7 +12,7 @@ share some of that stuff here. <ul> <li><a href="/mips.html">web MIPS assembler/disassembler (incomplete)</a> -<li><a href="/b">blog</a> (last updated on {{ get_section(path="b/_index.md") | get(key="pages") | map(attribute="date") | first }}) +<li><a href="/w">writings/blog</a> (last updated on {{ get_section(path="w/_index.md") | get(key="pages") | map(attribute="date") | first }}) <li><a href="https://git.sr.ht/~lsof/">git</a> <li><a href="https://www.youtube.com/channel/UCoZ8JbiXlq_Zh0DGvaGRTDQ">youtube</a> <li><img src="/asset/link.png" width="18" height="23"> |