diff --git a/content/english/media/_index.md b/content/english/media/_index.md new file mode 100644 index 0000000..69463d3 --- /dev/null +++ b/content/english/media/_index.md @@ -0,0 +1,3 @@ ++++ +title="Media" ++++ diff --git a/content/english/media/boston-2023/_index.md b/content/english/media/boston-2023/_index.md new file mode 100644 index 0000000..1f6a8b7 --- /dev/null +++ b/content/english/media/boston-2023/_index.md @@ -0,0 +1,5 @@ ++++ +title="Handmade Boston 2023" +date="2023-07-03T09:00:00-04:00" +enddate="2023-07-04T17:00:00-04:00" ++++ diff --git a/content/english/media/seattle-2023/_index.md b/content/english/media/seattle-2023/_index.md new file mode 100644 index 0000000..0ffcc11 --- /dev/null +++ b/content/english/media/seattle-2023/_index.md @@ -0,0 +1,5 @@ ++++ +title="Handmade Seattle 2023" +date="2023-11-15T09:00:00-08:00" +enddate="2023-11-17T17:00:00-08:00" ++++ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4b1246b..6b72c62 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,7 +16,7 @@ - + {{ if hugo.IsProduction }} {{ partialCached "preloader.html" . }} @@ -39,7 +39,7 @@ {{ partial "search-modal.html" (dict "Context" . ) }} -
+
{{ block "main" . }}{{ end }}
diff --git a/layouts/media/section.html b/layouts/media/section.html new file mode 100644 index 0000000..abca1db --- /dev/null +++ b/layouts/media/section.html @@ -0,0 +1,22 @@ +{{ define "main" }} +
+
+ {{ $sections := slice . }} + {{ if .Sections }} + {{ $sections = .Sections.ByDate.Reverse }} + {{ end }} + {{ range $sections }} +
+
+

{{ .Title }}

+
+
+ {{ range .RegularPages.ByDate }} + {{ .Title }} + {{ end }} +
+
+ {{ end }} +
+
+{{ end }}