[submodule "themes/plain"]
path = themes/plain
url = git@github.com:AngeloR/plain-hugo-theme.git
+[submodule "themes/digitalgarden"]
+ path = themes/digitalgarden
+ url = https://github.com/apvarun/digital-garden-hugo-theme.git
+[submodule "themes/plain-hugo-theme"]
+ path = themes/plain-hugo-theme
+ url = git@github.com:AngeloR/plain-hugo-theme.git
[menu]
[[menu.main]]
name = 'About'
-pageRef = '/about'
+pageRef = '/pages/about'
[[menu.main]]
name = 'Linkblog'
-pageRef = '/linkblog'
+pageRef = '/pages/links'
[[menu.main]]
-name = 'Categories'
-pageRef = '/categories'
+name = 'All Posts'
+pageRef = '/list'
[params]
subtitle = "Technical musings and other tidbits"
siteBaseName = "Xangelo.ca"
-bloglistLength = 10
+bloglistLength = 15
[markup]
[markup.goldmark]
ordered = true
startLevel = 2
-[mediaTypes]
- [mediaTypes."text/gemini"]
- suffixes = ["gmi"]
-
-[outputFormats]
-[outputFormats.Gemini]
-name = "GEMINI"
-mediaType = "text/gemini"
-isPlainText = true
-isHTML = false
-protocol = "gemini://"
-permalinkable = true
-path = "gemini/"
[outputs]
-home = ["HTML", "RSS", "GEMINI"]
-page = ["HTML", "GEMINI"]
+home = ["HTML", "RSS"]
+page = ["HTML"]
{{.Page.Title}} | {{.Site.Params.siteBasename}}
{{ end }}
{{ define "main" }}
-<h2>{{.Page.Title}}</h2>
-{{.Content}}
-<ul id="page-list">
-{{range .Pages }}
-<li class="page-list-item"><a href="{{ .RelPermalink }}">{{.Title}}</a> — <span class="page-summary">{{.Summary}}</span></li>
-{{end}}
+{{ range .Site.RegularPages.GroupByPublishDate "2006" }}
+<h2>{{- .Key -}}</h2>
+<ul>
+ {{- range .Pages -}}
+ {{ if and (not (in .Params.tags "daily")) (not (in .Params.tags "page")) }}
+ <li>
+ <a href = "{{- .RelPermalink -}}">
+ {{- .Title -}}
+ </a>
+ </li>
+ {{ end }}
+ {{- end -}}
</ul>
{{ end }}
+{{ end }}
{{.Page.Title}} | {{.Site.Params.siteBasename}}
{{ end }}
{{ define "main" }}
-<h2>{{.Page.Title}}</h2>
+
+{{.Content}}
{{ if .Params.tags }}
<div class="tag-list">
{{ range .Params.tags }}
[ <a href="{{ "/tags/" | relURL }}{{ . | urlize }}">{{ . }}</a> ]
{{ end}}
</div>
-
{{ end}}
-{{.Content}}
<div class="post-date">
Posted {{ .Date.Format "Monday, January 02, 2006"}}
</div>
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/}}
+
<a href="{{ "/" | relURL}}">Home</a>
-<a href="{{ "tags/" | relURL}}">All Categories</a>
-<a href="{{ "page/about" | relURL}}">About</a>
-<a href="{{ "page/links" | relURL}}">Links</a>
+{{ range .Site.Menus.main }}
+ <a href="{{ .URL | relURL }}">{{ .Name }}</a>
+{{ end }}
<a href="{{ "/index.xml" | relURL }}"><img src="/icons/feed-icon-14x14.png"></a>
*/}}
{{range first 1 (where site.RegularPages "Type" "in" (slice "feature" "daily")) }}
<section id="daily-post">
-<h2>{{ .Title }}</h2>
-{{.Content}}
+ {{ with .Site.GetPage "pages/about" }}
+ {{ .Content }}
+ {{ end }}
</section>
<hr>
{{end}}
<li><a href="{{ .RelPermalink }}">{{.Title}}</a> ({{ .Date.Format "2006-01-02" }}) — <span class="post-summary">{{.Summary}}</span></li>
{{end}}
</ul>
-
-<hr>
-
-<div class="breakdowns">
- <div>
- <h2>Engineering Org</h2>
- <ul>
- {{range first site.Params.blogListLength (where site.RegularPages ".Params.tags" "intersect" (slice "engineering org" "engineering processes"))}}
- <li><a href="{{ .RelPermalink }}">{{.Title}} — {{ .Date.Format "2006-01-02"}}</a></li>
- {{end}}
- </ul>
- </div>
- <div>
- <h2>Technical Minutae</h2>
- <ul>
- {{range first site.Params.blogListLength (where site.RegularPages ".Params.tags" "intersect" (slice "code" "explanation" "architecture"))}}
- <li><a href="{{ .RelPermalink }}">{{.Title}} — {{ .Date.Format "2006-01-02"}}</a></li>
- {{end}}
- </ul>
- </div>
- <div>
- <h2>Projects</h2>
- <ul>
- {{range first site.Params.blogListLength (where site.RegularPages ".Params.tags" "intersect" (slice "project"))}}
- <li><a href="{{ .RelPermalink }}">{{.Title}} — {{ .Date.Format "2006-01-02"}}</a></li>
- {{end}}
- </ul>
- </div>
- <div>
- <h2>Daily Updates</h2>
- <ul>
- {{range first site.Params.blogListLength (where site.RegularPages "Type" "in" "daily")}}
- <li><a href="{{ .RelPermalink }}">{{.Title}}</a></li>
- {{end}}
- </ul>
- </div>
-</div>
--- /dev/null
+Subproject commit f087bcd10adc6ae4176dced9004283fee1507b57
--- /dev/null
+Subproject commit 1c01094c67cf50dff0b140a672ba339c582ce2c5