This commit is contained in:
2020-07-15 23:03:36 +01:00
parent 4c7b7b479d
commit d2d730f7c5
3 changed files with 5 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<body> <body>
<div class="container"> <div class="container">
<header> <header>
<h3><a href="/">Arona Jones</a></h3> <h3>Arona Jones</h3>
{{ partial "nav.html" . }} {{ partial "nav.html" . }}
</header> </header>
<main aria-label="Content"> <main aria-label="Content">

View File

@@ -1,9 +1,9 @@
{{ define "main" }} {{ define "main" }}
<article> <article>
<h1 style="padding-top: 2em; padding-bottom: 1em;">{{ .Title }}</h1> <h1 style="padding-top: 1em;">{{ .Title }}</h1>
<p>Tags: <p style="padding-bottom: 1em;">Tags:
{{ range (.GetTerms "categories") }} {{ range (.GetTerms "categories") }}
<a href="{{ .Permalink }}" style="background: black; border-radius: 0.5em; padding: 0.5em; margin: 0.4em">{{ .LinkTitle }}</a> <a href="{{ .Permalink }}" style="background: #202226; border-radius: 0.3em; padding: 0.4em; margin: 0.1em">{{ .LinkTitle }}</a>
{{ end }}</p> {{ end }}</p>
{{.Content}} {{.Content}}
<small>Published on {{ .Date.Format "2006-01-02" }}</small> <small>Published on {{ .Date.Format "2006-01-02" }}</small>

View File

@@ -2,6 +2,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ if and (.IsPage) (.Title) }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
<meta name="description" content="{{if .IsHome}}{{ $.Site.Title }}{{else}}{{.Description}}{{end}}" /> <meta name="description" content="{{if .IsHome}}{{ $.Site.Title }}{{else}}{{.Description}}{{end}}" />
<link rel="stylesheet" type="text/css" href="/css/screen.css"> <link rel="stylesheet" type="text/css" href="/css/screen.css">
<script defer src="/js/all.min.js"></script> <script defer src="/js/all.min.js"></script>