From 4fdee59f2af61388753ce53002db5cefe0990154 Mon Sep 17 00:00:00 2001 From: jem Date: Sun, 16 Feb 2020 14:50:12 +0100 Subject: [PATCH] html --- .../templates/themes/bootstrap4/html/404.html | 40 +++++++ .../themes/bootstrap4/html/archives.html | 5 + .../themes/bootstrap4/html/author.html | 8 ++ .../themes/bootstrap4/html/base.html | 100 ++++++++++++++++++ .../themes/bootstrap4/html/custom/footer.inc | 7 ++ .../bootstrap4/html/custom/navbar-logo.inc | 4 + .../bootstrap4/html/custom/navbar-social.inc | 13 +++ .../html/custom/site-navigation.inc | 8 ++ .../themes/bootstrap4/html/custom/topper.inc | 0 .../bootstrap4/html/custom/tracking.inc | 25 +++++ .../themes/bootstrap4/html/featurettes.html | 11 ++ .../themes/bootstrap4/html/headlines.html | 10 ++ .../themes/bootstrap4/html/home.html | 12 +++ .../bootstrap4/html/includes/carousel.inc | 32 ++++++ .../bootstrap4/html/includes/collapse.inc | 25 +++++ .../html/includes/disqus-comment.inc | 5 + .../bootstrap4/html/includes/disqus.inc | 14 +++ .../bootstrap4/html/includes/featurettes.inc | 17 +++ .../bootstrap4/html/includes/groups.inc | 11 ++ .../bootstrap4/html/includes/headlines.inc | 13 +++ .../bootstrap4/html/includes/latest-posts.inc | 8 ++ .../bootstrap4/html/includes/post-content.inc | 26 +++++ .../html/includes/post-prev-next.inc | 8 ++ .../html/includes/publishing-date.inc | 4 + .../themes/bootstrap4/html/includes/tags.inc | 12 +++ .../bootstrap4/html/includes/top_spacer.inc | 0 .../themes/bootstrap4/html/news.html | 22 ++++ .../bootstrap4/html/page-one-column.html | 23 ++++ .../bootstrap4/html/page-three-column.html | 32 ++++++ .../bootstrap4/html/page-two-column.html | 29 +++++ .../themes/bootstrap4/html/post.html | 9 ++ .../templates/themes/bootstrap4/html/tag.html | 7 ++ .../themes/bootstrap4/html/tags.html | 5 + 33 files changed, 545 insertions(+) create mode 100644 resources/templates/themes/bootstrap4/html/404.html create mode 100644 resources/templates/themes/bootstrap4/html/archives.html create mode 100644 resources/templates/themes/bootstrap4/html/author.html create mode 100644 resources/templates/themes/bootstrap4/html/base.html create mode 100644 resources/templates/themes/bootstrap4/html/custom/footer.inc create mode 100644 resources/templates/themes/bootstrap4/html/custom/navbar-logo.inc create mode 100644 resources/templates/themes/bootstrap4/html/custom/navbar-social.inc create mode 100644 resources/templates/themes/bootstrap4/html/custom/site-navigation.inc create mode 100644 resources/templates/themes/bootstrap4/html/custom/topper.inc create mode 100644 resources/templates/themes/bootstrap4/html/custom/tracking.inc create mode 100644 resources/templates/themes/bootstrap4/html/featurettes.html create mode 100644 resources/templates/themes/bootstrap4/html/headlines.html create mode 100644 resources/templates/themes/bootstrap4/html/home.html create mode 100644 resources/templates/themes/bootstrap4/html/includes/carousel.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/collapse.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/disqus-comment.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/disqus.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/featurettes.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/groups.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/headlines.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/latest-posts.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/post-content.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/post-prev-next.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/publishing-date.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/tags.inc create mode 100644 resources/templates/themes/bootstrap4/html/includes/top_spacer.inc create mode 100644 resources/templates/themes/bootstrap4/html/news.html create mode 100644 resources/templates/themes/bootstrap4/html/page-one-column.html create mode 100644 resources/templates/themes/bootstrap4/html/page-three-column.html create mode 100644 resources/templates/themes/bootstrap4/html/page-two-column.html create mode 100644 resources/templates/themes/bootstrap4/html/post.html create mode 100644 resources/templates/themes/bootstrap4/html/tag.html create mode 100644 resources/templates/themes/bootstrap4/html/tags.html diff --git a/resources/templates/themes/bootstrap4/html/404.html b/resources/templates/themes/bootstrap4/html/404.html new file mode 100644 index 0000000..0f29f50 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/404.html @@ -0,0 +1,40 @@ + + + + + +
+
+
+

404

+

Error ! Page Not Found

