1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 08:35:31 -04:00

h1 permalink on video pages & subtitle styling

This commit is contained in:
2019-12-20 11:19:57 -05:00
parent 9ecee6ed60
commit 47016b1109
7 changed files with 26 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
<main id="single">
<article>
<div id="meta">
<h1><a href="{{ .Permalink }}" class="no-underline">{{ .Title }}</a></h1>
<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">&middot;</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>

View File

@@ -1,6 +1,6 @@
{{ define "main" }}
<main id="video">
<h1>{{ .Title }}</h1>
<h1><a class="no-underline" href="{{ .Permalink }}">{{ .Title }}</a></h1>
<video
{{ with .Resources.GetMatch "images/*.png" }}poster="{{ .Permalink }}"{{ end }}