1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 12:15:34 -04:00

syntax highlighting!

This commit is contained in:
2019-04-22 11:26:16 -04:00
parent a00014d33a
commit b4953407ee
6 changed files with 86 additions and 15 deletions

View File

@@ -7,11 +7,12 @@
<div class="meta">
by <span itemprop="author" itemscope itemtype="http://schema.org/Person" class="p-author"><a itemprop="url" rel="me author" href="{{ .Site.BaseURL }}" title="Jake Jarvis" class="h-card"><span itemprop="name" class="p-name">Jake Jarvis</span></a></span> &middot;
<a href="{{ .Permalink }}"><time itemprop="datePublished" content="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}" class="dt-published">{{ .Date.Format "January 2, 2006" }}</time></a> &middot;
<!-- {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} &middot; -->
<!-- {{ if lt 1 .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} &middot; -->
{{ .ReadingTime }} minute read
<div class="tags">
{{ with .Params.tags }}{{ if ge (len .) 1 }}
{{ range . }}<span class="tag p-category"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span> {{ end }}
{{ range . }}<span class="tag p-category"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span>
{{ end }}
{{ end }}{{ end }}
</div>
</div>