diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..37c4507 --- /dev/null +++ b/config.toml @@ -0,0 +1,11 @@ +baseURL = 'http://example.org/' +languageCode = 'pt-pt' +defaultContentLanguage = "pt" +title = "DRM Portugal" + +[markup.goldmark.renderer] +unsafe= true + +[permalinks] + [permalinks.page] + artigos = "/:year/:month/:day/:filename" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..0ebafb3 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,58 @@ + + +
+ ++ Publicado por {{ .Params.author }} + // + {{ if .Params.categories }} + {{ range $index, $name := .Params.categories }} + {{ $name }}{{ if ne (add $index 1) (len $.Params.categories) }}, {{ end }} + {{ end }} + {{ else }} + Sem categoria + {{ end }} + // + {{ time.Format "02 de January, 2006" .Date }} +
+ {{ end }} + +{{ end }} diff --git a/static/img/logo.png b/static/img/logo.png new file mode 100644 index 0000000..c9a27e7 Binary files /dev/null and b/static/img/logo.png differ