From 14ecb8f32831ef4747adef1de1af658dc7d4b298 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sun, 8 May 2016 12:01:43 -0700 Subject: File reorg --- util/tmpl/footer.html | 3 --- util/tmpl/header.html | 14 -------------- util/tmpl/kanji-link.html | 1 - util/tmpl/kanji-list.html | 5 ----- util/tmpl/kanji.html | 43 ------------------------------------------- util/tmpl/term-list.html | 5 ----- util/tmpl/term.html | 40 ---------------------------------------- 7 files changed, 111 deletions(-) delete mode 100644 util/tmpl/footer.html delete mode 100644 util/tmpl/header.html delete mode 100644 util/tmpl/kanji-link.html delete mode 100644 util/tmpl/kanji-list.html delete mode 100644 util/tmpl/kanji.html delete mode 100644 util/tmpl/term-list.html delete mode 100644 util/tmpl/term.html (limited to 'util/tmpl') diff --git a/util/tmpl/footer.html b/util/tmpl/footer.html deleted file mode 100644 index 3840600f..00000000 --- a/util/tmpl/footer.html +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/util/tmpl/header.html b/util/tmpl/header.html deleted file mode 100644 index 2256b08a..00000000 --- a/util/tmpl/header.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - diff --git a/util/tmpl/kanji-link.html b/util/tmpl/kanji-link.html deleted file mode 100644 index f4f8dc69..00000000 --- a/util/tmpl/kanji-link.html +++ /dev/null @@ -1 +0,0 @@ -{{kanji}} diff --git a/util/tmpl/kanji-list.html b/util/tmpl/kanji-list.html deleted file mode 100644 index b5d0b627..00000000 --- a/util/tmpl/kanji-list.html +++ /dev/null @@ -1,5 +0,0 @@ -{{> header.html}} -{{#each defs}} -{{> kanji.html root=../root options=../options sequence=../sequence}} -{{/each}} -{{> footer.html}} diff --git a/util/tmpl/kanji.html b/util/tmpl/kanji.html deleted file mode 100644 index 7a5affb7..00000000 --- a/util/tmpl/kanji.html +++ /dev/null @@ -1,43 +0,0 @@ -
- {{#with options}} - {{#if enableAnkiConnect}} -
- -
- {{/if}} - {{/with}} - -
{{character}}
- -
-
- {{#if glossary}} -
Meanings
-
- {{#each glossary}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} - - {{#if kunyomi}} -
Kunyomi
-
- {{#each kunyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} - - {{#if onyomi}} -
Onyomi
-
- {{#each onyomi}} - {{.}}{{#unless @last}}, {{/unless}} - {{/each}} -
- {{/if}} -
-
-
- diff --git a/util/tmpl/term-list.html b/util/tmpl/term-list.html deleted file mode 100644 index 5581b679..00000000 --- a/util/tmpl/term-list.html +++ /dev/null @@ -1,5 +0,0 @@ -{{> header.html}} -{{#each defs}} -{{> term.html root=../root options=../options sequence=../sequence}} -{{/each}} -{{> footer.html}} diff --git a/util/tmpl/term.html b/util/tmpl/term.html deleted file mode 100644 index 216ccf0a..00000000 --- a/util/tmpl/term.html +++ /dev/null @@ -1,40 +0,0 @@ -
- {{#with options}} - {{#if enableAnkiConnect}} -
- - -
- {{/if}} - {{/with}} - - {{#if reading}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}{{reading}}
- {{else}} -
{{#kanjiLinks}}{{expression}}{{/kanjiLinks}}
- {{/if}} - - {{#if rules}} -
- {{#each rules}} - {{.}} {{#unless @last}}«{{/unless}} - {{/each}} -
- {{/if}} - - {{#if tags}} -
- {{#each tags}} - {{name}} - {{/each}} -
- {{/if}} - -
-
    - {{#each glossary}} -
  1. {{.}}
  2. - {{/each}} -
-
-
-- cgit v1.2.3