updated footer, with tags, square brackets n shit
This commit is contained in:
parent
584f04778b
commit
05df40cfe6
11 changed files with 41 additions and 9 deletions
|
@ -3,3 +3,7 @@ languageCode = 'en-us'
|
||||||
title = 'vodoraslo'
|
title = 'vodoraslo'
|
||||||
theme = 'lugo'
|
theme = 'lugo'
|
||||||
pluralizelisttitles = false
|
pluralizelisttitles = false
|
||||||
|
[params]
|
||||||
|
showrss = true
|
||||||
|
nextprev = true
|
||||||
|
taglist = true
|
|
@ -19,11 +19,13 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
|
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -27,11 +27,18 @@ pluralizelisttitles = false ">
|
||||||
</code></pre></blockquote>
|
</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>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -18,11 +18,13 @@
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -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’s supposed to cd into the .git where hugo is, rsync the /public/ folder into var/www [where my site is])</p>
|
<p>im adding this bit in just to check if the scuffed shell script i made actually works (it’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>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -21,11 +21,13 @@
|
||||||
<li><a href="/blog/">Blog</a></li>
|
<li><a href="/blog/">Blog</a></li>
|
||||||
<li><a href="/helloworld/">Hello world</a></li>
|
<li><a href="/helloworld/">Hello world</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -19,11 +19,13 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
|
<li><a href="/blog/pluralization-issues/">Pluralization issues (Blogs instead of Blog)</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -20,11 +20,13 @@
|
||||||
<li><a href="/tags/blog/">blog</a></li>
|
<li><a href="/tags/blog/">blog</a></li>
|
||||||
<li><a href="/tags/updates/">updates</a></li>
|
<li><a href="/tags/updates/">updates</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -19,11 +19,13 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/helloworld/">Hello world</a></li>
|
<li><a href="/helloworld/">Hello world</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<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>
|
</footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
|
{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}}
|
||||||
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
|
{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}}
|
||||||
|
<br><br>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ block "footer" . }}
|
{{ block "footer" . }}
|
||||||
|
|
|
@ -2,12 +2,14 @@
|
||||||
{{- $tagsLen := len .Params.tags -}}
|
{{- $tagsLen := len .Params.tags -}}
|
||||||
{{- if gt $tagsLen 0 -}}
|
{{- if gt $tagsLen 0 -}}
|
||||||
<div style="clear:both" class=taglist>
|
<div style="clear:both" class=taglist>
|
||||||
|
Tags: [
|
||||||
{{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
|
{{- with .Site.Params.relatedtext }}{{ . }}<br>{{ end -}}
|
||||||
{{- range $k, $v := .Params.tags -}}
|
{{- range $k, $v := .Params.tags -}}
|
||||||
{{- $url := printf "tags/%s" (. | urlize | lower) -}}
|
{{- $url := printf "tags/%s" (. | urlize | lower) -}}
|
||||||
<a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
|
<a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a>
|
||||||
{{- if lt $k (sub $tagsLen 1) }} · {{ end -}}
|
{{- if lt $k (sub $tagsLen 1) }} · {{ end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
]
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue