Update footer and add no-bullets class for unordered lists
This commit is contained in:
@@ -27,6 +27,12 @@
|
||||
<p>
|
||||
<!-- see https://stackoverflow.com/questions/12464656/get-todays-date-in-jekyll-with-liquid-markup -->
|
||||
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>
|
||||
</footer>
|
||||
</body>
|
||||
|
||||
@@ -11,13 +11,13 @@ layout: default
|
||||
{% if page.backlinks.size > 0 %}
|
||||
<div class="backlink-box">
|
||||
<h3>Notes mentioning this note</h3>
|
||||
<div>
|
||||
<ul class="no-bullets">
|
||||
{% 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>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -52,13 +52,18 @@ a:hover {
|
||||
|
||||
/* Improve readability for smaller text, especially in long paragraphs */
|
||||
p,
|
||||
a,
|
||||
ul,
|
||||
ol {
|
||||
line-height: var(--line-height-base);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
ul.no-bullets {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
|
||||
Reference in New Issue
Block a user