1
0
Fork 0

Initial commit

master
Dustin 2020-02-29 10:16:09 -06:00
commit f801ed5bb7
6 changed files with 63 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/public/
/resources/_gen/

3
.gitmodules vendored Normal file
View File

@ -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

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

22
config.toml Normal file
View File

@ -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/"

29
layouts/index.html Normal file
View File

@ -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