diff --git a/example/assets/css/main.css b/example/assets/css/main.css new file mode 100644 index 0000000..9c8f07a --- /dev/null +++ b/example/assets/css/main.css @@ -0,0 +1,39 @@ +body { + margin: 0; + padding: 0; + color: #333; + background-color: lightgrey; +} + +a { + color: black; +} + +#content { + padding: 20px; + background-color: #fff; + clear: both; +} + +#dataImg { + float: right; + margin-left: 20px; + margin-bottom: 20px; +} + +#logoDiv { + background-color: #444; + padding: 20px; +} + +#logoDiv img { + max-width: 60%; +} + +#mainNavDiv { + padding: 20px; +} + +footer { + padding: 20px; +} \ No newline at end of file diff --git a/example/templates/index.html b/example/templates/index.html index ce536da..f47c1cf 100644 --- a/example/templates/index.html +++ b/example/templates/index.html @@ -1,9 +1,9 @@ {{> meta.html }} - + {{> header.html }} -
+
{{{ Body }}}
diff --git a/example/templates/mitBild.html b/example/templates/mitBild.html index efd85a5..9dda9e6 100644 --- a/example/templates/mitBild.html +++ b/example/templates/mitBild.html @@ -1,16 +1,15 @@ {{> meta.html }} - + {{> header.html }} -
+
{{#if Data.bild }} - + {{/if}} {{{ Body }}} -
diff --git a/example/templates/partials/footer.html b/example/templates/partials/footer.html index 7bdcaf0..525b7a1 100644 --- a/example/templates/partials/footer.html +++ b/example/templates/partials/footer.html @@ -1,4 +1,4 @@ -