diff --git a/README.md b/README.md index 71c178c..d426e40 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,12 @@ theme = "coder" # set the theme weight = 1 url = "/posts/" [[menu.main]] - name = "About" + name = "Talks" weight = 2 + url = "/talks/" +[[menu.main]] + name = "About" + weight = 3 url = "/about/" ``` diff --git a/archetypes/talks.md b/archetypes/talks.md new file mode 100644 index 0000000..ffb47d5 --- /dev/null +++ b/archetypes/talks.md @@ -0,0 +1,11 @@ ++++ +draft = true +date = {{ .Date }} +title = "{{ replace .Name "-" " " | title }}" +tags = [] +categories = [] ++++ + +{{% section %}} + +{{% /section %}} diff --git a/layouts/shortcodes/section.html b/layouts/shortcodes/section.html new file mode 100644 index 0000000..178dd4c --- /dev/null +++ b/layouts/shortcodes/section.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
diff --git a/layouts/shortcodes/slide.html b/layouts/shortcodes/slide.html new file mode 100644 index 0000000..b39c865 --- /dev/null +++ b/layouts/shortcodes/slide.html @@ -0,0 +1,3 @@ +
+ {{ .Inner }} +
diff --git a/layouts/talks/single.html b/layouts/talks/single.html new file mode 100644 index 0000000..a21830f --- /dev/null +++ b/layouts/talks/single.html @@ -0,0 +1,50 @@ + + + + + + + + {{ with .Site.Params.author }}{{ end }} + {{ with .Site.Params.description }}{{ end }} + {{ with .Site.Params.keywords }}{{ end }} + + + {{ block "title" . }}{{ .Site.Title }}{{ end }} + + + + + + + + + + + + + + + + + {{ if .RSSLink }} + + + {{ end }} + + {{ .Hugo.Generator }} + + + +
+
+ {{ .Content }} +
+
+ + +