a bit of magic

This commit is contained in:
Yann Esposito (Yogsototh) 2020-02-12 17:53:53 +01:00
parent a0e129008c
commit 1526d468ee
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
3 changed files with 12 additions and 5 deletions

View file

@ -145,7 +145,8 @@
(mapconcat (lambda (k) (format "@@html:<span class=\"keyword\">@@#%s@@html:</span>@@" k))
(cl-sort keywords 'string-lessp :key 'downcase)
" "))
(format "@@html:<div class=\"description\">@@%s@@html:</div>@@" description)))))
(format "@@html:<div class=\"description\">@@%s@@html:</div>@@" description)
(format "@@html:<br/>@@" description)))))
(defun org-blog-sitemap-fn-descr (descr title list)
"Return sitemap using TITLE and LIST returned by `org-blog-sitemap-format-entry'."

View file

@ -357,11 +357,9 @@ body > input { display:none; }
color: var(--fg2);
}
.keywords {
color: var(--fg2);
}
li .keywords {
float: right;
font-style: italic;
opacity: .5;
}
.main ol > li:before, ol > li:before {

View file

@ -17,6 +17,8 @@
#+INCLUDE: ../logo-svg.org
#+MACRO: br @@html:<br/><br/>@@
Welcome to my personal website.
I generally talk about programming, maybe movies, or miscellaneous topics.
You can follow new articles via [[https://her.esy.fun/rss.xml][RSS]].
@ -30,16 +32,22 @@ priority:
1. *Respect Privacy*; no tracker of any sort (no ads, no google analytics, no
referrer for all external links, etc...)
{{{br}}}
2. *Almost javascript free*; no js at all except for a single exception,
pages containing Math formulae are displayed using mathjax. That means
that even the CSS theme switcher does not use javascript.
{{{br}}}
3. *Accessibility*; should be easy to read on a text browser so people with
disabilities could easily consume it.
{{{br}}}
4. *Nerdy*; should feel mostly like markdown text in a terminal and source code
should be syntax highlighted.
{{{br}}}
5. *User friendly*; support your preferred light/dark theme by default but you
can change it if you want.
{{{br}}}
6. *RSS*; you should be able to get informed when I add a new blog post.
{{{br}}}
7. *Frugal*; try to minimize the resources needed to visit my website; no
javascript, no web-font, not too much CSS magic, not much images or really
compressed one.