From 008399e542e8595aab3d63783534b9a06b84b441 Mon Sep 17 00:00:00 2001 From: zomars Date: Thu, 5 Oct 2017 10:45:59 -0600 Subject: [PATCH] Untrack produced theme --- .gitignore | 5 +- www/public/theme/base-inuitcss/css/main.css | 3 - www/public/theme/base-inuitcss/index.twig | 22 ---- www/public/theme/base-inuitcss/js/main.js | 1 - www/public/theme/base-inuitcss/listing.twig | 72 ----------- .../theme/base-inuitcss/partials/_aside.twig | 74 ----------- .../theme/base-inuitcss/partials/_footer.twig | 25 ---- .../partials/_fresh_install.twig | 11 -- .../theme/base-inuitcss/partials/_header.twig | 10 -- .../theme/base-inuitcss/partials/_master.twig | 36 ------ .../base-inuitcss/partials/_recordfooter.twig | 46 ------- .../partials/_sub_field_blocks.twig | 94 -------------- .../base-inuitcss/partials/_sub_fields.twig | 115 ------------------ .../base-inuitcss/partials/_sub_menu.twig | 50 -------- .../base-inuitcss/partials/_sub_pager.twig | 37 ------ www/public/theme/base-inuitcss/record.twig | 20 --- www/public/theme/base-inuitcss/search.twig | 63 ---------- 17 files changed, 1 insertion(+), 683 deletions(-) delete mode 100644 www/public/theme/base-inuitcss/css/main.css delete mode 100644 www/public/theme/base-inuitcss/index.twig delete mode 100644 www/public/theme/base-inuitcss/js/main.js delete mode 100644 www/public/theme/base-inuitcss/listing.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_aside.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_footer.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_fresh_install.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_header.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_master.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_recordfooter.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_sub_field_blocks.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_sub_fields.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_sub_menu.twig delete mode 100644 www/public/theme/base-inuitcss/partials/_sub_pager.twig delete mode 100644 www/public/theme/base-inuitcss/record.twig delete mode 100644 www/public/theme/base-inuitcss/search.twig diff --git a/.gitignore b/.gitignore index 52c8986..e5d1f85 100644 --- a/.gitignore +++ b/.gitignore @@ -21,9 +21,6 @@ jspm_packages # Ignore passwords .secrets.json -# Ignore everything in the www folder except for the production theme +# Ignore everything in the www folder except for the gitignore for deploy /www/ !/www/.gitignore -!/www/public/ -!/www/public/theme/ -!/www/public/theme/base-inuitcss diff --git a/www/public/theme/base-inuitcss/css/main.css b/www/public/theme/base-inuitcss/css/main.css deleted file mode 100644 index f30c8a4..0000000 --- a/www/public/theme/base-inuitcss/css/main.css +++ /dev/null @@ -1,3 +0,0 @@ -html{box-sizing:border-box}*,:after,:before{box-sizing:inherit} - -/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit;font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}[hidden],template{display:none}blockquote,body,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,legend,ol,p,pre,ul{margin:0;padding:0}li>ol,li>ul{margin-bottom:0}table{border-collapse:collapse;border-spacing:0}fieldset{min-width:0;border:0}address,blockquote,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,ol,p,pre,table,ul{margin-bottom:24px}dd,ol,ul{margin-left:24px}html{font-size:1em;line-height:1.5;overflow-y:scroll;min-height:100%}h1{font-size:36px;font-size:2.25rem;line-height:1.33333}h2{font-size:28px;font-size:1.75rem;line-height:1.71429}h3{font-size:24px;font-size:1.5rem;line-height:1}h4{font-size:20px;font-size:1.25rem;line-height:1.2}h5{font-size:18px;font-size:1.125rem;line-height:1.33333}h6{font-size:16px;font-size:1rem;line-height:1.5}img{max-width:100%;font-style:italic;vertical-align:middle}img[height],img[width]{max-width:none}table{width:100%}.o-wrapper{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto;max-width:1200px}.o-wrapper:after{content:""!important;display:block!important;clear:both!important}.o-wrapper--tiny{padding-right:6px;padding-left:6px}.o-wrapper--small{padding-right:12px;padding-left:12px}.o-wrapper--large{padding-right:48px;padding-left:48px}.o-wrapper--huge{padding-right:96px;padding-left:96px}.o-layout{display:block;margin:0;padding:0;list-style:none;margin-left:-24px;font-size:0}.o-layout__item{box-sizing:border-box;display:inline-block;vertical-align:top;width:100%;padding-left:24px;font-size:16px;font-size:1rem}.o-layout--flush{margin-left:0}.o-layout--flush>.o-layout__item{padding-left:0}.o-layout--tiny{margin-left:-6px}.o-layout--tiny>.o-layout__item{padding-left:6px}.o-layout--small{margin-left:-12px}.o-layout--small>.o-layout__item{padding-left:12px}.o-layout--large{margin-left:-48px}.o-layout--large>.o-layout__item{padding-left:48px}.o-layout--huge{margin-left:-96px}.o-layout--huge>.o-layout__item{padding-left:96px}.o-layout--middle>.o-layout__item{vertical-align:middle}.o-layout--bottom>.o-layout__item{vertical-align:bottom}.o-layout--stretch{-ms-flex-wrap:wrap;flex-wrap:wrap}.o-layout--stretch,.o-layout--stretch>.o-layout__item{display:-ms-flexbox;display:flex}.o-layout--center{text-align:center}.o-layout--center>.o-layout__item{text-align:left}.o-layout--right{text-align:right}.o-layout--left,.o-layout--left>.o-layout__item,.o-layout--right>.o-layout__item{text-align:left}.o-layout--reverse{direction:rtl}.o-layout--reverse>.o-layout__item{direction:ltr}.o-layout--auto>.o-layout__item{width:auto}.o-box{display:block;padding:24px}.o-box:after{content:""!important;display:block!important;clear:both!important}.o-box>:last-child{margin-bottom:0}.o-box--flush{padding:0}.o-box--tiny{padding:6px}.o-box--small{padding:12px}.o-box--large{padding:48px}.o-box--huge{padding:96px}.u-clearfix:after{content:""!important;display:block!important;clear:both!important}.u-1\/1{width:100%!important}.u-1\/2{width:50%!important}.u-2\/2{width:100%!important}.u-1\/3{width:33.33333%!important}.u-2\/3{width:66.66667%!important}.u-3\/3{width:100%!important}.u-1\/4{width:25%!important}.u-2\/4{width:50%!important}.u-3\/4{width:75%!important}.u-4\/4{width:100%!important}.u-1\/5{width:20%!important}.u-2\/5{width:40%!important}.u-3\/5{width:60%!important}.u-4\/5{width:80%!important}.u-5\/5{width:100%!important}@media (min-width:20em){.u-1\/1\@mobile{width:100%!important}.u-1\/2\@mobile{width:50%!important}.u-2\/2\@mobile{width:100%!important}.u-1\/3\@mobile{width:33.33333%!important}.u-2\/3\@mobile{width:66.66667%!important}.u-3\/3\@mobile{width:100%!important}.u-1\/4\@mobile{width:25%!important}.u-2\/4\@mobile{width:50%!important}.u-3\/4\@mobile{width:75%!important}.u-4\/4\@mobile{width:100%!important}.u-1\/5\@mobile{width:20%!important}.u-2\/5\@mobile{width:40%!important}.u-3\/5\@mobile{width:60%!important}.u-4\/5\@mobile{width:80%!important}.u-5\/5\@mobile{width:100%!important}}@media (min-width:46.25em){.u-1\/1\@tablet{width:100%!important}.u-1\/2\@tablet{width:50%!important}.u-2\/2\@tablet{width:100%!important}.u-1\/3\@tablet{width:33.33333%!important}.u-2\/3\@tablet{width:66.66667%!important}.u-3\/3\@tablet{width:100%!important}.u-1\/4\@tablet{width:25%!important}.u-2\/4\@tablet{width:50%!important}.u-3\/4\@tablet{width:75%!important}.u-4\/4\@tablet{width:100%!important}.u-1\/5\@tablet{width:20%!important}.u-2\/5\@tablet{width:40%!important}.u-3\/5\@tablet{width:60%!important}.u-4\/5\@tablet{width:80%!important}.u-5\/5\@tablet{width:100%!important}}@media (min-width:61.25em){.u-1\/1\@desktop{width:100%!important}.u-1\/2\@desktop{width:50%!important}.u-2\/2\@desktop{width:100%!important}.u-1\/3\@desktop{width:33.33333%!important}.u-2\/3\@desktop{width:66.66667%!important}.u-3\/3\@desktop{width:100%!important}.u-1\/4\@desktop{width:25%!important}.u-2\/4\@desktop{width:50%!important}.u-3\/4\@desktop{width:75%!important}.u-4\/4\@desktop{width:100%!important}.u-1\/5\@desktop{width:20%!important}.u-2\/5\@desktop{width:40%!important}.u-3\/5\@desktop{width:60%!important}.u-4\/5\@desktop{width:80%!important}.u-5\/5\@desktop{width:100%!important}}@media (min-width:81.25em){.u-1\/1\@wide{width:100%!important}.u-1\/2\@wide{width:50%!important}.u-2\/2\@wide{width:100%!important}.u-1\/3\@wide{width:33.33333%!important}.u-2\/3\@wide{width:66.66667%!important}.u-3\/3\@wide{width:100%!important}.u-1\/4\@wide{width:25%!important}.u-2\/4\@wide{width:50%!important}.u-3\/4\@wide{width:75%!important}.u-4\/4\@wide{width:100%!important}.u-1\/5\@wide{width:20%!important}.u-2\/5\@wide{width:40%!important}.u-3\/5\@wide{width:60%!important}.u-4\/5\@wide{width:80%!important}.u-5\/5\@wide{width:100%!important}}.u-h1{font-size:36px!important;font-size:2.25rem!important;line-height:1.33333!important}.u-h2{font-size:28px!important;font-size:1.75rem!important;line-height:1.71429!important}.u-h3{font-size:24px!important;font-size:1.5rem!important;line-height:1!important}.u-h4{font-size:20px!important;font-size:1.25rem!important;line-height:1.2!important}.u-h5{font-size:18px!important;font-size:1.125rem!important;line-height:1.33333!important}.u-h6{font-size:16px!important;font-size:1rem!important;line-height:1.5!important}.u-padding{padding:24px!important}.u-padding-tiny{padding:6px!important}.u-padding-small{padding:12px!important}.u-padding-large{padding:48px!important}.u-padding-huge{padding:96px!important}.u-padding-none{padding:0!important}.u-padding-top{padding-top:24px!important}.u-padding-top-tiny{padding-top:6px!important}.u-padding-top-small{padding-top:12px!important}.u-padding-top-large{padding-top:48px!important}.u-padding-top-huge{padding-top:96px!important}.u-padding-top-none{padding-top:0!important}.u-padding-right{padding-right:24px!important}.u-padding-right-tiny{padding-right:6px!important}.u-padding-right-small{padding-right:12px!important}.u-padding-right-large{padding-right:48px!important}.u-padding-right-huge{padding-right:96px!important}.u-padding-right-none{padding-right:0!important}.u-padding-bottom{padding-bottom:24px!important}.u-padding-bottom-tiny{padding-bottom:6px!important}.u-padding-bottom-small{padding-bottom:12px!important}.u-padding-bottom-large{padding-bottom:48px!important}.u-padding-bottom-huge{padding-bottom:96px!important}.u-padding-bottom-none{padding-bottom:0!important}.u-padding-left{padding-left:24px!important}.u-padding-left-tiny{padding-left:6px!important}.u-padding-left-small{padding-left:12px!important}.u-padding-left-large{padding-left:48px!important}.u-padding-left-huge{padding-left:96px!important}.u-padding-left-none{padding-left:0!important}.u-padding-horizontal{padding-left:24px!important;padding-right:24px!important}.u-padding-horizontal-tiny{padding-left:6px!important;padding-right:6px!important}.u-padding-horizontal-small{padding-left:12px!important;padding-right:12px!important}.u-padding-horizontal-large{padding-left:48px!important;padding-right:48px!important}.u-padding-horizontal-huge{padding-left:96px!important;padding-right:96px!important}.u-padding-horizontal-none{padding-left:0!important;padding-right:0!important}.u-padding-vertical{padding-top:24px!important;padding-bottom:24px!important}.u-padding-vertical-tiny{padding-top:6px!important;padding-bottom:6px!important}.u-padding-vertical-small{padding-top:12px!important;padding-bottom:12px!important}.u-padding-vertical-large{padding-top:48px!important;padding-bottom:48px!important}.u-padding-vertical-huge{padding-top:96px!important;padding-bottom:96px!important}.u-padding-vertical-none{padding-top:0!important;padding-bottom:0!important}.u-margin{margin:24px!important}.u-margin-tiny{margin:6px!important}.u-margin-small{margin:12px!important}.u-margin-large{margin:48px!important}.u-margin-huge{margin:96px!important}.u-margin-none{margin:0!important}.u-margin-top{margin-top:24px!important}.u-margin-top-tiny{margin-top:6px!important}.u-margin-top-small{margin-top:12px!important}.u-margin-top-large{margin-top:48px!important}.u-margin-top-huge{margin-top:96px!important}.u-margin-top-none{margin-top:0!important}.u-margin-right{margin-right:24px!important}.u-margin-right-tiny{margin-right:6px!important}.u-margin-right-small{margin-right:12px!important}.u-margin-right-large{margin-right:48px!important}.u-margin-right-huge{margin-right:96px!important}.u-margin-right-none{margin-right:0!important}.u-margin-bottom{margin-bottom:24px!important}.u-margin-bottom-tiny{margin-bottom:6px!important}.u-margin-bottom-small{margin-bottom:12px!important}.u-margin-bottom-large{margin-bottom:48px!important}.u-margin-bottom-huge{margin-bottom:96px!important}.u-margin-bottom-none{margin-bottom:0!important}.u-margin-left{margin-left:24px!important}.u-margin-left-tiny{margin-left:6px!important}.u-margin-left-small{margin-left:12px!important}.u-margin-left-large{margin-left:48px!important}.u-margin-left-huge{margin-left:96px!important}.u-margin-left-none{margin-left:0!important}.u-margin-horizontal{margin-left:24px!important;margin-right:24px!important}.u-margin-horizontal-tiny{margin-left:6px!important;margin-right:6px!important}.u-margin-horizontal-small{margin-left:12px!important;margin-right:12px!important}.u-margin-horizontal-large{margin-left:48px!important;margin-right:48px!important}.u-margin-horizontal-huge{margin-left:96px!important;margin-right:96px!important}.u-margin-horizontal-none{margin-left:0!important;margin-right:0!important}.u-margin-vertical{margin-top:24px!important;margin-bottom:24px!important}.u-margin-vertical-tiny{margin-top:6px!important;margin-bottom:6px!important}.u-margin-vertical-small{margin-top:12px!important;margin-bottom:12px!important}.u-margin-vertical-large{margin-top:48px!important;margin-bottom:48px!important}.u-margin-vertical-huge{margin-top:96px!important;margin-bottom:96px!important}.u-margin-vertical-none{margin-top:0!important;margin-bottom:0!important}@media (min-width:20em){.u-margin-bottom-none\@mobile{margin-bottom:0!important}}@media (min-width:46.25em){.u-margin-bottom-none\@tablet{margin-bottom:0!important}}@media (min-width:61.25em){.u-margin-bottom-none\@desktop{margin-bottom:0!important}}@media (min-width:81.25em){.u-margin-bottom-none\@wide{margin-bottom:0!important}}.u-hidden-visually{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.u-hidden{display:none!important}@media (min-width:20em){.u-hidden\@mobile{display:none!important}}@media (max-width:19.99em){.u-hidden\@until-mobile{display:none!important}}@media (min-width:46.25em){.u-hidden\@tablet{display:none!important}}@media (max-width:46.24em){.u-hidden\@until-tablet{display:none!important}}@media (min-width:61.25em){.u-hidden\@desktop{display:none!important}}@media (max-width:61.24em){.u-hidden\@until-desktop{display:none!important}}@media (min-width:81.25em){.u-hidden\@wide{display:none!important}}@media (max-width:81.24em){.u-hidden\@until-wide{display:none!important}} \ No newline at end of file diff --git a/www/public/theme/base-inuitcss/index.twig b/www/public/theme/base-inuitcss/index.twig deleted file mode 100644 index 2fddbaf..0000000 --- a/www/public/theme/base-inuitcss/index.twig +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'partials/_master.twig' %} - -{% block main %} - - {% if record is defined %} - -

