shii.moe

Source for `shii.moe' website.
git clone git://git.knutsen.co/shii.moe
Log | Files | Refs | README | LICENSE

commit aaddc7c39cd46d2e35c1a57dad68bec39e7fe6df
parent bcf323a8727a8f7290d75e25e8919292bae67b07
Author: Demonstrandum <samuel@knutsen.co>
Date:   Mon, 22 Aug 2022 20:26:16 +0100

Update tex-linebreak2 url.

Diffstat:
Mshiimoe/templates/layout.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shiimoe/templates/layout.html b/shiimoe/templates/layout.html @@ -23,7 +23,7 @@ <link rel="preload" as="image" href="/background-300x300.png"> <link rel="alternate" type="application/atom+xml" title="RSS/Atom feed for shii.moe" href="/rss.xml"> <title>{% block title %}{% endblock %} – Shiimoe!!</title> - <script src="https://unpkg.com/tex-linebreak2@latest/dist/lib_web.js"></script> + <script src="https://unpkg.com/tex-linebreak2@latest/dist/lib.js"></script> {% endblock %} </head> <body> @@ -53,7 +53,7 @@ <script> // Only immediate children paragraphs of article tag are considered content. const paragraphs = document.querySelectorAll("article > p"); - texLinebreak_lib_web.texLinebreakDOM(paragraphs, { + texLinebreak.texLinebreakDOM(paragraphs, { align: 'justify' }); </script>