init commit
This commit is contained in:
22
layouts/_default/403.html
Normal file
22
layouts/_default/403.html
Normal file
@ -0,0 +1,22 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content has-text-align-center">
|
||||
<h1 class="block-heading pulse">403</h1>
|
||||
<h2 class="block-heading">The Path Ahead Is Forbidden</h2>
|
||||
<p class="block-heading">We regret to inform you that the journey you are attempting to embark upon has been deemed forbidden. You stand at the threshold of a path barred by digital locks and guarded by impenetrable gates.</p>
|
||||
<div class="block-image">
|
||||
<figure class="aligncenter size-full">
|
||||
<img loading="lazy" decoding="async" width="auto" height="512px" src="https://git.oldgate.org/OGS/Branding/raw/branch/main/Characters/vector/white/white-stop-ojer.svg" alt="">
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
1
layouts/_default/_markup/render-image.html
Normal file
1
layouts/_default/_markup/render-image.html
Normal file
@ -0,0 +1 @@
|
||||
<img decoding="async" loading="lazy" src="{{ .Destination | safeURL }}" alt="{{ .Text }}"{{ with .Title }} title="{{ . }}"{{ end }} />
|
21
layouts/_default/baseof.html
Normal file
21
layouts/_default/baseof.html
Normal file
@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
<head>
|
||||
<title>
|
||||
{{ if .IsHome }}
|
||||
{{ .Site.Title }} - {{ .Site.Params.tagline }}
|
||||
{{ else }}
|
||||
{{ .Title }} - {{ .Site.Title }}
|
||||
{{ end }}
|
||||
</title>
|
||||
{{ partial "head.html" . }}
|
||||
</head>
|
||||
<body class="{{ if eq .Type "page" }}page-template-default page{{ else if eq .Type "post" }}post-template-default post{{ else }}page-template-default page{{ end }}">
|
||||
<div id="{{ if eq .Type "page" }}page{{ else if eq .Type "post" }}post{{ else }}page{{ end }}" class="site">
|
||||
{{ partial "header.html" . }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
{{ partial "script.html" . }}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
18
layouts/_default/layout-column.html
Normal file
18
layouts/_default/layout-column.html
Normal file
@ -0,0 +1,18 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
{{ partial "title.html" . }}
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content">
|
||||
<div class="block-columns is-layout-flex">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
34
layouts/_default/list.html
Normal file
34
layouts/_default/list.html
Normal file
@ -0,0 +1,34 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
{{ partial "title.html" . }}
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content">
|
||||
<ul class="posts-list">
|
||||
{{ range where .Paginator.Pages "Type" "!=" "page" }}
|
||||
<li class="posts-list-item">
|
||||
<a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
<span class="posts-list-item-description">
|
||||
<svg class="svg-icon" width="16" height="16" viewBox="0 0 .48 .48" fill="none" stroke="#fff" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M.024.168h.432M.12.024v.048M.36.024v.048M.096.24h.048m.072 0h.048m.072 0h.048M.096.312h.048m.072 0h.048m.072 0h.048M.096.384h.048m.072 0h.048m.072 0h.048M.101.456h.278c.027 0 .04 0 .05-.005A.048.048 0 00.452.43C.456.42.456.406.456.38V.148c0-.027 0-.04-.005-.05A.048.048 0 00.43.076C.42.072.406.072.38.072H.1c-.026 0-.04 0-.05.005a.048.048 0 00-.02.021C.023.108.023.122.023.148V.38c0 .027 0 .04.005.05A.048.048 0 00.05.452C.06.456.074.456.1.456z" stroke-width=".048" stroke-linecap="round"/>
|
||||
</svg>
|
||||
{{ .PublishDate.Format "Jan 2, 2006" }}
|
||||
<span class="posts-list-item-separator">-</span>
|
||||
<svg class="svg-icon" width="16" height="16" viewBox="0 0 6 6" fill="none" stroke="#fff" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 4.448V3l-.734-.434M5.642 3c0 1.44-1.183 2.606-2.642 2.606C1.541 5.606.358 4.44.358 3 .358 1.56 1.541.394 3 .394 4.459.394 5.642 1.56 5.642 3z" stroke-width=".583" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
{{ .ReadingTime }} min read
|
||||
</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{{ partial "pagination.html" $ }}
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
15
layouts/_default/notitle.html
Normal file
15
layouts/_default/notitle.html
Normal file
@ -0,0 +1,15 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
16
layouts/_default/single.html
Normal file
16
layouts/_default/single.html
Normal file
@ -0,0 +1,16 @@
|
||||
{{ define "main" }}
|
||||
<div id="content" class="site-content">
|
||||
<div class="ctb-content-sidebar u-wrapper">
|
||||
<main id="primary" class="site-main">
|
||||
<article class="ctb-article ctb-singular page type-page hentry">
|
||||
{{ partial "title.html" . }}
|
||||
<div class="ctb-content">
|
||||
<div class="entry-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
24
layouts/_default/sitemap.xml
Normal file
24
layouts/_default/sitemap.xml
Normal file
@ -0,0 +1,24 @@
|
||||
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }}
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
{{ range .Data.Pages }}
|
||||
{{- if or (eq (isset .Params "sitemapexclude") false) (ne .Params.sitemapexclude true) }}
|
||||
<url>
|
||||
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
|
||||
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}
|
||||
<changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
|
||||
<priority>{{ .Sitemap.Priority }}</priority>{{ end }}{{ if .IsTranslated }}{{ range .Translations }}
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="{{ .Language.Lang }}"
|
||||
href="{{ .Permalink }}"
|
||||
/>{{ end }}
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="{{ .Language.Lang }}"
|
||||
href="{{ .Permalink }}"
|
||||
/>{{ end }}
|
||||
</url>
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
</urlset>
|
Reference in New Issue
Block a user