Indiewebify part 1
This commit is contained in:
parent
d35ed10bdc
commit
ce58c4ebc1
3 changed files with 12 additions and 7 deletions
|
@ -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>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{{ define "main" }}
|
||||
<section class="section">
|
||||
<article>
|
||||
<article class="h-entry">
|
||||
<div class="blog__container">
|
||||
<h1 style="font-size: xx-large;">{{ .Title }}</h1>
|
||||
<h1 class="post-title p-name" style="font-size: xx-large;">{{ .Title }}</h1>
|
||||
<div class="blog__info">
|
||||
<p><time>{{ .PublishDate.Format "January 2, 2006" }}</time> |
|
||||
<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>
|
||||
|
|
Loading…
Add table
Reference in a new issue