{{ record.title }}

- - {# Remove this block if you don't need it anymore. #} - {{ include('partials/_fresh_install.twig') }} - - {{ record.teaser }} - - {{ popup(record.image, 1200, 500) }} - - {{ record.body }} - - {{ include('partials/_recordfooter.twig', { 'record': record }) }} - - {% endif %} - -{% endblock main %} diff --git a/www/public/theme/base-inuitcss/js/main.js b/www/public/theme/base-inuitcss/js/main.js deleted file mode 100644 index 67ff842..0000000 --- a/www/public/theme/base-inuitcss/js/main.js +++ /dev/null @@ -1 +0,0 @@ -!function(r){function t(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return r[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var e={};return t.m=r,t.c=e,t.p="",t(0)}([function(r,t){"use strict";function e(r,t){return r+t}r.exports=e}]); \ No newline at end of file diff --git a/www/public/theme/base-inuitcss/listing.twig b/www/public/theme/base-inuitcss/listing.twig deleted file mode 100644 index 822ad29..0000000 --- a/www/public/theme/base-inuitcss/listing.twig +++ /dev/null @@ -1,72 +0,0 @@ -{% extends 'partials/_master.twig' %} - -{% block main %} - - {# This template is used for 'listings': Generic pages that list a number of - records from a certain contenttype. These records are available as an array - called 'records'. In the for-loop below, we iterate over the records that - are on this page. It can be used for overview pages like 'all entries', or - 'all records tagged with kittens'. #} - - {# If used for listing a taxonomy, we add a heading.: #} - {% if taxonomytype is defined %} -

- {{ __('general.phrase.overview-for') }} - {% if taxonomy.options[slug] is defined %} - {{ taxonomy.options[slug] }} - {% else %} - {{ slug }} - {% endif %} -

- {# Taxonomies are fetched unordered by design except if 'has_sortorder' - is set to true. This way we keep 'grouping' intact in the listing. #} - {% if not taxonomy.has_sortorder %} - {# If we specified an order in config.yml, sort them here, accordingly: #} - {% set records = records|order(config.get('general/listing_sort')) %} - {% endif %} - {% endif %} - - {% for record in records %} -
- -

{{ record.title }}

- - {% if record.image!="" %} - - - - {% endif %} - - {# display something introduction-like.. #} - {% if record.introduction %} - {{ record.introduction }} - {% elseif record.teaser %} - {{ record.teaser }} - {% else %} -

{{ record.excerpt(300, false, search|default('')) }}

- {% endif %} - - {% include 'partials/_recordfooter.twig' with { 'record': record } %} - -
- - {% if not loop.last %} -
- {% endif %} - - {% else %} -
- -

{{ __('general.phrase.no-content-found') }}

- -

- {{ __("Unfortunately, no content could be found. Try another page, or go to the homepage.", {'%paths_root%': path('homepage')} ) }} -

- -
- {% endfor %} - - {# If there are more records than will fit on one page, the pager is shown. #} - {{ pager(template = 'partials/_sub_pager.twig') }} - -{% endblock main %} diff --git a/www/public/theme/base-inuitcss/partials/_aside.twig b/www/public/theme/base-inuitcss/partials/_aside.twig deleted file mode 100644 index e93ce25..0000000 --- a/www/public/theme/base-inuitcss/partials/_aside.twig +++ /dev/null @@ -1,74 +0,0 @@ - - - diff --git a/www/public/theme/base-inuitcss/partials/_footer.twig b/www/public/theme/base-inuitcss/partials/_footer.twig deleted file mode 100644 index efa361c..0000000 --- a/www/public/theme/base-inuitcss/partials/_footer.twig +++ /dev/null @@ -1,25 +0,0 @@ - - \ No newline at end of file diff --git a/www/public/theme/base-inuitcss/partials/_fresh_install.twig b/www/public/theme/base-inuitcss/partials/_fresh_install.twig deleted file mode 100644 index 7d2f03a..0000000 --- a/www/public/theme/base-inuitcss/partials/_fresh_install.twig +++ /dev/null @@ -1,11 +0,0 @@ -{% if user %} -
-

Welcome to the Bolt Skeleton theme.

-

This is a minimal theme, with a modular structure. It is well suited to build your own theme's on top of.

- - Note: Only registered users will see this. This piece of content is hidden from regular visitors. -
-{% endif %} diff --git a/www/public/theme/base-inuitcss/partials/_header.twig b/www/public/theme/base-inuitcss/partials/_header.twig deleted file mode 100644 index 50c22c9..0000000 --- a/www/public/theme/base-inuitcss/partials/_header.twig +++ /dev/null @@ -1,10 +0,0 @@ - -
- {# the values in the 'config' object are taken directly from the file app/config/config.yml #} -

{{ config.get('general/sitename') }}

- {% if config.get('general/payoff') %} -

{{ config.get('general/payoff') }}

- {% endif %} - -
-
\ No newline at end of file diff --git a/www/public/theme/base-inuitcss/partials/_master.twig b/www/public/theme/base-inuitcss/partials/_master.twig deleted file mode 100644 index 013bbd9..0000000 --- a/www/public/theme/base-inuitcss/partials/_master.twig +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - {# make sure we always display a proper title: The record's title if there is one, appended with the - sitename. If there is no title, we append the sitename with the payoff, if there is one. #} - - {%- if record.title is defined %}{{ record.title|striptags }} | {% endif -%} - {{ config.get('general/sitename') -}} - {% if record.title is not defined and config.get('general/payoff') %} | {{ config.get('general/payoff') }}{% endif -%} - - - - - - {% block body %} - - {{ include('partials/_header.twig') }} - - {{ widgets('main_top') }} - - {% block main %} - {% endblock main %} - - {{ widgets('main_bottom') }} - - {{ include('partials/_aside.twig') }} - - {% endblock body %} - - {{ include('partials/_footer.twig') }} - - - diff --git a/www/public/theme/base-inuitcss/partials/_recordfooter.twig b/www/public/theme/base-inuitcss/partials/_recordfooter.twig deleted file mode 100644 index b91d422..0000000 --- a/www/public/theme/base-inuitcss/partials/_recordfooter.twig +++ /dev/null @@ -1,46 +0,0 @@ -{# This file is inserted as the 'footer' of each listed record. #} -

- {% if record.editlink() %} - Edit - - {% endif %} - {{ __('general.phrase.written-by-on', { - '%name%': record.user.displayname|default(__('Unknown')), - '%date%': record.datepublish|localedatetime("%A %B %e, %Y") - }) }} -

- -{% if extended|default() %} -

- {{ __('general.phrase.permalink') }} - - {# include the 'default' links to taxonomies. Check the documentation for ways to modify and customize - what is output to the browser: https://docs.bolt.cm/content/taxonomies #} - {{ include('_sub_taxonomylinks.twig', { record: record }) }} -

- - {% set previous = record.previous('id') %} - {% set next = record.next('id') %} - {% if previous or next %} -

- {% if previous %} - « {{ previous.title }} - {% endif %} - {% if previous and next %} - - - {% endif %} - {% if next %} - {{ next.title }} » - {% endif %} -

- {% endif %} - - {% set relatedrecords = record.related() %} - {% if relatedrecords is not empty %} -

{{ __('general.phrase.related-content') }} -

-

- {% endif %} -{% endif %} diff --git a/www/public/theme/base-inuitcss/partials/_sub_field_blocks.twig b/www/public/theme/base-inuitcss/partials/_sub_field_blocks.twig deleted file mode 100644 index 9422950..0000000 --- a/www/public/theme/base-inuitcss/partials/_sub_field_blocks.twig +++ /dev/null @@ -1,94 +0,0 @@ -{# Sub-block for 'text' field such as 'text', 'textarea', or 'html' #} -{% block text_field %} -
- {%- autoescape false -%} - {# If 'allowtwig' is true for this field, we'll need to parse it as Twig here. #} - {% if allowtwig|default(false) %}{{ include(template_from_string(value)) }}{% else %}{{ value }}{% endif -%} - {%- endautoescape -%} -
-{% endblock %} - -{# Sub-block for Markdown fields #} -{% block markdown_field %} -
- {# If 'allowtwig' is true for this field, we'll need to parse it as Twig here. #} - {% if allowtwig|default(false) %}{{ include(template_from_string(value))|markdown }}{% else %}{{ value|markdown }}{% endif -%} -
-{% endblock %} - -{# Sub-block for 'imagelist' fields #} -{% block imagelist_field %} -
- {% for image in images %} -
- {{ popup(image.filename, 200, 0) }} -
- {% endfor %} -
-{% endblock %} - -{# Block for "basic" fields like HTML, Markdown, Textarea and Text #} -{% block common_fields %} - - {# HTML, Textarea, Text fields #} - {% if fieldtype in ['html', 'textarea', 'text'] %} - {{ block('text_field') }} - {% endif %} - - {# Markdown fields #} - {% if fieldtype == 'markdown' %} - {{ block('markdown_field') }} - {% endif %} - - {# Image fields #} - {% if fieldtype == "image" and value['file'] is not empty %} - {{ value|showimage('684') }} - {% endif %} - - {# Video fields #} - {% if fieldtype == "video" and value.responsive|default is not empty %} -
- {{ value.responsive }} -
- {% endif %} - -{% endblock %} - -{# Block for other field types, like Geo, Select, Checkbox and others. #} -{% block extended_fields %} - - {# Geolocation field #} - {% if fieldtype == "geolocation" and value.latitude is defined %} - - {% endif %} - - {# Special case for 'select' fields: if it's a multiple select, the value is an array. #} - {% if fieldtype == "select" and value is not empty %} -

{{ key }}: - {{ value|join(", ") }} -

- {% endif %} - - {# Checkbox fields #} - {% if fieldtype == "checkbox" %} -

Checkbox {{ key }}: {{value ? "checked" : "not checked"}}

- {% endif %} - - {# Imagelist fields #} - {% if fieldtype == "imagelist" and value is not empty %} - {{ block('imagelist_field') }} - {% endif %} - - {# No special case defined for this type of field. We just output them, if it's - a simple scalar, and 'dump' them otherwise. #} - {% if fieldtype in [ 'filelist', 'datetime', 'date', 'integer', 'float' ] and value is not empty %} -

{{ key }}: - {% if value is iterable %} - {{ dump(value) }} - {% else %} - {{ value }} - {% endif %} -

- {% endif %} - -{% endblock %} diff --git a/www/public/theme/base-inuitcss/partials/_sub_fields.twig b/www/public/theme/base-inuitcss/partials/_sub_fields.twig deleted file mode 100644 index c876f30..0000000 --- a/www/public/theme/base-inuitcss/partials/_sub_fields.twig +++ /dev/null @@ -1,115 +0,0 @@ -{# - Default output for fields. - - This file is contains the 'sub_fields' Twig block tag. - - The 'sub_fields' Twig block is split into two parts: - - The first section initializes the variables and settings, both from the - ContentType definitions as well as passed in variables. - - The last section is where the actual looping is done, and the relevant - {{ block() }} function is called, for the 'ContentType fields', - 'repeater fields' and 'template fields' in turn. - - Read the relevant section in the documentation on usage of this - functionality: https://docs.bolt.cm/templating - - For more information on using blocks, see the Twig documentation at: - - https://twig.sensiolabs.org/doc/1.x/tags/block.html - - https://twig.sensiolabs.org/doc/1.x/functions/block.html -#} -{% use 'partials/_sub_field_blocks.twig' %} - -{% block sub_fields %} - {# SECTION 1: INITIALIZATION #} - {%- spaceless %} - {# Set up the array of fieldnames that should be iterated. We do this by looping - over _all_ the fields, and skipping those in the 'omittedkeys' array. #} - {% set omittedkeys = [ 'id', 'slug', 'datecreated', 'datechanged', 'datepublish', - 'datedepublish', 'username', 'status', 'ownerid', 'templatefields' ] %} - - {# Skip over the fields that are used in the slug, unless explicitly told not to, - using the `skip_uses` parameter. #} - {% if (record.contenttype.fields.slug.uses|default(null) is iterable) and skip_uses|default(true) %} - {% set omittedkeys = omittedkeys|merge(record.contenttype.fields.slug.uses) %} - {% endif %} - - {# We also skip over the fields that are explicitly excluded. #} - {% if exclude|default is iterable %} - {% set omittedkeys = omittedkeys|merge(exclude) %} - {% endif %} - {% endspaceless -%} - - {# SECTION 2: LOOPING AND ITERATION - The actual looping is done here. #} - {% for key, value in record.values if (key not in omittedkeys) %} - - {# Is the field allowed to contain Twig functions #} - {% set allowtwig = record.contenttype.fields[key].allowtwig|default(false) %} - - {# Fields that are considered 'common': 'html', 'markdown', 'textarea', - 'text', 'image', 'video' and 'imagelist' #} - {% if common|default(true) and (key not in exclude|default([])) %} - - {% set fieldtype = record.fieldtype(key) %} - {% set value = record.get(key) %} - {{ block('common_fields') }} - - {% endif %} - - {# The rest of the built-in fieldtypes #} - {% if extended|default(false) and (key not in exclude|default([])) %} - - {% set fieldtype = record.fieldtype(key) %} - {{ block('extended_fields') }} - - {% endif %} - - {# Finally, the repeaters #} - {% if repeaters|default(false) == true and record.fieldtype(key) == "repeater" %} - - {% if (global.request.get('_route') != "preview") %} - - {% for repeater in value %} - - {% for key, repeaterfield in repeater %} - - {% set fieldtype = repeaterfield.fieldtype() %} - {% set value = repeaterfield.value() %} - {{ block('common_fields') }} - {{ block('extended_fields') }} - - {% endfor %} - {% endfor %} - - {% else %} - {# @deprecated - `blocks()` does not work correctly when _previewing_ repeater fields. This will be - fixed properly for Bolt 4, but for now we just output a notice, and prevent crashes. - See also: https://github.com/bolt/bolt/issues/6605 #} -

- Unfortunately, Repeater fields do not work correctly with the generic - block() function, when using Preview. To view these fields, please - save the record, and view the page normally. -

- {% endif %} - {% endif %} - - {% endfor %} - - {# We do the same for the templatefields, if set and not empty. #} - {% set templatefields = record.values.templatefields.values|default() %} - {% if templatefields is not empty %} - - {# Note: This needs to be expanded upon!! For better detection the 'virtual' - contenttype for the templatefields should know about the types of fields. #} - {% set templatefields_field_types = attribute(record.contenttype.templatefields|first, 'fields') %} - - {% for key, value in templatefields if (key not in omittedkeys) %} - - {% set fieldtype = attribute(attribute(templatefields_field_types, key), 'type') %} - {{ block('common_fields') }} - {{ block('extended_fields') }} - - {% endfor %} - - {% endif %} -{% endblock sub_fields %} diff --git a/www/public/theme/base-inuitcss/partials/_sub_menu.twig b/www/public/theme/base-inuitcss/partials/_sub_menu.twig deleted file mode 100644 index 5cf28c7..0000000 --- a/www/public/theme/base-inuitcss/partials/_sub_menu.twig +++ /dev/null @@ -1,50 +0,0 @@ -{# This file might seem a little complex, because of the high density of tags. - It uses Twig macros and ternary selectors. Read up on them, if required: - macros: http://twig.sensiolabs.org/doc/templates.html#macros - ternary operators: http://twig.sensiolabs.org/doc/templates.html#other-operators -#} - -{# Make sure the setting for the submenus is defined. #} -{% if withsubmenus is not defined %} - {% set withsubmenus = true %} -{% endif %} - -{# The 'recursive' macro, for inserting one menu item. If it has a submenu, it - invokes itself to insert the items of the submenus. #} -{% macro display_menu_item(item, loop, extraclass, withsubmenus) %} - {% from _self import display_menu_item %} - {% spaceless %} - - {% endspaceless %} -{% endmacro %} - -{# Make the macro available for use #} -{% from _self import display_menu_item %} - -{# The main menu loop: Iterates over the items, calling `display_menu_item` #} - - diff --git a/www/public/theme/base-inuitcss/partials/_sub_pager.twig b/www/public/theme/base-inuitcss/partials/_sub_pager.twig deleted file mode 100644 index 49125c4..0000000 --- a/www/public/theme/base-inuitcss/partials/_sub_pager.twig +++ /dev/null @@ -1,37 +0,0 @@ -{% set link = pager.makelink() %} - -{% if pager.totalpages > 1 %} - -{% endif %} diff --git a/www/public/theme/base-inuitcss/record.twig b/www/public/theme/base-inuitcss/record.twig deleted file mode 100644 index a4372a8..0000000 --- a/www/public/theme/base-inuitcss/record.twig +++ /dev/null @@ -1,20 +0,0 @@ -{% extends 'partials/_master.twig' %} - -{% block main %} - -

{{ record.title }}

- - {# Output all fields, in the order as defined in the contenttype. - To change the generated html and configure the options, see: - https://docs.bolt.cm/templating #} - {% with { 'record': record, 'common': false, 'repeaters': true } %} - {{ block('sub_fields', 'partials/_sub_fields.twig') }} - {% endwith %} - - {# Uncomment this if you wish to dump the entire record to the client, for debugging purposes. - {{ dump(record) }} - #} - - {% include 'partials/_recordfooter.twig' with { 'record': record, 'extended': true } %} - -{% endblock main %} diff --git a/www/public/theme/base-inuitcss/search.twig b/www/public/theme/base-inuitcss/search.twig deleted file mode 100644 index 4d926b7..0000000 --- a/www/public/theme/base-inuitcss/search.twig +++ /dev/null @@ -1,63 +0,0 @@ -{% extends 'partials/_master.twig' %} - -{% block main %} - - {# This template is used for search results. If 'search' is defined, - we display an appropriate title. The 'records' array contains all of the - records matching the current query. If there are no results, the - code in the 'else' part of the for-loop is used. #} -

- {% if search is not empty %} - {{ __('general.phrase.search-results-for-variable', { '%search%': search }) }} - {% else %} - {{ __('general.phrase.search') }} - {% endif %} -

- - {# Perhaps we post a small teaser, stored in the 'block' named 'Search teaser' #} - {% setcontent block = "block/search-teaser" %} - - {# check if we have 'content'. If so, we know we have have a teaser to display. #} - {% if block.content is defined %} - {{ block.content }} - {% endif %} - -
- - -
- - {% for record in records %} -
- -

{{ record.title }}

- - {% if record.image!="" %} - - - - {% endif %} - - {# display something introduction-like.. #} -

{{ record.excerpt(300, false, search|default('')) }}

- -
- - {% if not loop.last %} -
- {% endif %} - - {% else %} -
- -

- {{ __('general.phrase.no-result-for-search-term', { '%SEARCHTERM%': search|escape }) }} -

- -
- {% endfor %} - - {# If there are more records than will fit on one page, the pager is shown. #} - {{ pager(template = 'partials/_sub_pager.twig') }} - -{% endblock main %}