updated to remove theme, was redundant
This commit is contained in:
parent
fad5852952
commit
34203f01e1
@ -1,6 +1,6 @@
|
|||||||
---
|
+++
|
||||||
title: "{{ replace .Name "-" " " | title }}"
|
title = "{{ replace .Name "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date = {{ .Date }}
|
||||||
|
lastmod =
|
||||||
draft: true
|
draft: true
|
||||||
---
|
+++
|
||||||
|
|
||||||
|
|||||||
5
archetypes/links.md
Normal file
5
archetypes/links.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
---
|
||||||
|
|
||||||
|
[{{ replace .Name "-" " " | title }}](link)
|
||||||
@ -1,7 +1,6 @@
|
|||||||
baseURL = 'https://inkletblot.com/'
|
baseURL = 'https://inkletblot.com/'
|
||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = "Ink's Space"
|
title = "Ink's Space"
|
||||||
theme = 'inklo'
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
favicon = "/favicon.ico"
|
favicon = "/favicon.ico"
|
||||||
|
|||||||
5
content/links/chk.md
Normal file
5
content/links/chk.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "chk"
|
||||||
|
---
|
||||||
|
|
||||||
|
[chk](https://chkseven.com)
|
||||||
5
content/links/gitlab.md
Normal file
5
content/links/gitlab.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "gitlab"
|
||||||
|
---
|
||||||
|
|
||||||
|
[gitlab](https://gitlab.inkletblot.com)
|
||||||
5
content/links/hab.md
Normal file
5
content/links/hab.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "hab"
|
||||||
|
---
|
||||||
|
|
||||||
|
[hab](https://hab.inkletblot.com)
|
||||||
5
content/links/mail.md
Normal file
5
content/links/mail.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "mail"
|
||||||
|
---
|
||||||
|
|
||||||
|
[mail](https://mail.inkletblot.com)
|
||||||
5
content/links/matrix.md
Normal file
5
content/links/matrix.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "matrix"
|
||||||
|
---
|
||||||
|
|
||||||
|
[matrix](https://matrix.inkletblot.com)
|
||||||
5
content/links/pasty.md
Normal file
5
content/links/pasty.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "pasty"
|
||||||
|
---
|
||||||
|
|
||||||
|
[pasty](https://proxy.inkletblot.com/pasty)
|
||||||
5
content/links/pet.md
Normal file
5
content/links/pet.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "pet"
|
||||||
|
---
|
||||||
|
|
||||||
|
[pet](https://inkletblot.com/pet)
|
||||||
5
content/links/pve.md
Normal file
5
content/links/pve.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "proxmox"
|
||||||
|
---
|
||||||
|
|
||||||
|
[proxmox](https://pve.inkletblot.com:8006)
|
||||||
5
content/links/rancher.md
Normal file
5
content/links/rancher.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "rancher"
|
||||||
|
---
|
||||||
|
|
||||||
|
[rancher](https://rancher.inkletblot.com)
|
||||||
5
content/links/streamer.md
Normal file
5
content/links/streamer.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
title: "streamer"
|
||||||
|
---
|
||||||
|
|
||||||
|
[streamer](https://streamer.inkletblot.com)
|
||||||
7
layouts/404.html
Normal file
7
layouts/404.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{{ partial "header.html" . }}
|
||||||
|
|
||||||
|
<header><h1>404: Page not found</h1></header>
|
||||||
|
|
||||||
|
{{ .Content }}
|
||||||
|
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
20
layouts/_default/baseof.html
Normal file
20
layouts/_default/baseof.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<title>{{ .Title }}</title>
|
||||||
|
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
|
<link rel="stylesheet" href="{{ "style.css" | relURL }}">
|
||||||
|
{{ with .OutputFormats.Get "RSS" -}}
|
||||||
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s">` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
|
||||||
|
{{- end }}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{ partial "header" . }}
|
||||||
|
{{ block "main" . }}{{ end }}
|
||||||
|
{{ partial "footer" . }}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
16
layouts/_default/list.html
Normal file
16
layouts/_default/list.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main>
|
||||||
|
{{ if or .Title .Content }}
|
||||||
|
<div>
|
||||||
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||||
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range .Paginator.Pages }}
|
||||||
|
{{ .Render "summary" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ partial "pagination.html" . }}
|
||||||
|
</main>
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ end }}
|
||||||
26
layouts/_default/single.html
Normal file
26
layouts/_default/single.html
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main>
|
||||||
|
<article>
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02-01-2006" }}</time>
|
||||||
|
<div>
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
{{ with .Params.tags }}
|
||||||
|
<div>
|
||||||
|
<ul id="tags">
|
||||||
|
{{ range . }}
|
||||||
|
<li><a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ with .Site.DisqusShortname }}
|
||||||
|
<div>
|
||||||
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ end }}
|
||||||
20
layouts/_default/summary.html
Normal file
20
layouts/_default/summary.html
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<article>
|
||||||
|
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||||
|
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02-01-2006" }}</time>
|
||||||
|
|
||||||
|
{{ $date := .Date.UTC.Format "Jan 2, 2006" }}
|
||||||
|
{{ $lastmod := .Lastmod.UTC.Format "Jan 2, 2006" }}
|
||||||
|
|
||||||
|
{{ if and (ne $lastmod $date) (gt .Lastmod .Date) }}
|
||||||
|
edited <time datetime="{{ .Lastmod.Format "2006-01-02" }}">{{ .Lastmod.Format "02-01-2006" }}</time>
|
||||||
|
{{ end }}
|
||||||
|
{{ range .Params.tags }}
|
||||||
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||||
|
{{ end }}
|
||||||
|
<div>
|
||||||
|
{{ .Summary }}
|
||||||
|
{{ if .Truncated }}
|
||||||
|
<a href="{{ .Permalink }}">Read more...</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
10
layouts/home/single.html
Normal file
10
layouts/home/single.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main>
|
||||||
|
<article>
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
<div>
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
10
layouts/index.html
Normal file
10
layouts/index.html
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main>
|
||||||
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||||
|
{{ range $paginator.Pages }}
|
||||||
|
{{ .Render "summary" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ partial "pagination.html" . }}
|
||||||
|
</main>
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
{{ end }}
|
||||||
14
layouts/links/list.html
Normal file
14
layouts/links/list.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{{ define "main" }}
|
||||||
|
<main>
|
||||||
|
{{ if or .Title .Content }}
|
||||||
|
<div>
|
||||||
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||||
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range .Paginator.Pages }}
|
||||||
|
{{ .Render "summary" }}
|
||||||
|
{{ end }}
|
||||||
|
</main>
|
||||||
|
{{ end }}
|
||||||
4
layouts/links/summary.html
Normal file
4
layouts/links/summary.html
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<article>
|
||||||
|
<p>Click!</p>
|
||||||
|
{{ .Content }}
|
||||||
|
</article>
|
||||||
3
layouts/partials/footer.html
Normal file
3
layouts/partials/footer.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<footer>
|
||||||
|
<p>© {{ now.Year }} <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></p>
|
||||||
|
</footer>
|
||||||
12
layouts/partials/header.html
Normal file
12
layouts/partials/header.html
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<header>
|
||||||
|
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
|
||||||
|
{{ with .Site.Menus.main }}
|
||||||
|
<nav>
|
||||||
|
<ul>
|
||||||
|
{{ range . }}
|
||||||
|
<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
{{ end }}
|
||||||
|
</header>
|
||||||
9
layouts/partials/pagination.html
Normal file
9
layouts/partials/pagination.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<div>
|
||||||
|
{{ if .Paginator.HasPrev }}
|
||||||
|
<a href="{{ .Paginator.Prev.URL }}">Previous Page</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}
|
||||||
|
{{ if .Paginator.HasNext }}
|
||||||
|
<a href="{{ .Paginator.Next.URL }}">Next Page</a>
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
14
layouts/partials/sidebar.html
Normal file
14
layouts/partials/sidebar.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<aside>
|
||||||
|
<div>
|
||||||
|
<div>
|
||||||
|
<h3>LATEST POSTS</h3>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<ul>
|
||||||
|
{{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||||
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||||
|
{{ end }}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</aside>
|
||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit eb91461c0c68af377f3ec3b1c2fdd336243dfd01
|
|
||||||
Loading…
Reference in New Issue
Block a user