updated footer, with tags, square brackets n shit

This commit is contained in:
kurets 2022-12-18 22:55:12 +02:00
parent 584f04778b
commit 05df40cfe6
11 changed files with 41 additions and 9 deletions

View file

@ -2,4 +2,8 @@ baseURL = 'https://vodoraslo.xyz/'
languageCode = 'en-us'
title = 'vodoraslo'
theme = 'lugo'
pluralizelisttitles = false
pluralizelisttitles = false
[params]
showrss = true
nextprev = true
taglist = true

View file

@ -19,11 +19,13 @@
<ul>
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -27,11 +27,18 @@ pluralizelisttitles = false ">
</code></pre></blockquote>
<div id="nextprev">
<a href="/helloworld/"><div id="prevart">Previous:<br>Hello world</div></a>
</div>
<div style="clear:both" class=taglist>
Tags: [<a id="tag_blog" href="https://vodoraslo.xyz/tags/blog">Blog</a>]
</div>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -18,11 +18,13 @@
<ul>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -38,11 +38,17 @@ im adding this bit in just to check if the scuffed shell script i made actually
<p>im adding this bit in just to check if the scuffed shell script i made actually works (it&rsquo;s supposed to cd into the .git where hugo is, rsync the /public/ folder into var/www [where my site is])</p>
<div id="nextprev"><a href="/blog/pluralization-issues/"><div id="nextart">Next:<br>Pluralization issues (Blogs instead of Blog)</div></a>
</div>
<div style="clear:both" class=taglist>
Tags: [<a id="tag_updates" href="https://vodoraslo.xyz/tags/updates">Updates</a>]
</div>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -21,11 +21,13 @@
<li><a href="/blog/">Blog</a></li>
<li><a href="/helloworld/">Hello world</a></li>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -19,11 +19,13 @@
<ul>
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -20,11 +20,13 @@
<li><a href="/tags/blog/">blog</a></li>
<li><a href="/tags/updates/">updates</a></li>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -19,11 +19,13 @@
<ul>
<li><a href="/helloworld/">Hello world</a></li>
</ul>
<br><br>
</article>
</main>
<footer>
<a href="https://vodoraslo.xyz/">Homepage</a>
<a href="https://vodoraslo.xyz/">Homepage</a><br><br><a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>

View file

@ -24,6 +24,7 @@
{{ end }}
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
<br><br>
</article>
</main>
{{ block "footer" . }}

View file

@ -2,12 +2,14 @@
{{- $tagsLen := len .Params.tags -}}
{{- if gt $tagsLen 0 -}}
<div style="clear:both" class=taglist>
Tags: [
{{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
{{- range $k, $v := .Params.tags -}}
{{- $url := printf "tags/%s" (. | urlize | lower) -}}
<a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
{{- if lt $k (sub $tagsLen 1) }} &middot; {{ end -}}
{{- end -}}
]
</div>
{{- end -}}
{{- end }}