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

main
Fabio Manganiello 3 months ago
parent c407c01675
commit ac42f10e48
  1. 6
      html/post.page.tmpl
  2. 4
      public/main.css

@ -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>

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

Loading…
Cancel
Save