diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-27 12:33:35 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-27 12:33:35 +0100 |
commit | 23daec1b60a43f74de0b2c96647d597b9c3271d6 (patch) | |
tree | ec0a9f7fa4b3e1d60afda42f6335287c200640ac /back-template.m4 | |
parent | 240bd18fd2d1894522d067287f0ecb3fd4e7cb46 (diff) |
parse \n into <br>, minify css, and parse elements with parse class
Diffstat (limited to 'back-template.m4')
-rw-r--r-- | back-template.m4 | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/back-template.m4 b/back-template.m4 index b0b7eda..d948b80 100644 --- a/back-template.m4 +++ b/back-template.m4 @@ -1,15 +1,11 @@ <div class="card back"> -<span class="sentence">{{Complete sentence}}</span> +<span class="parse sentence foreign">{{Complete sentence}}</span> <hr class="split"> -<span class="target-word-reading">{{Target word reading}}</span> -<span class="target-word-translation">{{Target word translation}}</span> -<span class="sentence-translation">{{Complete sentence translation}}</span> +<span class="target-word-reading foreign">{{Target word reading}}</span> +<span class="target-word-translation native">{{Target word translation}}</span> +<span class="sentence-translation native">{{Complete sentence translation}}</span> </div> -<style> -undivert(`card/card.css') -</style> -<script defer> -undivert(`card.min.js') -</script> +<style>undivert(`card.min.css')</style> +<script defer>undivert(`card.min.js')</script> |