diff options
| author | Kleidi Bujari <mail@4kb.net> | 2024-12-18 20:17:41 -0500 |
|---|---|---|
| committer | Kleidi Bujari <mail@4kb.net> | 2024-12-18 20:20:52 -0500 |
| commit | b847b87823dfd7e1b7870c67ea32199bc607f852 (patch) | |
| tree | 54a2923544e0bb765a3218e8c40c793f952ca421 /mod/web/blog/templates/index.html | |
| parent | eb13a9a552f9e50a66faba985521ba8e3483c447 (diff) | |
| download | depot-b847b87823dfd7e1b7870c67ea32199bc607f852.tar.gz depot-b847b87823dfd7e1b7870c67ea32199bc607f852.tar.bz2 depot-b847b87823dfd7e1b7870c67ea32199bc607f852.zip | |
Enable github actions
Moved personal blog to be built in this tree. Also enables github
actions to host the site on pages.
Diffstat (limited to 'mod/web/blog/templates/index.html')
| -rw-r--r-- | mod/web/blog/templates/index.html | 50 |
1 files changed, 11 insertions, 39 deletions
diff --git a/mod/web/blog/templates/index.html b/mod/web/blog/templates/index.html index 74e9a0f..6e8a2af 100644 --- a/mod/web/blog/templates/index.html +++ b/mod/web/blog/templates/index.html @@ -1,44 +1,16 @@ {% extends "base.html" %} {% block content %} -<h2>welcome!</h2> +<div> + {% set section = get_section(path="posts/_index.md") %} -<p> - I'm a computer engineering undergrad studying in Toronto. This is my personal - site where I sometimes publish long form posts on topics I'm interested in, or - short "logs" for information I want to remember. -</p> - -<span>Find me on:</span> -<ul> - <li>email: <a href="mailto:mail@4kb.net">mail@4kb.net</a></li> - <li>github: <a href="https://github.com/kbujari">kbujari</a></li> -</ul> - -<!--<h3>Recent Posts</h3>--> -<!----> -<!--{% set section = get_section(path="posts/_index.md") %}--> -<!----> -<!--<ul>--> -<!-- {% for page in section.pages | slice(end=4) %}--> -<!-- <li>--> -<!-- <span>[{{ page.date }}]</span>--> -<!-- <a href="{{ page.permalink | safe }}">{{ page.title }}</a>--> -<!-- </li>--> -<!-- {% endfor %}--> -<!--</ul>--> - -<h3>Recent Logs</h3> - -{% set section = get_section(path="log/_index.md") %} - -<ul> - {% for page in section.pages | slice(end=4) %} - <li> - <span>[{{ page.date }}]</span> - <a href="{{ page.permalink | safe }}">{{ page.title }}</a> + <ul style="list-style: none; padding-left: 0"> + {% for page in section.pages %} + <li style="display: flex; gap: 1em; margin-bottom: 0.3em"> + <span sty>{{ page.date }}</span> + <a href="{{ page.permalink | safe }}">{{ page.title }}</a> </li> - {% endfor %} -</ul> - + {% endfor %} + </ul> -{% endblock content %} + {% endblock content %} +</div> |
