theme updates
This commit is contained in:
parent
441cda965b
commit
ef4088f9b8
4 changed files with 8 additions and 3 deletions
|
@ -20,6 +20,7 @@
|
||||||
<p>Thoughts or questions? <a href="mailto:{{$author.email}}?RE:subject={{.Title}}">Reply to this post</a></p>
|
<p>Thoughts or questions? <a href="mailto:{{$author.email}}?RE:subject={{.Title}}">Reply to this post</a></p>
|
||||||
{{end}}
|
{{end}}
|
||||||
</article>
|
</article>
|
||||||
|
{{ partial "related" .}}
|
||||||
</main>
|
</main>
|
||||||
{{partial "footer" .}}
|
{{partial "footer" .}}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -25,5 +25,4 @@
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
5
layouts/partials/related.html
Normal file
5
layouts/partials/related.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<div class="gallery">
|
||||||
|
{{range .Site.RegularPages.Related . | first 6 }}
|
||||||
|
{{partial "item" .}}
|
||||||
|
{{end}}
|
||||||
|
</div>
|
|
@ -705,7 +705,7 @@ svg{
|
||||||
|
|
||||||
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;}
|
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"])) {text-decoration: none !important;}
|
||||||
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;text-decoration: none !important;}
|
article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️";font-size:18px;margin:5px;text-decoration: none !important;}
|
||||||
.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after{
|
.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after, .image-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after{
|
||||||
content: "" !important;margin:0 !important;font-size:0;
|
content: "" !important;margin:0 !important;font-size:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue