caio.co/de/caca

Add a little footer

And nobody cares about meta tags anymore

That's right I got a floor, so what
Id
c655be301d40ce9db67b42749ead603f90e4a03f
Author
Caio
Commit time
2024-03-19T15:10:52+01:00

Modified caca/src/view.rs

@@ -316,8 +316,6
pub(crate) fn render_markdown(data: &[u8]) -> String {
let mut opts = markdown::Options::gfm();
opts.compile.allow_dangerous_html = true;
- // XXX can i make use of frontmatter smh
- // opts.parse.constructs.frontmatter = true;
markdown::to_html_with_options(
// FIXME assuming markdown files are always utf8 encoded
&String::from_utf8_lossy(data),

Modified caca/theme/base.html

@@ -8,7 +8,6
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🍄</text></svg>">
{% block head %}{% endblock head %}
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="generator" content="caca - https://caio.co/de/caca">
<style>
* {
box-sizing: border-box;
@@ -212,6 +211,10
{% block main %}
{% endblock main %}
</main>
+ <footer>
+ <hr>
+ <small>served by <a href="https://caio.co/de/caca/">caio's code asylum</a></small>
+ </footer>
</body>