summaryrefslogtreecommitdiffstats
path: root/index.yaml
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2022-01-06 10:33:50 +0100
committerMatthias Beyer <mail@beyermatthias.de>2022-01-06 11:09:01 +0100
commit39bbfbe6ea97730ce013138ce588f1854852a6d4 (patch)
tree21113cffde5d338743f1a3814ac18ada2d8bfe14 /index.yaml
parent6f43eb11be09e6d00979eddd62c47c8143c595bf (diff)
Simplify index configuration
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'index.yaml')
-rw-r--r--index.yaml23
1 files changed, 3 insertions, 20 deletions
diff --git a/index.yaml b/index.yaml
index 2242e90..6b4779c 100644
--- a/index.yaml
+++ b/index.yaml
@@ -4,28 +4,11 @@ page:
headHtml: |
<link href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-tomorrow.css" rel="stylesheet" />
<script src="https://cdn.jsdelivr.net/combine/npm/prismjs@1.23.0/prism.min.js,npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
-template:
- name: /templates/layouts/note
- layout:
- base:
- bodyClass: overflow-y-scroll bg-gray-400
- note:
- containerClass: container mx-auto max-w-screen-lg
- theme: pink
- iconUrl: static/favicon.jpeg
- sidebar:
- collapsed: true
+template:
urlStrategy: pretty
pandoc:
rewriteClass:
- prose: max-w-prose mx-auto
- # Centered photo
- photoframe-center: sm:w-3/4 md:w-1/2 mx-auto flex items-center justify-center
- # Photo floating to right
- photoframe: w-full sm:w-64 float-right sm:ml-2 mb-2 sm:mb-0 border-2 p-1 bg-gray-50
- # Content immediately following a right-floated photo
- photoframe-below: clear-right
- page-note: text-sm text-gray-600 flex items-center justify-center my-4 italic
- editor-note: text-gray-500 text-sm
+ # For use in notes with Prism.JS disabled
+ code-block: border-2 p-1 overflow-auto my-1 bg-gray-50