Update footer and add no-bullets class for unordered lists

This commit is contained in:
2026-09-21 23:30:13 -04:00
parent 8aebc523c8
commit 5e4e19da40
3 changed files with 16 additions and 5 deletions

View File

@@ -27,6 +27,12 @@
<p> <p>
<!-- see https://stackoverflow.com/questions/12464656/get-todays-date-in-jekyll-with-liquid-markup --> <!-- see https://stackoverflow.com/questions/12464656/get-todays-date-in-jekyll-with-liquid-markup -->
Website text © {{ site.time | date: '%Y' }} Brendan Chen. Website text © {{ site.time | date: '%Y' }} Brendan Chen.
<br />
<a href="/">Home</a>
<br />
<a href="/">Projects</a>
<br />
<a target="_blank" href="https://gitea.bchen.dev/brendan/brendan-ch.github.io">View website source</a>
</p> </p>
</footer> </footer>
</body> </body>

View File

@@ -11,13 +11,13 @@ layout: default
{% if page.backlinks.size > 0 %} {% if page.backlinks.size > 0 %}
<div class="backlink-box"> <div class="backlink-box">
<h3>Notes mentioning this note</h3> <h3>Notes mentioning this note</h3>
<div> <ul class="no-bullets">
{% for backlink in page.backlinks %} {% for backlink in page.backlinks %}
<div class="backlinks"> <li class="backlinks">
<a class="internal-link" href="{{ site.baseurl }}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br> <a class="internal-link" href="{{ site.baseurl }}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br>
</div> </li>
{% endfor %} {% endfor %}
</div> </ul>
</div> </div>
{% endif %} {% endif %}

View File

@@ -52,13 +52,18 @@ a:hover {
/* Improve readability for smaller text, especially in long paragraphs */ /* Improve readability for smaller text, especially in long paragraphs */
p, p,
a,
ul, ul,
ol { ol {
line-height: var(--line-height-base); line-height: var(--line-height-base);
font-size: var(--font-size-base); font-size: var(--font-size-base);
} }
ul.no-bullets {
list-style: none;
padding-left: 0;
margin: 0;
}
h1, h1,
h2, h2,
h3, h3,