Initial commit
commit
f801ed5bb7
|
@ -0,0 +1,2 @@
|
|||
/public/
|
||||
/resources/_gen/
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "themes/hello-friend-ng"]
|
||||
path = themes/hello-friend-ng
|
||||
url = https://github.com/rhazdon/hugo-theme-hello-friend-ng.git
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
baseURL = "/"
|
||||
languageCode = "en-us"
|
||||
title = "chmod 777"
|
||||
relativeURLS = true
|
||||
|
||||
theme = "hello-friend-ng"
|
||||
|
||||
[params]
|
||||
defaultTheme = "dark"
|
||||
homeSubtitle = "never type this command"
|
||||
|
||||
[params.logo]
|
||||
logoText = "chmod 777"
|
||||
logoCursorColor = "#c0c0c0"
|
||||
logoCursorAnimate = "0s"
|
||||
|
||||
|
||||
[menu]
|
||||
[[menu.main]]
|
||||
identifier = "posts"
|
||||
name = "Posts"
|
||||
url = "posts/"
|
|
@ -0,0 +1,29 @@
|
|||
{{ define "main" }}
|
||||
<main aria-role="main">
|
||||
<div>
|
||||
<h1>{{ .Site.Title }}</h1>
|
||||
|
||||
{{- with .Site.Params.homeSubtitle }}
|
||||
<p>{{.}}</p>
|
||||
{{- end }}
|
||||
</div>
|
||||
</main>
|
||||
<div class="posts">
|
||||
{{- range first 5 (.Site.RegularPages.GroupByDate "2006") }}
|
||||
<div class="posts-group">
|
||||
<div class="post-year">{{ .Key }}</div>
|
||||
|
||||
<ul class="posts-list">
|
||||
{{- range .Pages }}
|
||||
<li class="post-item">
|
||||
<a href="{{.Permalink}}">
|
||||
<span class="post-title">{{.Title}}</span>
|
||||
<span class="post-day">{{ if .Site.Params.dateformShort }}{{ .Date.Format .Site.Params.dateformShort }}{{ else }}{{ .Date.Format "Jan 2"}}{{ end }}</span>
|
||||
</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{ end }}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit e63dce70a95afeae279c7bc48eb488a4086c496c
|
Loading…
Reference in New Issue