update @ Tue 31 Oct 21:56:36 EET 2023

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2023-10-31 21:56:36 +02:00
parent 6e9f3cf0a9
commit 29157019e5
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: A50D5B4B599AF8A2
2 changed files with 80 additions and 88 deletions

View file

@ -62,6 +62,10 @@ in that context, for example sorting blogs
- <https://blog.ari-web.xyz/b/ari-web-blog-api-change/> - <https://blog.ari-web.xyz/b/ari-web-blog-api-change/>
- <https://blog.ari-web.xyz/b/ari-web-apis--how-to-use-them/> - <https://blog.ari-web.xyz/b/ari-web-apis--how-to-use-them/>
## features u might wanna add
- syntax highlighting : <https://github.com/lepture/mistune/issues/54> -- edit `BlogRender`
## why ari-web blog manager ## why ari-web blog manager
- writer friendly -- uses markdown, keeps tracks of dates useful custom markdown extensions, support for editing, removal of posts,, and u can style ur blog the way you want it to b using css, easy build directory cleanup, support for custom fonts, locales, licenses, etc - writer friendly -- uses markdown, keeps tracks of dates useful custom markdown extensions, support for editing, removal of posts,, and u can style ur blog the way you want it to b using css, easy build directory cleanup, support for custom fonts, locales, licenses, etc

View file

@ -221,17 +221,13 @@ POST_TEMPLATE: typing.Final[str] = (
<h1 role="heading" aria-level="1">{post_title}</h1> <h1 role="heading" aria-level="1">{post_title}</h1>
<nav id="info-bar" role="menubar"> <nav id="info-bar" role="menubar">
<a role="menuitem" <a role="menuitem" aria-label="skip" href="#main">skip</a>
aria-label="skip"
href="#main">skip</a>
<span role="seperator" aria-hidden="true"> | </span> <span role="seperator" aria-hidden="true"> | </span>
<span role="menuitem"><time>{post_creation_time}</time> GMT{post_edit_time}</span> <span role="menuitem"><time>{post_creation_time}</time> GMT{post_edit_time}</span>
<span role="seperator" aria-hidden="true"> | </span> <span role="seperator" aria-hidden="true"> | </span>
<span role="menuitem" <span role="menuitem" >visitor <img src="{visitor_count}" alt="visitor count" /></span>
>visitor <img src="{visitor_count}" alt="visitor count"
/></span>
<span role="seperator" aria-hidden="true"> | </span> <span role="seperator" aria-hidden="true"> | </span>
<span role="menuitem"><time>{post_read_time}</time> read</span> <span role="menuitem"><time>{post_read_time}</time> read</span>
@ -257,9 +253,7 @@ POST_TEMPLATE: typing.Final[str] = (
<hr aria-hidden="true" role="seperator" /> <hr aria-hidden="true" role="seperator" />
</nav> </nav>
</header> </header>
<main> <main> <article id="main">{post_content}</article> </main>
<article id="main">{post_content}</article>
</main>
<footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer> <footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer>
</body> </body>
</html>""" </html>"""
@ -286,9 +280,7 @@ INDEX_TEMPLATE: typing.Final[str] = (
<span role="menuitem">latest post : <a href="/{latest_post_path}">{latest_post_title_trunc}</a> at <time>{latest_post_creation_time}</time> GMT</span> <span role="menuitem">latest post : <a href="/{latest_post_path}">{latest_post_title_trunc}</a> at <time>{latest_post_creation_time}</time> GMT</span>
<span role="seperator" aria-hidden="true"> | </span> <span role="seperator" aria-hidden="true"> | </span>
<span role="menuitem" <span role="menuitem">visitor <img src="{visitor_count}" alt="visitor count" /></span>
>visitor <img src="{visitor_count}" alt="visitor count"
/></span>
<br role="seperator" aria-hidden="true" /> <br role="seperator" aria-hidden="true" />
<a role="menuitem" href="/stats">stats</a> <a role="menuitem" href="/stats">stats</a>
@ -308,9 +300,7 @@ INDEX_TEMPLATE: typing.Final[str] = (
<hr aria-hidden="true" role="seperator" /> <hr aria-hidden="true" role="seperator" />
</nav> </nav>
</header> </header>
<main> <main> <article id="main"><ol reversed id=blist>{blog_list}</ol></article> </main>
<article id="main"><ol reversed id=blist>{blog_list}</ol></article>
</main>
<footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer> <footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer>
</body> </body>
</html>""" </html>"""
@ -414,9 +404,7 @@ STATS_TEMPLATE: typing.Final[str] = (
</li> </li>
</ul> </ul>
</article> </article>
</main> </main> <footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer> </body>
<footer><p>{author} &lt;<a href="mailto:{email}">{email}</a>&gt; + {license}</p></footer>
</body>
</html>""" </html>"""
) )