mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 08:01:12 +01:00
first commit
This commit is contained in:
21
layouts/_default/term.html
Normal file
21
layouts/_default/term.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ define "main" }}
|
||||
|
||||
<div class="breadcrumbs">
|
||||
You are here:
|
||||
<a href="{{ "/" | relURL }}">Home</a> /
|
||||
<a href="{{ "/categories/" | relURL }}">Categories</a> /
|
||||
<span>{{ .Title }}</span>
|
||||
</div>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
<section class="posts-list">
|
||||
{{ range .Pages.ByDate.Reverse }}
|
||||
{{ partial "main/dates.html" . }}
|
||||
<h2 class="term-post-title">
|
||||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
|
||||
</h2>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ end }}
|
||||
15
layouts/_partials/head.html
Normal file
15
layouts/_partials/head.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
|
||||
{{ partial "head/head-start.html" . }}
|
||||
{{ partialCached "head/scss.html" . }}
|
||||
{{ partial "head/favicon.html" . }}
|
||||
{{ partial "head/description.html" . }}
|
||||
{{ partial "opengraph.html" . }}
|
||||
{{ partial "schema.html" . }}
|
||||
{{ partial "head/rss_link.html" . }}
|
||||
|
||||
<!-- Direct custom CSS -->
|
||||
<link rel="stylesheet" href="{{ "css/custom.css" | relURL }}">
|
||||
|
||||
{{ partial "head/head-end.html" . }}
|
||||
Reference in New Issue
Block a user