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"}} {{define "body"}}
<header> <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"> <p class="font-bold m-0">
<time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time> <time datetime="{{.PublishAtISO}}">{{.PublishAt}}</time>
<span> on </span> <!-- <span> on </span> -->
<a href="{{.BlogURL}}">{{.BlogName}}</a></p> <!-- <a href="{{.BlogURL}}">{{.BlogName}}</a></p> -->
</header> </header>
<main> <main>
<article> <article>

View file

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