+
+
+
+ + + diff --git a/resources/templates/themes/bootstrap4/html/archives.html b/resources/templates/themes/bootstrap4/html/archives.html new file mode 100644 index 0000000..887f9e5 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/archives.html @@ -0,0 +1,5 @@ +{% extends "/html/page-three-column.html" %} + +{% block center %} + {% include "/html/includes/groups.inc" %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/author.html b/resources/templates/themes/bootstrap4/html/author.html new file mode 100644 index 0000000..668f6eb --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/author.html @@ -0,0 +1,8 @@ +{% extends "/html/page-three-column.html" %} + +{%block subtitle %}: Posts by {{author}} {% endblock %} + +{% block center %} +

Posts by {{author}}

+ {% include "/html/includes/groups.inc" %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/base.html b/resources/templates/themes/bootstrap4/html/base.html new file mode 100644 index 0000000..cce0d58 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/base.html @@ -0,0 +1,100 @@ + + + + + + + + + + + {{title}}{% block subtitle %}{% endblock %} + + + {% style "/css/bootstrap.min.css" %} + {% style "/css/fonts/fontawesome/fontawesome.css" %} + {% style "/css/custom.css" %} + {% block additional_styles %} + {% endblock %} + + +
+ {% include "/custom/html/includes/topper.inc" %} +
+ + +
+ {% block content %} +

The content

+ {% endblock %} +
+ + {% include "/html/custom/footer.inc" %} + {% include "/html/custom/tracking.inc" %} + + + + {% script "/js/jquery-3.1.1.slim.min.js" %} + {% script "/js/tether.min.js" %} + {% script "/js/bootstrap.min.js" %} + + diff --git a/resources/templates/themes/bootstrap4/html/custom/footer.inc b/resources/templates/themes/bootstrap4/html/custom/footer.inc new file mode 100644 index 0000000..944ac57 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/custom/footer.inc @@ -0,0 +1,7 @@ + +
+ +
diff --git a/resources/templates/themes/bootstrap4/html/custom/navbar-logo.inc b/resources/templates/themes/bootstrap4/html/custom/navbar-logo.inc new file mode 100644 index 0000000..758dcd3 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/custom/navbar-logo.inc @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/custom/navbar-social.inc b/resources/templates/themes/bootstrap4/html/custom/navbar-social.inc new file mode 100644 index 0000000..486ec20 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/custom/navbar-social.inc @@ -0,0 +1,13 @@ + + + diff --git a/resources/templates/themes/bootstrap4/html/custom/site-navigation.inc b/resources/templates/themes/bootstrap4/html/custom/site-navigation.inc new file mode 100644 index 0000000..9b7d69d --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/custom/site-navigation.inc @@ -0,0 +1,8 @@ +

 

+{% include "/html/custom/site-navigation.inc" %} +

 

+

 

+{% include "/html/custom/partner.inc" %} +

 

+

 

+{% include "/html/custom/we-support.inc" %} diff --git a/resources/templates/themes/bootstrap4/html/custom/topper.inc b/resources/templates/themes/bootstrap4/html/custom/topper.inc new file mode 100644 index 0000000..e69de29 diff --git a/resources/templates/themes/bootstrap4/html/custom/tracking.inc b/resources/templates/themes/bootstrap4/html/custom/tracking.inc new file mode 100644 index 0000000..b297e92 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/custom/tracking.inc @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/resources/templates/themes/bootstrap4/html/featurettes.html b/resources/templates/themes/bootstrap4/html/featurettes.html new file mode 100644 index 0000000..eb79034 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/featurettes.html @@ -0,0 +1,11 @@ +{% extends "/html/page-two-column.html" %} + +{% block header %} + {% include "/html/includes/top_spacer.inc" %} + {{page.content|safe}} +{% endblock %} + +{% block center %} + {% include "/html/includes/featurettes.inc" %} +{% endblock %} + diff --git a/resources/templates/themes/bootstrap4/html/headlines.html b/resources/templates/themes/bootstrap4/html/headlines.html new file mode 100644 index 0000000..54c715f --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/headlines.html @@ -0,0 +1,10 @@ +{% extends "/html/page-one-column.html" %} + +{% block header %} + {% include "/html/includes/top_spacer.inc" %} + {% include "/html/includes/headlines.inc" %} +{% endblock %} + +{% block center %} + {{page.content|safe}} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/home.html b/resources/templates/themes/bootstrap4/html/home.html new file mode 100644 index 0000000..e941ee1 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/home.html @@ -0,0 +1,12 @@ +{% extends "/html/page-one-column.html" %} + +{% block additional_styles %} + {% style "css/carousel.css" %} +{% endblock %} + +{% block off-container-header %} + {% include "/html/includes/carousel.inc" %} +{% endblock %} + +{% block header %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/includes/carousel.inc b/resources/templates/themes/bootstrap4/html/includes/carousel.inc new file mode 100644 index 0000000..be0e367 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/carousel.inc @@ -0,0 +1,32 @@ + diff --git a/resources/templates/themes/bootstrap4/html/includes/collapse.inc b/resources/templates/themes/bootstrap4/html/includes/collapse.inc new file mode 100644 index 0000000..fac6695 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/collapse.inc @@ -0,0 +1,25 @@ +
+ {% for sub-page in page.children|filter-sidebar %} +
+ + +
+
+ {{sub-page.abstract|safe}} + {% if sub-page.take-action %} +

{{sub-page.take-action|safe}} +

+ {% endif %} +
+
+
+ {% endfor %} +
\ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/disqus-comment.inc b/resources/templates/themes/bootstrap4/html/includes/disqus-comment.inc new file mode 100644 index 0000000..9719da8 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/disqus-comment.inc @@ -0,0 +1,5 @@ +{% if disqus? %} +
+ View Comments +
+{% endif %} \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/disqus.inc b/resources/templates/themes/bootstrap4/html/includes/disqus.inc new file mode 100644 index 0000000..34151e9 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/disqus.inc @@ -0,0 +1,14 @@ +{% if disqus? %} +
+ +{% endif %} diff --git a/resources/templates/themes/bootstrap4/html/includes/featurettes.inc b/resources/templates/themes/bootstrap4/html/includes/featurettes.inc new file mode 100644 index 0000000..6f74be7 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/featurettes.inc @@ -0,0 +1,17 @@ + +{% for sub-page in page.children|filter-sidebar %} +
+
+ + {% if forloop.counter0|even? %}
{% else %}
{% endif %} +

{{sub-page.title}}

+

{{sub-page.abstract|safe}}

+

{{sub-page.take-action|safe}}

+
+ {% if forloop.counter0|even? %}
{% else %}
{% endif %} + +
+
+{% endfor %} \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/groups.inc b/resources/templates/themes/bootstrap4/html/includes/groups.inc new file mode 100644 index 0000000..0658582 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/groups.inc @@ -0,0 +1,11 @@ +{% for group in groups %} +

{{group.group}}

+
    + {% for post in group.posts %} +
  • + {{post.date|date:"MMM dd"}} - {{post.title}} +
  • + {% endfor %} +
+{% endfor %} + \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/headlines.inc b/resources/templates/themes/bootstrap4/html/includes/headlines.inc new file mode 100644 index 0000000..031d57f --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/headlines.inc @@ -0,0 +1,13 @@ + +
+ {% for sub-page in page.children|filter-sidebar %} +
+ {{sub-page.headline-image}} +

{{sub-page.title}}

+

{{sub-page.abstract|safe}}

+

{{sub-page.take-action|safe}}

+
+ {% endfor %} +
\ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/latest-posts.inc b/resources/templates/themes/bootstrap4/html/includes/latest-posts.inc new file mode 100644 index 0000000..0759eed --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/latest-posts.inc @@ -0,0 +1,8 @@ +
    +{% for post in latest-posts %} +
  • + {{post.date|date:"MMM dd"}} - {{post.title}} +
  • +{% endfor %} +
+ \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/post-content.inc b/resources/templates/themes/bootstrap4/html/includes/post-content.inc new file mode 100644 index 0000000..e14be8d --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/post-content.inc @@ -0,0 +1,26 @@ +
+

{{post.title}}

+
+ {% if post.author %} +
+ Autor: {{post.author}} +
+ {% endif %} +
+ {{post.date|date:longDate}} +
+
+ {% if post.tags|not-empty %} +

+ Tags: + {% for tag in post.tags %} + {{tag.name}}{% if not forloop.last %}, {% endif %} + {% endfor %} +

+ {% endif %} +
+ +
+ {% if post.toc %}{{post.toc|safe}}{% endif %} + {{post.content|safe}} +
diff --git a/resources/templates/themes/bootstrap4/html/includes/post-prev-next.inc b/resources/templates/themes/bootstrap4/html/includes/post-prev-next.inc new file mode 100644 index 0000000..9f3d6a6 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/post-prev-next.inc @@ -0,0 +1,8 @@ +
+ {% if post.prev-uri %} + « Vor + {% endif %} + {% if post.next-uri %} + Weiter » + {% endif %} +
\ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/publishing-date.inc b/resources/templates/themes/bootstrap4/html/includes/publishing-date.inc new file mode 100644 index 0000000..30a5d5d --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/publishing-date.inc @@ -0,0 +1,4 @@ +{% if page.publishing-date %} +
{{page.publishing-date}}
+
+{% endif %} \ No newline at end of file diff --git a/resources/templates/themes/bootstrap4/html/includes/tags.inc b/resources/templates/themes/bootstrap4/html/includes/tags.inc new file mode 100644 index 0000000..6521c42 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/includes/tags.inc @@ -0,0 +1,12 @@ +{% block tags %} + {% if tags|not-empty %} +
+

Tags

+ +
+ {% endif %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/includes/top_spacer.inc b/resources/templates/themes/bootstrap4/html/includes/top_spacer.inc new file mode 100644 index 0000000..e69de29 diff --git a/resources/templates/themes/bootstrap4/html/news.html b/resources/templates/themes/bootstrap4/html/news.html new file mode 100644 index 0000000..7f720cd --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/news.html @@ -0,0 +1,22 @@ +{% extends "/html/page-three-column.html" %} + +{% block left %} + {% include "/html/includes/groups.inc" %} +{% endblock %} + +{% block center %} + {% if latest-posts|not-empty %} + {% with post=latest-posts|first %} + {% include "/html/includes/post-content.inc" %} + {% include "/html/includes/post-prev-next.inc" %} + {% include "/html/includes/disqus-comment.inc" %} + {% endwith %} + +

Ă„ltere News

+ {% include "/html/includes/latest-posts.inc" %} + +

Archiv

+ Hier geht's zum Archiv + + {% endif %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/page-one-column.html b/resources/templates/themes/bootstrap4/html/page-one-column.html new file mode 100644 index 0000000..c551d6a --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/page-one-column.html @@ -0,0 +1,23 @@ +{% extends "/html/base.html" %} + +{%block subtitle %}: {{page.title}}{% endblock %} + +{% block content %} + {% block off-container-header %} +
+
+ {% endblock %} +
+ {% block header %} + {% include "/html/includes/top_spacer.inc" %} + {% include "/html/includes/publishing-date.inc" %} + {% endblock %} + + {% block main %} + {{page.content|safe}} + {% endblock %} + + {% block footer %} + {% endblock %} +
+{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/page-three-column.html b/resources/templates/themes/bootstrap4/html/page-three-column.html new file mode 100644 index 0000000..dc8a970 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/page-three-column.html @@ -0,0 +1,32 @@ +{% extends "/html/base.html" %} + +{%block subtitle %}: {{page.title}}{% endblock %} + +{% block content %} + {% block off-container-header %} + {% endblock %} +
+ {% block header %} + {% include "/html/includes/top_spacer.inc" %} + {% endblock %} + +
+
+ {% block left %} + {% if page.toc %}{{page.toc|safe}}{% endif %} + {% endblock %} +
+
+ {% block center %} + {{page.content|safe}} + {% endblock %} +
+
+ {% include "/html/custom/site-navigation.inc" %} +
+
+ + {% block footer %} + {% endblock %} +
+{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/page-two-column.html b/resources/templates/themes/bootstrap4/html/page-two-column.html new file mode 100644 index 0000000..438e4b5 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/page-two-column.html @@ -0,0 +1,29 @@ +{% extends "/html/base.html" %} + +{%block subtitle %}: {{page.title}}{% endblock %} + +{% block content %} + {% block off-container-header %} +
+
+ {% endblock %} +
+ {% block header %} + {% include "/html/includes/top_spacer.inc" %} + {% endblock %} + +
+
+ {% block center %} + {{page.content|safe}} + {% endblock %} +
+
+ {% include "/html/custom/site-navigation.inc" %} +
+
+ + {% block footer %} + {% endblock %} +
+{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/post.html b/resources/templates/themes/bootstrap4/html/post.html new file mode 100644 index 0000000..d6333f2 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/post.html @@ -0,0 +1,9 @@ +{% extends "/html/page-three-column.html" %} + +{%block subtitle %}: {{post.title}}{% endblock %} + +{% block center %} + {% include "/html/includes/post-content.inc" %} + {% include "/html/includes/post-prev-next.inc" %} + {% include "/html/includes/disqus.inc" %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/tag.html b/resources/templates/themes/bootstrap4/html/tag.html new file mode 100644 index 0000000..0f9aca6 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/tag.html @@ -0,0 +1,7 @@ +{% extends "/html/page-three-column.html" %} + +{% block center %} + {% with tags=posts %} + {% include "/html/includes/tags.inc" %} + {% endwith %} +{% endblock %} diff --git a/resources/templates/themes/bootstrap4/html/tags.html b/resources/templates/themes/bootstrap4/html/tags.html new file mode 100644 index 0000000..ffb0a34 --- /dev/null +++ b/resources/templates/themes/bootstrap4/html/tags.html @@ -0,0 +1,5 @@ +{% extends "/html/page-three-column.html" %} + +{% block center %} + {% include "/html/includes/tags.inc" %} +{% endblock %}