mirror of
https://github.com/kogakure/website-11ty-kogakure.de.git
synced 2026-02-03 12:15:28 +00:00
refactor: convert files from spaces to tabs
This commit is contained in:
@@ -36,10 +36,7 @@ task('js', () => {
|
||||
* Create CSS and Sourcemaps with PostCSS
|
||||
*/
|
||||
task('css', function () {
|
||||
return src([
|
||||
'./src/assets/styles/*.css',
|
||||
'./src/assets/styles/critical/*.css',
|
||||
])
|
||||
return src(['./src/assets/styles/*.css', './src/assets/styles/critical/*.css'])
|
||||
.pipe(plumber())
|
||||
.pipe(sourcemaps.init())
|
||||
.pipe(postcss())
|
||||
|
||||
@@ -3,11 +3,7 @@ import { btnHandler } from './modules/btn-handler';
|
||||
import { scrollHandler } from './modules/scroll-handler';
|
||||
import { sourceCodeInfo } from './modules/source-code-info';
|
||||
|
||||
if (
|
||||
'querySelector' in document &&
|
||||
'localStorage' in window &&
|
||||
'addEventListener' in window
|
||||
) {
|
||||
if ('querySelector' in document && 'localStorage' in window && 'addEventListener' in window) {
|
||||
/* Initialize scroll reveal */
|
||||
sal({
|
||||
threshold: 0.1,
|
||||
|
||||
@@ -15,10 +15,7 @@ export function scrollHandler() {
|
||||
if (currentScroll > lastScroll && !body.classList.contains(scrollDown)) {
|
||||
body.classList.remove(scrollUp);
|
||||
body.classList.add(scrollDown);
|
||||
} else if (
|
||||
currentScroll < lastScroll &&
|
||||
body.classList.contains(scrollDown)
|
||||
) {
|
||||
} else if (currentScroll < lastScroll && body.classList.contains(scrollDown)) {
|
||||
body.classList.remove(scrollDown);
|
||||
body.classList.add(scrollUp);
|
||||
}
|
||||
|
||||
@@ -4,84 +4,67 @@ const glossary = require('./glossary.json');
|
||||
|
||||
module.exports = {
|
||||
homepage: {
|
||||
intro:
|
||||
'Dies ist 木隠 (jap. *kogakure*, <q>Verborgen hinter Blättern und Bäumen.</q>), eine Sammlung von Texten über Ninja und Ninjutsu, mit der ich 1999 begonnen habe. Im Laufe der Jahre kamen immer mehr Seiten, Bilder und Illustrationen hinzu, bis schließlich dieses Buch daraus wurde.',
|
||||
intro: 'Dies ist 木隠 (jap. *kogakure*, <q>Verborgen hinter Blättern und Bäumen.</q>), eine Sammlung von Texten über Ninja und Ninjutsu, mit der ich 1999 begonnen habe. Im Laufe der Jahre kamen immer mehr Seiten, Bilder und Illustrationen hinzu, bis schließlich dieses Buch daraus wurde.',
|
||||
tocHeadline: 'Inhaltsverzeichnis',
|
||||
},
|
||||
downloads: {
|
||||
intro:
|
||||
'Hier gibt es das Online-Buch zum Download als eBook, 3D-Modelle von Waffen und Werkzeugen, sowie eine Ninja-Schriftart.',
|
||||
intro: 'Hier gibt es das Online-Buch zum Download als eBook, 3D-Modelle von Waffen und Werkzeugen, sowie eine Ninja-Schriftart.',
|
||||
font: {
|
||||
headline: 'Iga-Ninja-Font',
|
||||
text:
|
||||
'Das Iga-Ninja Museum hatte vor vielen Jahren ein Bild einer Iga-Ninja-Geheimschrift auf ihrer Website veröffentlicht. Ich habe daraus eine Schriftart entwickelt, die hier heruntergeladen werden kann.',
|
||||
text: 'Das Iga-Ninja Museum hatte vor vielen Jahren ein Bild einer Iga-Ninja-Geheimschrift auf ihrer Website veröffentlicht. Ich habe daraus eine Schriftart entwickelt, die hier heruntergeladen werden kann.',
|
||||
more: 'Schrift auf GitHub ansehen',
|
||||
download: 'Schrift herunterladen',
|
||||
},
|
||||
cgi: {
|
||||
headline: '3D Modelle von Waffen und Werkzeugen der Ninja',
|
||||
text:
|
||||
'Für die erste Version dieser Website hatte ich 3D-Modelle von Waffen und Werkzeugen erstellt, die ich dann später in das `stl` Format umgewandelt habe. Die Modelle können auf GitHub direkt im Browser angesehen und von allen Seiten betrachtet werden.',
|
||||
text: 'Für die erste Version dieser Website hatte ich 3D-Modelle von Waffen und Werkzeugen erstellt, die ich dann später in das `stl` Format umgewandelt habe. Die Modelle können auf GitHub direkt im Browser angesehen und von allen Seiten betrachtet werden.',
|
||||
more: 'Waffen und Werkzeuge auf GitHub ansehen',
|
||||
},
|
||||
book: {
|
||||
headline: 'Das Buch',
|
||||
text:
|
||||
'Es gibt den Inhalt dieses Online-Buches zum **kostenlosen** Download als eBook.',
|
||||
text: 'Es gibt den Inhalt dieses Online-Buches zum **kostenlosen** Download als eBook.',
|
||||
pdf: 'PDF',
|
||||
epub: 'EPUB',
|
||||
mobi: 'MOBI',
|
||||
},
|
||||
},
|
||||
colophon: {
|
||||
intro:
|
||||
'Dies ist 木隠. Seit 1999 kann man hier Artikel, Textsammlungen und Übersetzungen zu Themen rund um die japanischen Schattenkrieger und Spione, die Ninja, und deren Kampfkunst Ninjutsu lesen.\n\nDie Idee dazu wurde von Stefan Imhoff, einem Designer, Entwickler und Kampfkünstler aus Wolfsburg (heute aus Hamburg) entwickelt und umgesetzt.',
|
||||
intro: 'Dies ist 木隠. Seit 1999 kann man hier Artikel, Textsammlungen und Übersetzungen zu Themen rund um die japanischen Schattenkrieger und Spione, die Ninja, und deren Kampfkunst Ninjutsu lesen.\n\nDie Idee dazu wurde von Stefan Imhoff, einem Designer, Entwickler und Kampfkünstler aus Wolfsburg (heute aus Hamburg) entwickelt und umgesetzt.',
|
||||
meaning: {
|
||||
headline: 'Was bedeutet 木隠?',
|
||||
text:
|
||||
'Der Name *kogakure* (木隠) ist japanisch und bedeutet wörtlich übersetzt in etwa <q>Verborgen hinter Blättern und Bäumen</q>.\n\nIch habe diesen Namen in Anlehnung an das Buch des Samurai Tsunetomo Yamamoto, <cite>Hagakure</cite> (<q>Verborgen unter Laub</q>) und der ältesten Schule im Bujinkan, <cite>Togakure</cite> (<q>Verborgen hinter einer Tür</q>) gewählt.',
|
||||
text: 'Der Name *kogakure* (木隠) ist japanisch und bedeutet wörtlich übersetzt in etwa <q>Verborgen hinter Blättern und Bäumen</q>.\n\nIch habe diesen Namen in Anlehnung an das Buch des Samurai Tsunetomo Yamamoto, <cite>Hagakure</cite> (<q>Verborgen unter Laub</q>) und der ältesten Schule im Bujinkan, <cite>Togakure</cite> (<q>Verborgen hinter einer Tür</q>) gewählt.',
|
||||
},
|
||||
why: {
|
||||
headline: 'Warum gibt es dieses Buch?',
|
||||
text:
|
||||
'Seit Anfang der 90er, ursprünglich wahrscheinlich durch die Teenage Mutant Hero Turtles auf das Ninjutsu gestoßen, interessierten mich die Ninja und ihre Gedankenwelt.\n\nDamals war das Bujinkan in Deutschland nur spärlich zu finden, eine Trainingsmöglichkeit nahezu unmöglich zu finden. Auch die erhältliche Fachliteratur war mehr als dürftig.\n\nAuf der Suche nach Wissen, Hintergrundinformationen und Informationen sammelte sich im Laufe der Zeit eine Notizsammlung an, die in diesem Buch verarbeitet wurde.\n\nDieses Buch erhebt keinen Anspruch auf Vollständigkeit, oder nach absoluter, belegbarer, geschichtlicher Beweise. Sie soll allen *bugeisha* (Kriegern) helfen, mehr über die Weisheiten dieser über tausend Jahre alten Kunst zu erfahren.',
|
||||
text: 'Seit Anfang der 90er, ursprünglich wahrscheinlich durch die Teenage Mutant Hero Turtles auf das Ninjutsu gestoßen, interessierten mich die Ninja und ihre Gedankenwelt.\n\nDamals war das Bujinkan in Deutschland nur spärlich zu finden, eine Trainingsmöglichkeit nahezu unmöglich zu finden. Auch die erhältliche Fachliteratur war mehr als dürftig.\n\nAuf der Suche nach Wissen, Hintergrundinformationen und Informationen sammelte sich im Laufe der Zeit eine Notizsammlung an, die in diesem Buch verarbeitet wurde.\n\nDieses Buch erhebt keinen Anspruch auf Vollständigkeit, oder nach absoluter, belegbarer, geschichtlicher Beweise. Sie soll allen *bugeisha* (Kriegern) helfen, mehr über die Weisheiten dieser über tausend Jahre alten Kunst zu erfahren.',
|
||||
},
|
||||
contact: {
|
||||
headline: 'Kontakt',
|
||||
text:
|
||||
'Man kann mich über meine E-Mail-Adresse oder verschiedene Social Media Platformen auf meiner <a href="https://www.stefanimhoff.de/about/#contact" rel="nofollow noopener noreferrer external" target="_blank">Website</a> erreichen.\n\nBitte lies zuerst durch, ob deine Frage bereits in den FAQ beantwortet wurde. Es ist mir zeitlich nicht immer möglich auf jede Frage zu antworten, ich verspreche jedoch, dass ich jede Nachricht lese!',
|
||||
text: 'Man kann mich über meine E-Mail-Adresse oder verschiedene Social Media Platformen auf meiner <a href="https://www.stefanimhoff.de/about/#contact" rel="nofollow noopener noreferrer external" target="_blank">Website</a> erreichen.\n\nBitte lies zuerst durch, ob deine Frage bereits in den FAQ beantwortet wurde. Es ist mir zeitlich nicht immer möglich auf jede Frage zu antworten, ich verspreche jedoch, dass ich jede Nachricht lese!',
|
||||
},
|
||||
faq: {
|
||||
headline: 'FAQ',
|
||||
subheadline1: 'Wo kann ich trainieren?',
|
||||
text1:
|
||||
'Um ein Dōjō für Bujinkan Budō Taijutsu zu finden, solltet ihr am besten in einer Suchmaschine nach **Bujinkan** in Verbindung mit einer Stadt in eurer Nähe suchen. Aber mit Sicherheit wird es keine so gute Abdeckung mit Dōjō wie bei Jūdō oder Karate geben. Auf der Bujinkai-Seite gibt es eine sehr umfangreiche [Dōjō-Liste](http://www.bujinkan-deutschland.de/dojoliste-bujinkan.html).\n\nIch selbst habe *kein* eigenes Dōjō und biete *kein* Training an. Kogakure ist kein Kampfkunst-Stil, sondern der Name des Buches.',
|
||||
text1: 'Um ein Dōjō für Bujinkan Budō Taijutsu zu finden, solltet ihr am besten in einer Suchmaschine nach **Bujinkan** in Verbindung mit einer Stadt in eurer Nähe suchen. Aber mit Sicherheit wird es keine so gute Abdeckung mit Dōjō wie bei Jūdō oder Karate geben. Auf der Bujinkai-Seite gibt es eine sehr umfangreiche [Dōjō-Liste](http://www.bujinkan-deutschland.de/dojoliste-bujinkan.html).\n\nIch selbst habe *kein* eigenes Dōjō und biete *kein* Training an. Kogakure ist kein Kampfkunst-Stil, sondern der Name des Buches.',
|
||||
subheadline2: 'Was für Bücher gibt es?',
|
||||
text2:
|
||||
'Die Auswahl an Fachbüchern über Ninja und Ninjutsu ist sehr groß. Der größte Teil ist jedoch auf Japanisch oder Englisch. Am besten einfach mal in meine [Empfehlungen](/empfehlungen/) schauen.',
|
||||
text2: 'Die Auswahl an Fachbüchern über Ninja und Ninjutsu ist sehr groß. Der größte Teil ist jedoch auf Japanisch oder Englisch. Am besten einfach mal in meine [Empfehlungen](/empfehlungen/) schauen.',
|
||||
subheadline3: 'Welche Bücher kannst du mir empfehlen?',
|
||||
text3:
|
||||
'Zuerst lege ich euch die Bücher von Dr. *Masaaki Hatsumi* ans Herz. *Andrew Adams* Buch <cite>Ninja</cite> ist gut, um einen Gesamtüberblick zu bekommen. *Stephen K. Hayes* hat sehr viele philosophische Aspekte in seinen Büchern (z. B. Tendai, Shugendō, Mikkyō), da ihn dies persönlich sehr interessiert, er ist sogar genau wie Takamatsu zum Mönch des Tendai ernannt worden.',
|
||||
text3: 'Zuerst lege ich euch die Bücher von Dr. *Masaaki Hatsumi* ans Herz. *Andrew Adams* Buch <cite>Ninja</cite> ist gut, um einen Gesamtüberblick zu bekommen. *Stephen K. Hayes* hat sehr viele philosophische Aspekte in seinen Büchern (z. B. Tendai, Shugendō, Mikkyō), da ihn dies persönlich sehr interessiert, er ist sogar genau wie Takamatsu zum Mönch des Tendai ernannt worden.',
|
||||
subheadline4: 'Wo bekomme ich Bücher über Ninjutsu her?',
|
||||
text4:
|
||||
'Seit es Buchversender wie z. B. [Amazon](http://www.amazon.de/exec/obidos/redirect?link_code=ur2&camp=1638&tag=kogakurede-21&creative=6742&path=tg%2Fbrowse%2F-%2F301128%3Fsite-redirect%3Dde) gibt, sollte es keine Problem mehr darstellen, Bücher aus dem Ausland zu bekommen. Auf der Seite [Empfehlungen](/empfehlungen/) habe ich eine Liste von Büchern und Filmen zusammengestellt, die ich empfehlen kann.',
|
||||
text4: 'Seit es Buchversender wie z. B. [Amazon](http://www.amazon.de/exec/obidos/redirect?link_code=ur2&camp=1638&tag=kogakurede-21&creative=6742&path=tg%2Fbrowse%2F-%2F301128%3Fsite-redirect%3Dde) gibt, sollte es keine Problem mehr darstellen, Bücher aus dem Ausland zu bekommen. Auf der Seite [Empfehlungen](/empfehlungen/) habe ich eine Liste von Büchern und Filmen zusammengestellt, die ich empfehlen kann.',
|
||||
subheadline5: 'Ich möchte auf eine Seite verlinken. Was ist zu beachten?',
|
||||
text5:
|
||||
'Es ist generell untersagt die Verlinkung in einem Frame zu verwirklichen, bei dem die Website nicht mehr als Urheber erkennbar ist. Du darfst gerne auf jede Seite dieser Domain verlinken.\n\nBilder, Photos und andere Medien dürfen *nicht direkt verlinkt werden*, wohl aber heruntergeladen und auf eigene Server gestellt werden (so lange die Regeln der [Creative Commons Lizenz](http://creativecommons.org/licenses/by-nc/3.0/deed.de) eingehalten werden).',
|
||||
text5: 'Es ist generell untersagt die Verlinkung in einem Frame zu verwirklichen, bei dem die Website nicht mehr als Urheber erkennbar ist. Du darfst gerne auf jede Seite dieser Domain verlinken.\n\nBilder, Photos und andere Medien dürfen *nicht direkt verlinkt werden*, wohl aber heruntergeladen und auf eigene Server gestellt werden (so lange die Regeln der [Creative Commons Lizenz](http://creativecommons.org/licenses/by-nc/3.0/deed.de) eingehalten werden).',
|
||||
subheadline6: 'Sind Übersetzungen der Texte erlaubt?',
|
||||
text6:
|
||||
'Übersetzungen der Texte in andere Sprachen sind grundsätzlich erlaubt, solange dem Text eine Quellenangabe beigefügt wird. Bitte schicke mir einen Link, wo die Übersetzung publiziert wird. Wenn du eine Übersetzung in einer anderen Sprache erstellen möchtest, die hier gehostet werden soll, kontaktiere mich gerne.\n\nEine kommerzielle Nutzung, in welcher Form auch immer, ist nur mit schriftlicher Genehmigung möglich.',
|
||||
text6: 'Übersetzungen der Texte in andere Sprachen sind grundsätzlich erlaubt, solange dem Text eine Quellenangabe beigefügt wird. Bitte schicke mir einen Link, wo die Übersetzung publiziert wird. Wenn du eine Übersetzung in einer anderen Sprache erstellen möchtest, die hier gehostet werden soll, kontaktiere mich gerne.\n\nEine kommerzielle Nutzung, in welcher Form auch immer, ist nur mit schriftlicher Genehmigung möglich.',
|
||||
},
|
||||
donation: {
|
||||
headline: 'Spenden',
|
||||
text:
|
||||
'Dieses Buch ist kostenlos, werbefrei und hat mich im Laufe der Zeit viele hundert Stunden Arbeit gekostet.\n\nWenn es dir gefallen hat, freue ich mich über Lob und Anerkennung. Du kannst mich unterstützen, indem du etwas aus meinen [Empfehlungen](/empfehlungen/) kaufst oder mir eine kleine Spende zukommen lässt.',
|
||||
text: 'Dieses Buch ist kostenlos, werbefrei und hat mich im Laufe der Zeit viele hundert Stunden Arbeit gekostet.\n\nWenn es dir gefallen hat, freue ich mich über Lob und Anerkennung. Du kannst mich unterstützen, indem du etwas aus meinen [Empfehlungen](/empfehlungen/) kaufst oder mir eine kleine Spende zukommen lässt.',
|
||||
paypal: 'Spenden mit PayPal',
|
||||
},
|
||||
tech: {
|
||||
headline: 'Technische Informationen',
|
||||
text:
|
||||
'Wer es bis hier hin durchgehalten hat, den interessieren wahrscheinlich auch die technischen Details zu dieser Seite.\n\nAlle Arbeiten wurden auf einem [Apple](https://www.apple.com/de/) Computer erstellt, die Grafiken wurden mit[Affinity Photo](https://affinity.serif.com/de/photo/), und [Affinity Designer](https://affinity.serif.com/de/designer/) gestaltet, alle Templates und Codesegmente mit [Neovim](https://neovim.io/) per Hand geschrieben und mit [Git](https://git-scm.com/) versioniert. Die Seiten werden mit [Eleventy](https://www.11ty.dev/) (11ty) generiert und die Entwicklungsumgebung und das Deployment werden mit [Gulp.js](https://gulpjs.com/) automatisiert.\n\nDer Quellcode dieser Website liegt für jeden zugänglich auf [GitHub](https://github.com/kogakure/website-11ty-kogakure.de). Fehler, Verbesserungen oder Ergänzungen können gerne dort als [Issue](https://github.com/kogakure/website-11ty-kogakure.de/issues) oder per E-Mail gemeldet werden.',
|
||||
text: 'Wer es bis hier hin durchgehalten hat, den interessieren wahrscheinlich auch die technischen Details zu dieser Seite.\n\nAlle Arbeiten wurden auf einem [Apple](https://www.apple.com/de/) Computer erstellt, die Grafiken wurden mit[Affinity Photo](https://affinity.serif.com/de/photo/), und [Affinity Designer](https://affinity.serif.com/de/designer/) gestaltet, alle Templates und Codesegmente mit [Neovim](https://neovim.io/) per Hand geschrieben und mit [Git](https://git-scm.com/) versioniert. Die Seiten werden mit [Eleventy](https://www.11ty.dev/) (11ty) generiert und die Entwicklungsumgebung und das Deployment werden mit [Gulp.js](https://gulpjs.com/) automatisiert.\n\nDer Quellcode dieser Website liegt für jeden zugänglich auf [GitHub](https://github.com/kogakure/website-11ty-kogakure.de). Fehler, Verbesserungen oder Ergänzungen können gerne dort als [Issue](https://github.com/kogakure/website-11ty-kogakure.de/issues) oder per E-Mail gemeldet werden.',
|
||||
},
|
||||
},
|
||||
recommendations: {
|
||||
|
||||
@@ -4,84 +4,67 @@ const glossary = require('./glossary.json');
|
||||
|
||||
module.exports = {
|
||||
homepage: {
|
||||
intro:
|
||||
'This is 木隠 (jap. *kogakure*, <q>Hidden behind leaves and trees.</q>), a collection of texts about Ninja and Ninjutsu that I started in 1999. Over the years more and more pages, pictures and illustrations were added until finally this book came out of it.',
|
||||
intro: 'This is 木隠 (jap. *kogakure*, <q>Hidden behind leaves and trees.</q>), a collection of texts about Ninja and Ninjutsu that I started in 1999. Over the years more and more pages, pictures and illustrations were added until finally this book came out of it.',
|
||||
tocHeadline: 'Table of Contents',
|
||||
},
|
||||
downloads: {
|
||||
intro:
|
||||
'Here you can download the online book as an eBook, 3D models of weapons and tools, and a ninja font.',
|
||||
intro: 'Here you can download the online book as an eBook, 3D models of weapons and tools, and a ninja font.',
|
||||
font: {
|
||||
headline: 'Iga Ninja Font',
|
||||
text:
|
||||
'Many years ago, the Iga Ninja Museum published an image of an Iga Ninja cipher on their website. I developed a font from it, which can be downloaded here.',
|
||||
text: 'Many years ago, the Iga Ninja Museum published an image of an Iga Ninja cipher on their website. I developed a font from it, which can be downloaded here.',
|
||||
more: 'View the Font on GitHub',
|
||||
download: 'Download Font',
|
||||
},
|
||||
cgi: {
|
||||
headline: '3D Models of Ninja Weapons and Tools',
|
||||
text:
|
||||
'For the first version of this website I created 3D models of weapons and tools, which I later converted to `stl` format. The models can be viewed directly in the browser on GitHub and viewed from all sides.',
|
||||
text: 'For the first version of this website I created 3D models of weapons and tools, which I later converted to `stl` format. The models can be viewed directly in the browser on GitHub and viewed from all sides.',
|
||||
more: 'View Weapons and Tools on GitHub',
|
||||
},
|
||||
book: {
|
||||
headline: 'The Book',
|
||||
text:
|
||||
'The content of this online book is available for **free** download as an eBook.',
|
||||
text: 'The content of this online book is available for **free** download as an eBook.',
|
||||
pdf: 'PDF',
|
||||
epub: 'EPUB',
|
||||
mobi: 'MOBI',
|
||||
},
|
||||
},
|
||||
colophon: {
|
||||
intro:
|
||||
'This is 木隠. Since 1999 you can read articles, collections of texts and translations on topics related to the Japanese shadow warriors and spies, the Ninja, and their martial art Ninjutsu.\n\nThe idea for this was developed and implemented by Stefan Imhoff, a designer, developer and martial artist from Wolfsburg (today from Hamburg).',
|
||||
intro: 'This is 木隠. Since 1999 you can read articles, collections of texts and translations on topics related to the Japanese shadow warriors and spies, the Ninja, and their martial art Ninjutsu.\n\nThe idea for this was developed and implemented by Stefan Imhoff, a designer, developer and martial artist from Wolfsburg (today from Hamburg).',
|
||||
meaning: {
|
||||
headline: 'What Does 木隠 Mean?',
|
||||
text:
|
||||
'The name *kogakure* (木隠) is Japanese and literally means translated something like <q>Hidden behind leaves and trees</q>.\n\nI got the ideas for this name in reference to the book of the Samurai Tsunetomo Yamamoto, <cite>Hagakure</cite> (<q>Hidden under leaves</q>) and the oldest school in the Bujinkan, <cite>Togakure</cite> (<q>Hidden behind a door</q>).',
|
||||
text: 'The name *kogakure* (木隠) is Japanese and literally means translated something like <q>Hidden behind leaves and trees</q>.\n\nI got the ideas for this name in reference to the book of the Samurai Tsunetomo Yamamoto, <cite>Hagakure</cite> (<q>Hidden under leaves</q>) and the oldest school in the Bujinkan, <cite>Togakure</cite> (<q>Hidden behind a door</q>).',
|
||||
},
|
||||
why: {
|
||||
headline: 'Why Does This Book Exist?',
|
||||
text:
|
||||
'Since the beginning of the 90s, I probably first came across Ninjutsu through the Teenage Mutant Hero Turtles, and I have been interested in the Ninja and their world of ideas.\n\nAt that time, the Bujinkan was hard to find in Germany, and it was almost impossible to find a training opportunity. The specialist literature that was available was also more than poor.\n\nIn the search for knowledge, knowledge and information, a collection of notes accumulated over time, which was processed in this book.\n\nThis book does not claim to be complete, nor does it to be absolute, verifiable, historical evidence. It should help all *bugeisha* (warriors) to learn more about the wisdom of this thousand-year-old art.',
|
||||
text: 'Since the beginning of the 90s, I probably first came across Ninjutsu through the Teenage Mutant Hero Turtles, and I have been interested in the Ninja and their world of ideas.\n\nAt that time, the Bujinkan was hard to find in Germany, and it was almost impossible to find a training opportunity. The specialist literature that was available was also more than poor.\n\nIn the search for knowledge, knowledge and information, a collection of notes accumulated over time, which was processed in this book.\n\nThis book does not claim to be complete, nor does it to be absolute, verifiable, historical evidence. It should help all *bugeisha* (warriors) to learn more about the wisdom of this thousand-year-old art.',
|
||||
},
|
||||
contact: {
|
||||
headline: 'Contact',
|
||||
text:
|
||||
'You can contact me via my email address or various social media platforms on my <a href="https://www.stefanimhoff.de/about/#contact" rel="nofollow noopener noreferrer external" target="_blank">website</a>.\n\nPlease check first if your question has already been answered in the FAQ. I don’t always have the time to respond to every question, but I promise I’ll read every message!',
|
||||
text: 'You can contact me via my email address or various social media platforms on my <a href="https://www.stefanimhoff.de/about/#contact" rel="nofollow noopener noreferrer external" target="_blank">website</a>.\n\nPlease check first if your question has already been answered in the FAQ. I don’t always have the time to respond to every question, but I promise I’ll read every message!',
|
||||
},
|
||||
faq: {
|
||||
headline: 'FAQ',
|
||||
subheadline1: 'Where Can I Train?',
|
||||
text1:
|
||||
'The best way to find a Dōjō for Bujinkan Budō Taijutsu is to use a search engine to search for **Bujinkan** in connection with a city near you. But certainly there will not be as good coverage with Dōjō as in Judo or Karate. There is a very extensive [dojo list](http://www.bujinkan-deutschland.de/dojoliste-bujinkan.html) on the Bujinkai site.\n\nI *don’t* have my own Dōjō and offer *no* training. Kogakure is not a martial art style, it is the name of the book.',
|
||||
text1: 'The best way to find a Dōjō for Bujinkan Budō Taijutsu is to use a search engine to search for **Bujinkan** in connection with a city near you. But certainly there will not be as good coverage with Dōjō as in Judo or Karate. There is a very extensive [dojo list](http://www.bujinkan-deutschland.de/dojoliste-bujinkan.html) on the Bujinkai site.\n\nI *don’t* have my own Dōjō and offer *no* training. Kogakure is not a martial art style, it is the name of the book.',
|
||||
subheadline2: 'What Books Are There?',
|
||||
text2:
|
||||
'The selection of specialist books on Ninja and Ninjutsu is very large. However, most of it is in Japanese or English. It’s best to just take a look at my [recommendations](/en/recommendations/).',
|
||||
text2: 'The selection of specialist books on Ninja and Ninjutsu is very large. However, most of it is in Japanese or English. It’s best to just take a look at my [recommendations](/en/recommendations/).',
|
||||
subheadline3: 'Which Books Can You Recommend Me?',
|
||||
text3:
|
||||
'First I recommend the books of Dr. *Masaaki Hatsumi*. *Andrew Adams* book <cite>Ninja</cite> is good to get an overview. *Stephen K. Hayes* has a lot of philosophical aspects in his books (e.g. Tendai, Shugendō, Mikkyō), since this interests him personally, he has even been appointed a monk of Tendai, just like Takamatsu.',
|
||||
text3: 'First I recommend the books of Dr. *Masaaki Hatsumi*. *Andrew Adams* book <cite>Ninja</cite> is good to get an overview. *Stephen K. Hayes* has a lot of philosophical aspects in his books (e.g. Tendai, Shugendō, Mikkyō), since this interests him personally, he has even been appointed a monk of Tendai, just like Takamatsu.',
|
||||
subheadline4: 'Where Can I Get Books on Ninjutsu?',
|
||||
text4:
|
||||
'Ever since book retailers such as [Amazon](https://www.amazon.com/?&_encoding=UTF8&tag=kogakure-20&linkCode=ur2&linkId=98ada809b8f08559fbbd5bd54df01f2e&camp=1789&creative=9325) exist, it should no longer be a problem to get books from abroad. On the [recommendations](/en/recommendations/) page I have compiled a list of books and films that I can recommend.',
|
||||
text4: 'Ever since book retailers such as [Amazon](https://www.amazon.com/?&_encoding=UTF8&tag=kogakure-20&linkCode=ur2&linkId=98ada809b8f08559fbbd5bd54df01f2e&camp=1789&creative=9325) exist, it should no longer be a problem to get books from abroad. On the [recommendations](/en/recommendations/) page I have compiled a list of books and films that I can recommend.',
|
||||
subheadline5: 'I Want to Link to a Page. What Is to Be Considered?',
|
||||
text5:
|
||||
'It is generally prohibited to implement the link in a frame in which the website is no longer recognizable as the author. You are welcome to link to any page in this domain.\n\nImages, photos and other media may *not be directly linked*, but may be downloaded and placed on your own servers (as long as the rules of the [Creative Commons License](http://creativecommons.org/licenses/by-nc/3.0/deed.de) are complied with).',
|
||||
text5: 'It is generally prohibited to implement the link in a frame in which the website is no longer recognizable as the author. You are welcome to link to any page in this domain.\n\nImages, photos and other media may *not be directly linked*, but may be downloaded and placed on your own servers (as long as the rules of the [Creative Commons License](http://creativecommons.org/licenses/by-nc/3.0/deed.de) are complied with).',
|
||||
subheadline6: 'Are Translations of the Texts Allowed?',
|
||||
text6:
|
||||
'Translations of the texts into other languages are generally permitted as long as the text is accompanied by a reference to the source. Please send me a link where the translation will be published. If you want to translate the website in a different language and hosted on it’s original location, please contact me.\n\nCommercial use in any form is only possible with written permission.',
|
||||
text6: 'Translations of the texts into other languages are generally permitted as long as the text is accompanied by a reference to the source. Please send me a link where the translation will be published. If you want to translate the website in a different language and hosted on it’s original location, please contact me.\n\nCommercial use in any form is only possible with written permission.',
|
||||
},
|
||||
donation: {
|
||||
headline: 'Donations',
|
||||
text:
|
||||
'This book is free, ad-free and has cost me many hundreds of hours of work over time.\n\nIf you enjoyed it, I welcome praise and recognition. You can support me by buying something from my [recommendations](/en/recommendations/) or by making a small donation.',
|
||||
text: 'This book is free, ad-free and has cost me many hundreds of hours of work over time.\n\nIf you enjoyed it, I welcome praise and recognition. You can support me by buying something from my [recommendations](/en/recommendations/) or by making a small donation.',
|
||||
paypal: 'Donate With PayPal',
|
||||
},
|
||||
tech: {
|
||||
headline: 'Technical Information',
|
||||
text:
|
||||
'Anyone who has made it this far is probably also interested in the technical details on this page.\n\nAll work was created on an [Apple](https://www.apple.com/de/) computer, the graphics were designed with [Affinity Photo](https://affinity.serif.com/de/photo/), and [Affinity Designer](https://affinity.serif.com/de/designer/), all templates and code segments [Neovim](https://neovim.io/) were written by hand and versioned with [Git](https://git-scm.com/). The pages are generated with [Eleventy](https://www.11ty.dev/) (11ty) and the development environment and deployment are automated with [Gulp.js](https://gulpjs.com/).\n\nThe source code of this website is available to everyone on [GitHub](https://github.com/kogakure/website-11ty-kogakure.de). Errors, improvements or additions can be reported there as [Issue](https://github.com/kogakure/website-11ty-kogakure.de/issues) or by email.',
|
||||
text: 'Anyone who has made it this far is probably also interested in the technical details on this page.\n\nAll work was created on an [Apple](https://www.apple.com/de/) computer, the graphics were designed with [Affinity Photo](https://affinity.serif.com/de/photo/), and [Affinity Designer](https://affinity.serif.com/de/designer/), all templates and code segments [Neovim](https://neovim.io/) were written by hand and versioned with [Git](https://git-scm.com/). The pages are generated with [Eleventy](https://www.11ty.dev/) (11ty) and the development environment and deployment are automated with [Gulp.js](https://gulpjs.com/).\n\nThe source code of this website is available to everyone on [GitHub](https://github.com/kogakure/website-11ty-kogakure.de). Errors, improvements or additions can be reported there as [Issue](https://github.com/kogakure/website-11ty-kogakure.de/issues) or by email.',
|
||||
},
|
||||
},
|
||||
recommendations: {
|
||||
|
||||
@@ -4,10 +4,11 @@
|
||||
<img src="/assets/images/downloads/ingo.jpg" alt=""/>
|
||||
</div>
|
||||
<figcaption>
|
||||
<h2>{{ i18n[locale].downloads.font.headline }}<h2>
|
||||
<h2>{{ i18n[locale].downloads.font.headline }}
|
||||
<h2>
|
||||
{{ i18n[locale].downloads.font.text | markdown | safe }}
|
||||
<p>
|
||||
{% more i18n[locale].downloads.font.more, "https://github.com/kogakure/font-ingo", true %}<br />
|
||||
{% more i18n[locale].downloads.font.more, "https://github.com/kogakure/font-ingo", true %}<br/>
|
||||
{% download i18n[locale].downloads.font.download, "/downloads/iga-ninja-font.zip" %}
|
||||
</p>
|
||||
</figcaption>
|
||||
@@ -40,4 +41,4 @@
|
||||
</figcaption>
|
||||
</figure>
|
||||
{% endif %}
|
||||
</article>
|
||||
</article>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href="{{ site.faviconPath }}favicon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="{{ site.faviconPath }}apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
<link rel="icon" href="/favicon.ico" sizes="any"/>
|
||||
<link rel="icon" href="{{ site.faviconPath }}favicon.svg" type="image/svg+xml"/>
|
||||
<link rel="apple-touch-icon" href="{{ site.faviconPath }}apple-touch-icon.png"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
{% endif %}
|
||||
{% if item.description %}
|
||||
<dd class="glossary-list-item-description">
|
||||
{% if item.sanskrit %}<em>{{ i18n[locale].glossary.sanskrit }}</em>. {% endif %}
|
||||
{% if item.chinese %}<em>{{ i18n[locale].glossary.chinese }}</em>. {% endif %}
|
||||
{% if item.sanskrit %}
|
||||
<em>{{ i18n[locale].glossary.sanskrit }}</em>. {% endif %}
|
||||
{% if item.chinese %}
|
||||
<em>{{ i18n[locale].glossary.chinese }}</em>. {% endif %}
|
||||
{{ item.description | safe }}
|
||||
</dd>
|
||||
{% endif %}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
{% if isHome %}
|
||||
<div class="home-link-spacer"></div>
|
||||
{% else %}
|
||||
<a class="home-link" href="{{ homeLink }}" title="{{ i18n[locale].homeLink }}">
|
||||
<a class="home-link" href="{{ homeLink }}" title="{{ i18n[locale].homeLink }}">
|
||||
<button
|
||||
class="home-link-button"
|
||||
aria-label="{{ i18n[locale].homeLink }}"
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
<h1 class="homepage-title">{{ title }}</h1>
|
||||
{{ i18n[locale].homepage.intro | markdown | safe }}
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<span class="language-switcher">
|
||||
{% for lang in site.languages %}
|
||||
{% if loop.first %}<ul class="language-switcher-list">{% endif %}
|
||||
{% for lang in site.languages %}
|
||||
{% if loop.first %}
|
||||
<ul class="language-switcher-list">
|
||||
{% endif %}
|
||||
|
||||
{% set translatedUrl = "/" + lang.language + "/" %}
|
||||
{% set activeClass = "is-active" if lang.language == locale else "" %}
|
||||
@@ -15,6 +17,8 @@
|
||||
<a class="language-switcher-link {{ activeClass }}" href="{{ translatedUrl }}">{{ lang.title }}</a>
|
||||
</li>
|
||||
|
||||
{% if loop.last %}</ul>{% endif %}
|
||||
{% endfor %}
|
||||
{% if loop.last %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
@@ -1,53 +1,55 @@
|
||||
{% if locale === "de" %}{% set localizedDescription = site.description['de'] %}{% endif %}
|
||||
{% if locale === "en" %}{% set localizedDescription = site.description['en'] %}{% endif %}
|
||||
{% if locale === "de" %}{% set localizedDescription = site.description['de'] %}
|
||||
{% endif %}
|
||||
{% if locale === "en" %}{% set localizedDescription = site.description['en'] %}
|
||||
{% endif %}
|
||||
|
||||
{%- set ogTitle -%}
|
||||
{%- if page.url === "/" or page.url === "/en/" -%}
|
||||
{%- if page.url === "/" or page.url === "/en/" -%}
|
||||
{{ site.title }} · {{ localizedDescription }}
|
||||
{%- else -%}
|
||||
{%- else -%}
|
||||
{{ title }} · {{ site.title }}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endset -%}
|
||||
|
||||
{%- set ogDescription -%}
|
||||
{%- if page.url === "/" or page.url === "/en/" -%}
|
||||
{%- if page.url === "/" or page.url === "/en/" -%}
|
||||
{{ localizedDescription }}
|
||||
{%- else -%}
|
||||
{%- else -%}
|
||||
{{ excerpt or title }}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endset -%}
|
||||
|
||||
{%- set ogImage -%}
|
||||
{%- if og -%}
|
||||
{%- if og -%}
|
||||
{{ site.url }}/assets/images/branding/og/{{ og }}
|
||||
{%- else -%}
|
||||
{%- else -%}
|
||||
{% if locale === "en" %}
|
||||
{{ site.url }}/assets/images/branding/og/banner-en.png
|
||||
{% else %}
|
||||
{{ site.url }}/assets/images/branding/og/banner-de.png
|
||||
{% endif %}
|
||||
{%- endif -%}
|
||||
{%- endif -%}
|
||||
{%- endset -%}
|
||||
|
||||
<!-- Meta -->
|
||||
<meta name="author" content="{{ site.author }}" />
|
||||
<meta name="description" content="{{ ogDescription }}" />
|
||||
<meta name="theme-color" content="#e7e6e4" />
|
||||
<meta name="generator" content="{{ eleventy.generator }}" />
|
||||
<meta name="author" content="{{ site.author }}"/>
|
||||
<meta name="description" content="{{ ogDescription }}"/>
|
||||
<meta name="theme-color" content="#e7e6e4"/>
|
||||
<meta name="generator" content="{{ eleventy.generator }}"/>
|
||||
|
||||
<!-- Open graph -->
|
||||
<meta property="og:title" content="{{ ogTitle }}" />
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}" />
|
||||
<meta property="og:description" content="{{ ogDescription }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:title" content="{{ ogTitle }}"/>
|
||||
<meta property="og:url" content="{{ site.url }}{{ page.url }}"/>
|
||||
<meta property="og:description" content="{{ ogDescription }}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:image" content="{{ ogImage }}"/>
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="675" />
|
||||
<meta property="og:image:width" content="1200"/>
|
||||
<meta property="og:image:height" content="675"/>
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta name="twitter:title" content="{{ ogTitle }}" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="{{ site.twitter }}" />
|
||||
<meta name="twitter:description" content="{{ ogDescription }}" />
|
||||
<meta name="twitter:image" content="{{ ogImage }}" />
|
||||
<meta name="twitter:creator" content="{{ site.twitter }}" />
|
||||
<meta name="twitter:title" content="{{ ogTitle }}"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:site" content="{{ site.twitter }}"/>
|
||||
<meta name="twitter:description" content="{{ ogDescription }}"/>
|
||||
<meta name="twitter:image" content="{{ ogImage }}"/>
|
||||
<meta name="twitter:creator" content="{{ site.twitter }}"/>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<link rel="preload" href="{{ '/assets/fonts/secuela-regular-vf.woff2' | url }}" as="font" type="font/woff2" crossorigin />
|
||||
<link rel="preload" href="{{ '/assets/fonts/secuela-italic-vf.woff2' | url }}" as="font" type="font/woff2" crossorigin />
|
||||
<link rel="preload" href="{{ '/assets/fonts/sword-kanji.woff2' | url }}" as="font" type="font/woff2" crossorigin />
|
||||
<link rel="preload" href="{{ '/assets/fonts/secuela-regular-vf.woff2' | url }}" as="font" type="font/woff2" crossorigin/>
|
||||
<link rel="preload" href="{{ '/assets/fonts/secuela-italic-vf.woff2' | url }}" as="font" type="font/woff2" crossorigin/>
|
||||
<link rel="preload" href="{{ '/assets/fonts/sword-kanji.woff2' | url }}" as="font" type="font/woff2" crossorigin/>
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{% if locale === "en" %}{% set affiliateUrl = "http://www.amazon.de/gp/product/{{ book.asin }}?ie=UTF8&tag=stefanimhoffde-21&linkCode=as2&camp=1638&creative=6742&creativeASIN={{ book.asin }}" %}{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "https://www.amazon.com/gp/product/{{ book.asin }}/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{ book.asin }}&linkCode=as2&tag=kogakure-20" %}{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "http://www.amazon.de/gp/product/{{ book.asin }}?ie=UTF8&tag=stefanimhoffde-21&linkCode=as2&camp=1638&creative=6742&creativeASIN={{ book.asin }}" %}
|
||||
{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "https://www.amazon.com/gp/product/{{ book.asin }}/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{ book.asin }}&linkCode=as2&tag=kogakure-20" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="recommendations-books">
|
||||
<h2>{{ i18n[locale].recommendations.books.headline }}</h2>
|
||||
@@ -14,12 +16,15 @@
|
||||
target="_blank"
|
||||
>
|
||||
{% if book.cover %}
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}" />
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}"/>
|
||||
{% else %}
|
||||
{% if locale === "en" %}
|
||||
{% product book.asin, book.title, "en" %}
|
||||
{% product book.asin,
|
||||
book.title,
|
||||
"en" %}
|
||||
{% else %}
|
||||
{% product book.asin, book.title %}
|
||||
{% product book.asin,
|
||||
book.title %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</a>
|
||||
@@ -31,10 +36,10 @@
|
||||
rel="nofollow noopener noreferrer external"
|
||||
target="_blank"
|
||||
>
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}" />
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}"/>
|
||||
</a>
|
||||
{% else %}
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}" />
|
||||
<img alt="{{ book.title }}" src="{{ book.cover }}"/>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<h3 class="recommendations-product-title">
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{% if locale === "en" %}{% set affiliateUrl = "http://www.amazon.de/gp/product/{{ movie.asin }}?ie=UTF8&tag=stefanimhoffde-21&linkCode=as2&camp=1638&creative=6742&creativeASIN={{ movie.asin }}" %}{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "https://www.amazon.com/gp/product/{{ movie.asin }}/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{ movie.asin }}&linkCode=as2&tag=kogakure-20" %}{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "http://www.amazon.de/gp/product/{{ movie.asin }}?ie=UTF8&tag=stefanimhoffde-21&linkCode=as2&camp=1638&creative=6742&creativeASIN={{ movie.asin }}" %}
|
||||
{% endif %}
|
||||
{% if locale === "en" %}{% set affiliateUrl = "https://www.amazon.com/gp/product/{{ movie.asin }}/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{ movie.asin }}&linkCode=as2&tag=kogakure-20" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="recommendations-movies">
|
||||
<h2>{{ i18n[locale].recommendations.movies.headline }}</h2>
|
||||
@@ -14,12 +16,15 @@
|
||||
target="_blank"
|
||||
>
|
||||
{% if movie.cover %}
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}" />
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}"/>
|
||||
{% else %}
|
||||
{% if locale === "en" %}
|
||||
{% product movie.asin, movie.title, "en" %}
|
||||
{% product movie.asin,
|
||||
movie.title,
|
||||
"en" %}
|
||||
{% else %}
|
||||
{% product movie.asin, movie.title %}
|
||||
{% product movie.asin,
|
||||
movie.title %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</a>
|
||||
@@ -30,10 +35,10 @@
|
||||
rel="nofollow noopener noreferrer external"
|
||||
target="_blank"
|
||||
>
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}" />
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}"/>
|
||||
</a>
|
||||
{% else %}
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}" />
|
||||
<img alt="{{ movie.title }}" src="{{ movie.cover }}"/>
|
||||
{% endif %}
|
||||
<h3 class="recommendations-product-title">
|
||||
{{ movie.title }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{% if robots %}
|
||||
<meta name="robots" content="{{ robots }}" />
|
||||
<meta name="robots" content="{{ robots }}"/>
|
||||
{% else %}
|
||||
<meta name="robots" content="all" />
|
||||
<meta name="robots" content="all"/>
|
||||
{% endif %}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
{% set js %}
|
||||
{% include "../assets/scripts/embedded/theme-switcher.js" %}
|
||||
{% if site.isProduction %}
|
||||
{% include "../assets/scripts/embedded/theme-switcher.js" %}
|
||||
{% if site.isProduction %}
|
||||
{% include "../assets/scripts/embedded/register-serviceworker.js" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endset %}
|
||||
<script>{{ js | jsmin | safe }}</script>
|
||||
<script>
|
||||
{{ js | jsmin | safe }}
|
||||
</script>
|
||||
|
||||
@@ -7,22 +7,21 @@
|
||||
{% endset %}
|
||||
|
||||
<style>
|
||||
{{ criticalCSS | safe }}
|
||||
{{criticalCSS | safe}}
|
||||
</style>
|
||||
|
||||
{% else %}
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/base.css' | url }}" />
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/base.css' | url }}"/>
|
||||
{% if css %}
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/' + css | url }}" />
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/' + css | url }}"/>
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}" media="print" onload="this.media='all'" />
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/print.css' | url }}" media="print" />
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}" media="print" onload="this.media='all'"/>
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/print.css' | url }}" media="print"/>
|
||||
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}" />
|
||||
<link rel="stylesheet" href="{{ '/assets/styles/main.css' | url }}"/>
|
||||
</noscript>
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
{% if locale === "de" %}{% set localizedDescription = site.description['de'] %}{% endif %}
|
||||
{% if locale === "en" %}{% set localizedDescription = site.description['en'] %}{% endif %}
|
||||
{% if locale === "de" %}{% set localizedDescription = site.description['de'] %}
|
||||
{% endif %}
|
||||
{% if locale === "en" %}{% set localizedDescription = site.description['en'] %}
|
||||
{% endif %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ locale }}" dir="{{ dir }}" class="no-js">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
|
||||
<title>
|
||||
{%- if isHome -%}
|
||||
@@ -15,11 +17,17 @@
|
||||
{%- endif -%}
|
||||
</title>
|
||||
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}"/>
|
||||
|
||||
<script type="module">
|
||||
document.documentElement.classList.remove('no-js');
|
||||
document.documentElement.classList.add('js');
|
||||
document
|
||||
.documentElement
|
||||
.classList
|
||||
.remove('no-js');
|
||||
document
|
||||
.documentElement
|
||||
.classList
|
||||
.add('js');
|
||||
</script>
|
||||
|
||||
{% include "scripts.njk" %}
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
layout: narrow
|
||||
---
|
||||
|
||||
{% if locale === "de" %}{% set pageCollection = collections.sortedGermanBookPages %}{% endif %}
|
||||
{% if locale === "en" %}{% set pageCollection = collections.sortedEnglishBookPages %}{% endif %}
|
||||
{% if locale === "de" %}{% set pageCollection = collections.sortedGermanBookPages %}
|
||||
{% endif %}
|
||||
{% if locale === "en" %}{% set pageCollection = collections.sortedEnglishBookPages %}
|
||||
{% endif %}
|
||||
|
||||
{% set previousPost = pageCollection | getPreviousCollectionItem(page) %}
|
||||
{% set nextPost = pageCollection | getNextCollectionItem(page) %}
|
||||
@@ -14,12 +16,18 @@ layout: narrow
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
{% if author or translator %}
|
||||
<hr />
|
||||
<hr/>
|
||||
<footer>
|
||||
<small>
|
||||
{% if author %}<strong>{{ i18n[locale].creditAuthor }}</strong> <em>{{ author }}</em>{% endif %}
|
||||
{% if author %}
|
||||
<strong>{{ i18n[locale].creditAuthor }}</strong>
|
||||
<em>{{ author }}</em>
|
||||
{% endif %}
|
||||
{% if author and translator %} • {% endif %}
|
||||
{% if translator %}<strong>{{ i18n[locale].creditTranslator }}</strong> <em>{{ translator }}</em>{% endif %}
|
||||
{% if translator %}
|
||||
<strong>{{ i18n[locale].creditTranslator }}</strong>
|
||||
<em>{{ translator }}</em>
|
||||
{% endif %}
|
||||
</small>
|
||||
</footer>
|
||||
{% endif %}
|
||||
|
||||
@@ -4,12 +4,12 @@ eleventyExcludeFromCollections: true
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{%- for item in collections.all -%}
|
||||
{%- for item in collections.all -%}
|
||||
{%- if not item.data.excludeFromSitemap and item.url -%}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ item.url | url }}</loc>
|
||||
<lastmod>{{ item.date | dateToFormat('yyyy-MM-DD') }}</lastmod>
|
||||
</url>
|
||||
{%- endif -%}
|
||||
{%- endfor -%}
|
||||
{%- endfor -%}
|
||||
</urlset>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
</TITLE>
|
||||
<!-- 1d59c5eb47a11caa -->
|
||||
</BODY>
|
||||
</HTML>
|
||||
<!DOCTYPE html PUBLIC "-//IETF//DTD HTML//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title> </title>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 1d59c5eb47a11caa -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -5,9 +5,7 @@ module.exports = {
|
||||
});
|
||||
},
|
||||
sortedEnglishBookPages: function (collection) {
|
||||
return collection
|
||||
.getFilteredByTags('book', 'english')
|
||||
.sort(function (a, b) {
|
||||
return collection.getFilteredByTags('book', 'english').sort(function (a, b) {
|
||||
return a.data.priority - b.data.priority;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -75,8 +75,7 @@ module.exports = {
|
||||
let externalLink;
|
||||
|
||||
if (external) {
|
||||
externalLink =
|
||||
'rel="nofollow noopener noreferrer external" target="_blank"';
|
||||
externalLink = 'rel="nofollow noopener noreferrer external" target="_blank"';
|
||||
} else {
|
||||
externalLink = '';
|
||||
}
|
||||
@@ -95,8 +94,7 @@ module.exports = {
|
||||
let externalLink;
|
||||
|
||||
if (external) {
|
||||
externalLink =
|
||||
'rel="nofollow noopener noreferrer external" target="_blank"';
|
||||
externalLink = 'rel="nofollow noopener noreferrer external" target="_blank"';
|
||||
} else {
|
||||
externalLink = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user