mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:35:31 -04:00
Redesign post headings
This commit is contained in:
@@ -2,18 +2,11 @@
|
||||
<main id="single">
|
||||
<article>
|
||||
<div id="meta">
|
||||
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<div id="byline">
|
||||
<span id="author">by <a class="no-underline" href="{{ .Site.BaseURL }}" rel="me author">{{ .Site.Author.name }}</a></span>
|
||||
<span id="date"><span class="dot">·</span> <a class="no-underline" href="{{ .Permalink }}" title="{{ .Date.Format "Mon, Jan 2 2006 3:04:05 PM MST" }}">{{ .Date.Format "January 2, 2006" }}</a></span>
|
||||
{{ with .Site.Params.gitRepo }}<span id="edit"><span class="dot">·</span> <a class="no-underline" href="{{ . }}/blob/master/content/{{ $.File.Path }}" title="Edit this page on GitHub" target="_blank" rel="noopener">Improve Post</a></span>{{ end }}
|
||||
<ul id="tags">
|
||||
{{- with .Params.tags }}{{ range . }}
|
||||
<li>{{ . }}</li>
|
||||
{{- end }}{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<a class="no-underline" id="date" href="{{ .Permalink }}" title="{{ .Date.Format "Mon, Jan 2 2006 3:04:05 PM MST" }}">{{ .Date.Format "January 2, 2006" }}</a>{{ with .Site.Params.gitRepo }}<span id="edit"><span class="dash">—</span><a class="no-underline" href="{{ . }}/edit/master/content/{{ $.File.Path }}" title="Edit this post on GitHub" target="_blank" rel="noopener">Improve This Post</a></span>{{ end }}
|
||||
</div>
|
||||
|
||||
<h1 id="title"><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user