commit c9def51b7ea0d9d2c7c0ccdb72e19a95c2e98261 Author: Tobias Reisinger Date: Fri Dec 27 19:23:51 2019 +0100 init 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 0000000..e82d66e Binary files /dev/null and b/thumbnail.jpg differ