From c9def51b7ea0d9d2c7c0ccdb72e19a95c2e98261 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Fri, 27 Dec 2019 19:23:51 +0100 Subject: [PATCH] init --- CHANGELOG.md | 5 + LICENSE | 21 + README.md | 7 + blueprints.yaml | 38 + css/custom.css | 24 + css/default-skin/default-skin.css | 482 +++ css/default-skin/default-skin.png | Bin 0 -> 547 bytes css/default-skin/default-skin.svg | 1 + css/default-skin/preloader.gif | Bin 0 -> 866 bytes css/photoswipe.css | 179 + images/favicon.png | Bin 0 -> 13203 bytes images/grav-logo.svg | 1 + images/logo.png | Bin 0 -> 8714 bytes images/logo/.gitkeep | 0 js/photoswipe-ui-default.js | 861 ++++ js/photoswipe-ui-default.min.js | 4 + js/photoswipe.js | 3734 +++++++++++++++++ js/photoswipe.min.js | 4 + reitanlage-oranienburg.php | 19 + reitanlage-oranienburg.yaml | 3 + screenshot.jpg | Bin 0 -> 15428 bytes templates/blog.html.twig | 34 + templates/default.html.twig | 5 + templates/error.html.twig | 8 + templates/item.html.twig | 41 + templates/partials/base.html.twig | 71 + templates/partials/blog-item.html.twig | 30 + templates/partials/blog-list-item.html.twig | 27 + templates/partials/blog/date.html.twig | 5 + .../partials/blog/page-summary.html.twig | 8 + templates/partials/blog/taxonomy.html.twig | 7 + templates/partials/blog/title.html.twig | 11 + templates/partials/layout.html.twig | 13 + templates/partials/logo.html.twig | 9 + templates/partials/navbar.html.twig | 50 + templates/partials/sidebar.html.twig | 43 + templates/partials/taxonomylist.html.twig | 10 + thumbnail.jpg | Bin 0 -> 3681 bytes 38 files changed, 5755 insertions(+) create mode 100644 CHANGELOG.md create mode 100644 LICENSE create mode 100644 README.md create mode 100644 blueprints.yaml create mode 100644 css/custom.css create mode 100644 css/default-skin/default-skin.css create mode 100644 css/default-skin/default-skin.png create mode 100644 css/default-skin/default-skin.svg create mode 100644 css/default-skin/preloader.gif create mode 100644 css/photoswipe.css create mode 100644 images/favicon.png create mode 100644 images/grav-logo.svg create mode 100644 images/logo.png create mode 100644 images/logo/.gitkeep create mode 100644 js/photoswipe-ui-default.js create mode 100644 js/photoswipe-ui-default.min.js create mode 100644 js/photoswipe.js create mode 100644 js/photoswipe.min.js create mode 100644 reitanlage-oranienburg.php create mode 100644 reitanlage-oranienburg.yaml create mode 100644 screenshot.jpg create mode 100644 templates/blog.html.twig create mode 100644 templates/default.html.twig create mode 100644 templates/error.html.twig create mode 100644 templates/item.html.twig create mode 100644 templates/partials/base.html.twig create mode 100644 templates/partials/blog-item.html.twig create mode 100644 templates/partials/blog-list-item.html.twig create mode 100644 templates/partials/blog/date.html.twig create mode 100644 templates/partials/blog/page-summary.html.twig create mode 100644 templates/partials/blog/taxonomy.html.twig create mode 100644 templates/partials/blog/title.html.twig create mode 100644 templates/partials/layout.html.twig create mode 100644 templates/partials/logo.html.twig create mode 100644 templates/partials/navbar.html.twig create mode 100644 templates/partials/sidebar.html.twig create mode 100644 templates/partials/taxonomylist.html.twig create mode 100644 thumbnail.jpg diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c083e19 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +# v0.1.0 +## 12/21/2019 + +1. [](#new) + * ChangeLog started... diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e2a6b9d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2019 Tobias Reisinger + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..657168c --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Reitanlage Oranienburg Theme + +The **Reitanlage Oranienburg** Theme is for [Grav CMS](http://github.com/getgrav/grav). This README.md file should be modified to describe the features, installation, configuration, and general usage of this theme. + +## Description + +Design der Reitanlage Oranienburg diff --git a/blueprints.yaml b/blueprints.yaml new file mode 100644 index 0000000..ad66f99 --- /dev/null +++ b/blueprints.yaml @@ -0,0 +1,38 @@ +name: Reitanlage Oranienburg +version: 0.1.0 +description: Design der Reitanlage Oranienburg +icon: rebel +author: + name: Tobias Reisinger + email: tobias@msrg.cc +homepage: https://git.serguzim.me/reitanlage-oranienburg/theme +demo: https://serguzim.info +keywords: grav, theme, etc +bugs: https://git.serguzim.me/reitanlage-oranienburg/theme +readme: https://git.serguzim.me/reitanlage-oranienburg/theme +license: CC0 + +form: + validation: loose + fields: + dropdown.enabled: + type: toggle + label: Dropdown in Menu + highlight: 1 + default: 1 + options: + 1: PLUGIN_ADMIN.ENABLED + 0: PLUGIN_ADMIN.DISABLED + validate: + type: bool + + custom_logo: + type: file + label: Logo + size: large + destination: 'theme://images/logo' + multiple: false + markdown: true + description: Will be used instead of default logo `theme://images/grav-logo.svg` + accept: + - image/* diff --git a/css/custom.css b/css/custom.css new file mode 100644 index 0000000..3e0e36c --- /dev/null +++ b/css/custom.css @@ -0,0 +1,24 @@ +.navbar-brand svg +{ + height: 40px; +} + +body, wrapper +{ + min-height: 100vh; +} + +footer +{ + margin-top: auto; +} + +.flex-fill +{ + flex:1 1 auto; +} + +.card-image img +{ + width: 100%; +} diff --git a/css/default-skin/default-skin.css b/css/default-skin/default-skin.css new file mode 100644 index 0000000..c961632 --- /dev/null +++ b/css/default-skin/default-skin.css @@ -0,0 +1,482 @@ +/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */ +/* + + Contents: + + 1. Buttons + 2. Share modal and links + 3. Index indicator ("1 of X" counter) + 4. Caption + 5. Loading indicator + 6. Additional styles (root element, top bar, idle state, hidden state, etc.) + +*/ +/* + + 1. Buttons + + */ +/* + {% include 'partials/logo.html.twig' %} + + {% block header_navigation %} + + {% endblock %} + + + diff --git a/templates/partials/sidebar.html.twig b/templates/partials/sidebar.html.twig new file mode 100644 index 0000000..658e20a --- /dev/null +++ b/templates/partials/sidebar.html.twig @@ -0,0 +1,43 @@ +{% set feed_url = blog.url == '/' or blog.url == base_url_relative ? (base_url_relative~'/'~blog.slug) : blog.url %} +{% set new_base_url = blog.url == '/' ? '' : blog.url %} + +{% if config.plugins.simplesearch.enabled %} + +{% endif %} +{% if config.plugins.relatedpages.enabled and related_pages|length > 0 %} + +{% endif %} +{% if config.plugins.random.enabled %} + +{% endif %} + +{{ page.find('/modules/sidebar').content|raw }} + +{% if config.plugins.taxonomylist.enabled %} + +{% endif %} +{% if config.plugins.archives.enabled %} + +{% endif %} +{% if config.plugins.feed.enabled %} + +{% endif %} diff --git a/templates/partials/taxonomylist.html.twig b/templates/partials/taxonomylist.html.twig new file mode 100644 index 0000000..2efb7c9 --- /dev/null +++ b/templates/partials/taxonomylist.html.twig @@ -0,0 +1,10 @@ +{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %} + +{% if taxlist %} + + {% for tax,value in taxlist[taxonomy] %} + {% set badge_class = uri.param(taxonomy) == tax ? 'badge-primary' : 'badge-secondary' %} + {{ tax }} + {% endfor %} + +{% endif %} diff --git a/thumbnail.jpg b/thumbnail.jpg new file mode 100644 index 0000000000000000000000000000000000000000..e82d66ec04b9b119061d56e26a46a2e50d0688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