Indiewebify part 1

This commit is contained in:
ch0ccyra1n 2024-02-01 14:37:30 -08:00
parent d35ed10bdc
commit ce58c4ebc1
3 changed files with 12 additions and 7 deletions

View file

@ -1,2 +1,7 @@
<p class="h-card vcard">
<a style="text-decoration: none" href={{ .Site.BaseURL }} class="p-name u-url url author metatag" rel="me"> {{ .Site.Author.name }} </a> /
<a class="p-nickname u-email email metatag" rel="me" href="mailto:{{ .Site.Author.email }}"> {{ .Site.Author.nick }} </a>
<img class="u-photo" src="images/profile.png" alt="" />
</p>
<br>
<p>Copyright (c) {{ now.Format "2006"}} ch0ccyra1n</p>

View file

@ -1,17 +1,17 @@
{{ define "main" }}
<section class="section">
<article>
<article class="h-entry">
<div class="blog__container">
<h1 style="font-size: xx-large;">{{ .Title }}</h1>
<div class="blog__info">
<p><time>{{ .PublishDate.Format "January 2, 2006" }}</time> |
<h1 class="post-title p-name" style="font-size: xx-large;">{{ .Title }}</h1>
<div class="blog__info">
<span>Published at <a class="u-url" href="{{ .Permalink }}"><time class="dt-published">{{ .PublishDate.Format "January 2, 2006" }}</time></a> by <span class="p-author">{{ .Params.author | default .Site.Author.name }}</span></span> |
{{ .ReadingTime }} {{ if eq .ReadingTime 1 }} minute {{ else }} minutes {{ end }} read
</p>
</div>
<div class="content">
<div class="post-content clearfix e-content content" itemprop="articleBody">
{{ .Content }}
</div>
</div>
</article>
</section>
{{ end }}
{{ end }}

View file

@ -1 +1 @@
<link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="/css/style.css" type="text/css" media="all" />