diff options
| author | JackJ30 <jackqjamison@gmail.com> | 2025-05-26 11:38:27 -0400 |
|---|---|---|
| committer | JackJ30 <jackqjamison@gmail.com> | 2025-05-26 11:38:27 -0400 |
| commit | 6bc99e62b4ff7a17caddbe8c077ed2a5d4f18c92 (patch) | |
| tree | b93fc9d23bbe3352eb7d734f54154be06a66a91d /zola-static/templates | |
| parent | e8e8289d53517bb84141d69611f54360e0051d49 (diff) | |
added personal advertisement and style
Diffstat (limited to 'zola-static/templates')
| -rw-r--r-- | zola-static/templates/advertisement.html | 2 | ||||
| -rw-r--r-- | zola-static/templates/blog-page.html | 1 | ||||
| -rw-r--r-- | zola-static/templates/index.html | 46 |
3 files changed, 30 insertions, 19 deletions
diff --git a/zola-static/templates/advertisement.html b/zola-static/templates/advertisement.html new file mode 100644 index 0000000..ec768ca --- /dev/null +++ b/zola-static/templates/advertisement.html @@ -0,0 +1,2 @@ +<hr> +<p>If you liked this article, check out my <a href="{{ config.base_url }}">homepage</a>.</p> diff --git a/zola-static/templates/blog-page.html b/zola-static/templates/blog-page.html index ed1afeb..8b99055 100644 --- a/zola-static/templates/blog-page.html +++ b/zola-static/templates/blog-page.html @@ -18,4 +18,5 @@ {% block content %} {{ page.content | safe }} +{% include "advertisement.html" %} {% endblock content %} diff --git a/zola-static/templates/index.html b/zola-static/templates/index.html index 2dbb894..9cfef7f 100644 --- a/zola-static/templates/index.html +++ b/zola-static/templates/index.html @@ -1,25 +1,33 @@ {% extends "base.html" %} {% block content %} -<h2>All about</h2> -<ul> - <li><a href="{{ get_url(path='@/about-me.md') }}">About me</a></li> - <li><a href="{{ get_url(path='@/about-this-site.md') }}">About this site</a></li> -</ul> -<h2>Articles</h2> -<ul> - <li><a href="{{ get_url(path='@/blog/emacs-garbage-collection.md') }}">Solving Emacs Garbage Collection Stutters</a></li> -</ul> -<h2>Projects</h2> -<ul> - <li><a href="https://github.com/Martian-Technologies/Logic-Graph-Creator">Gatality Logic Simulator</a></li> - <li><a href="{{ get_url(path='@/projects/_index.md') }}">View More</a></li> -</ul> -<h2>Links</h2> -<ul> - <li><a href="https://github.com/JackJ30">GitHub</a></li> - <li><a href="https://jackj30.github.io">Old portfolio (haven't migrated here yet)</a></li> -</ul> +<div class="index-section"> + <h2>All about</h2> + <ul> + <li><a href="{{ get_url(path='@/about-me.md') }}">About me</a></li> + <li><a href="{{ get_url(path='@/about-this-site.md') }}">About this site</a></li> + </ul> +</div> +<div class="index-section"> + <h2>Articles</h2> + <ul> + <li><a href="{{ get_url(path='@/blog/emacs-garbage-collection.md') }}">Solving Emacs Garbage Collection Stutters</a></li> + </ul> +</div> +<div class="index-section"> + <h2>Projects</h2> + <ul> + <li><a href="https://github.com/Martian-Technologies/Logic-Graph-Creator">Gatality Logic Simulator</a></li> + <li><a href="{{ get_url(path='@/projects/_index.md') }}">View More</a></li> + </ul> +</div> +<div class="index-section"> + <h2>Links</h2> + <ul> + <li><a href="https://github.com/JackJ30">GitHub</a></li> + <li><a href="https://jackj30.github.io">Old portfolio (haven't migrated here yet)</a></li> + </ul> +</div> <hr> <p class="footer-text"><a href="{{ get_url(path='@/blog/_index.md') }}">All articles sorted by date</a> • <a href="{{ get_url(path='@/the-archive.md') }}">Archive</a></p> {% endblock content %} |
