Added link to the raw version of a post and removed link to the parent blog

This commit is contained in:
Fabio Manganiello 2022-08-24 01:44:34 +02:00
parent c407c01675
commit ac42f10e48
2 changed files with 7 additions and 3 deletions

View file

@ -21,11 +21,11 @@
{{define "body"}}
<header>
<h1 class="text-2xl font-bold">{{.Title}}</h1>
<h1 class="text-2xl font-bold">{{.Title}} <a href="{{.URL}}/raw" class="sub">(raw)</a></h1>
<p class="font-bold m-0">
<time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
<span> on </span>
<a href="{{.BlogURL}}">{{.BlogName}}</a></p>
<!-- <span> on </span> -->
<!-- <a href="{{.BlogURL}}">{{.BlogName}}</a></p> -->
</header>
<main>
<article>

View file

@ -88,6 +88,10 @@ h1, h2, h3 {
font-size: inherit;
}
h1 .sub {
font-size: 0.6em;
}
hr {
color: inherit;
border: 0;