Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{/*

{{ $deaths := .Site.Data.register }}
{{ if $deaths }}
{{ range $deaths }}
Expand All @@ -18,3 +20,5 @@
{{ else }}
{{ warnf "No deaths found in register file." }}
{{ end }}

*/}}
6 changes: 0 additions & 6 deletions site/content/graveyard/_index.md

This file was deleted.

3 changes: 3 additions & 0 deletions site/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ summaryLength: 30

enableRobotsTXT: true

# Disable default taxonomies (tags and categories)
taxonomies: {}

# Site-wide parameters
params:
description: "Killed by Scrum.org"
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
{{ end }}
{{- block "header" . }}
<!-- HEADER -->
<section class="section container align-items-center mb-4">
<section class="section container align-items-center mb-4 pb-4">
<div class="d-flex align-items-center gap-3 justify-content-center">
<img src="{{- "/images/tombstone.svg" | relURL }}" width="55" height="55" alt="Killed by Scrum.org Logo" class="logo" />
<h1 class="mb-0">Killed by Scrum.org</h1>
</div>
</section>
{{- end }}
{{- end }}
<main>
{{- block "main" . }}
<section class="section">main</section>
Expand Down
8 changes: 8 additions & 0 deletions site/layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{- define "main" }}
<section class="container my-2">
{{- .Content }}
</section>
{{- end }}
{{- define "template" }}
_default/list.html
{{- end }}
44 changes: 44 additions & 0 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{{- define "main" }}
<section class="container my-2">
<article class="grave-details">
<header class="grave-header">
<h2 class="grave-title">{{ .Title }}</h2>
{{ if .Date }}
<div class="death-date">
<time datetime="{{ .Date.Format "2006-01-02" }}">
Died: {{ .Date.Format "January 2, 2006" }}
</time>
</div>
{{ end }}
</header>

<div class="grave-content">
{{ .Content }}
</div>

{{ if .Params.type }}
<div class="grave-type">
<strong>Type:</strong> {{ .Params.type }}
</div>
{{ end }}

<footer class="grave-footer">
<nav class="grave-navigation">
{{ with .PrevInSection }}
<a href="{{ .Permalink }}" class="prev-grave">← {{ .Title }}</a>
{{ end }}
{{ with .NextInSection }}
<a href="{{ .Permalink }}" class="next-grave">{{ .Title }} →</a>
{{ end }}
</nav>

<div class="back-to-graveyard">
<a href="/">← Back to Graveyard</a>
</div>
</footer>
</article>
</section>
{{- end }}
{{- define "template" }}
_default/single.html
{{- end }}
1 change: 1 addition & 0 deletions site/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{{ else }}
<img src="/images/tombstone.svg" alt="Unknown" width="50" height="50" />
{{ end }}
{{/* <a href="/{{ .title | urlize }}">more</a> */}}
</div>
<div class="flex-grow-1">
<h5 class="card-title mb-2">
Expand Down
1 change: 1 addition & 0 deletions staticwebapp.config.canary.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}