+ main Level 1 ...
+
|
+
+ main/service Level 2
+
|
+
diff --git a/.gitmodules b/.gitmodules index 5c73323..4e9b561 100644 --- a/.gitmodules +++ b/.gitmodules @@ -34,3 +34,9 @@ [submodule "vendor/github.com/otiai10/copy"] path = vendor/github.com/otiai10/copy url = https://github.com/otiai10/copy +[submodule "vendor/github.com/flosch/pongo2"] + path = vendor/github.com/flosch/pongo2 + url = https://github.com/flosch/pongo2 +[submodule "vendor/github.com/juju/errors"] + path = vendor/github.com/juju/errors + url = https://github.com/juju/errors diff --git a/.vscode/settings.json b/.vscode/settings.json index 5df254b..90409c5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { "files.associations": { - "*.html": "handlebars" + "**/templates/*.html": "django-html" } } \ No newline at end of file diff --git a/example/content/README.md b/example/content/README.md index 95a9d52..406a3d6 100644 --- a/example/content/README.md +++ b/example/content/README.md @@ -1,5 +1,5 @@ --- -Template: intro.html +Template: base_intro.html --- diff --git a/example/content/config.yml b/example/content/config.yml index 0294211..4a180e7 100644 --- a/example/content/config.yml +++ b/example/content/config.yml @@ -7,7 +7,7 @@ Meta: Description: "global description of example website" Keywords: "global keywords" -Template: index.html +Template: base.html Path: Strip: "^[0-9]*_(.*)" diff --git a/example/content/de/main/02_Leistungen_und_Referenzen/README.md b/example/content/de/main/02_Leistungen_und_Referenzen/README.md index a6438d4..b678ee1 100644 --- a/example/content/de/main/02_Leistungen_und_Referenzen/README.md +++ b/example/content/de/main/02_Leistungen_und_Referenzen/README.md @@ -5,7 +5,7 @@ Meta: Data: bild: bild.jpg -Template: mitBild.html +Template: base_multipart.html --- diff --git a/example/templates/base.html b/example/templates/base.html new file mode 100644 index 0000000..885c597 --- /dev/null +++ b/example/templates/base.html @@ -0,0 +1,82 @@ + + + + +