diff --git a/assets/vendors/imagesloaded.pkgd.min.js b/assets/vendors/imagesloaded.pkgd.min.js new file mode 100644 index 0000000..e443a77 --- /dev/null +++ b/assets/vendors/imagesloaded.pkgd.min.js @@ -0,0 +1,7 @@ +/*! + * imagesLoaded PACKAGED v4.1.4 + * JavaScript is all like "You images are done yet or what?" + * MIT License + */ + +!function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},n=i[e]=i[e]||[];return n.indexOf(t)==-1&&n.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{},n=i[e]=i[e]||{};return n[t]=!0,this}},t.off=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){var n=i.indexOf(t);return n!=-1&&i.splice(n,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var n=this._onceEvents&&this._onceEvents[e],o=0;o + This site generates a html-base sitemap (a human readable one). +
+ You should probably set some of the following options in the config.php +
+
c::set('smap_ignoreSite', array(...));
+
c::set('smap_ignoreTemplate', array(...));
+ + For more information see the readme. + + sidebar: + width: 1/3 + sections: + + pages: false + + files: false diff --git a/site/snippets/base/html-end.php b/site/snippets/base/html-end.php index 8d6b7ab..b17f5a6 100644 --- a/site/snippets/base/html-end.php +++ b/site/snippets/base/html-end.php @@ -44,14 +44,19 @@ echo js('assets/vendors/bootstrap/js/dist/carousel.js'); + diff --git a/site/templates/xmlsitemap.php b/site/templates/xmlsitemap.php deleted file mode 120000 index 2c42bd4..0000000 --- a/site/templates/xmlsitemap.php +++ /dev/null @@ -1 +0,0 @@ -../../modules/kirby-template-sitemap/templates/xmlsitemap.php \ No newline at end of file diff --git a/site/templates/xmlsitemap.php b/site/templates/xmlsitemap.php new file mode 100755 index 0000000..0d24dc0 --- /dev/null +++ b/site/templates/xmlsitemap.php @@ -0,0 +1,54 @@ +'; + +?> + + +index() as $p): + if($ignore !== null && in_array($p->uri(), $ignore)) continue; + if($ignoreTemplate !== null && in_array($p->intendedTemplate(), $ignoreTemplate) ) continue; + if($ignoreShowInvisibleAtRoot) { + // only ignore invisible pages, which are deeper than root level + if($p->isUnlisted() && $p->depth() > 1) continue; + } else { + // ignore all invisible pages + if($p->isUnlisted() && $p->isHomePage() === false) continue; + } +?> + + url()) ?> + modified('c') ?> + isHomePage()) ? 1 : number_format(0.5/$p->depth(), 1) ?> + + +