a bit of magic
This commit is contained in:
parent
a0e129008c
commit
1526d468ee
3 changed files with 12 additions and 5 deletions
|
@ -145,7 +145,8 @@
|
||||||
(mapconcat (lambda (k) (format "@@html:<span class=\"keyword\">@@#%s@@html:</span>@@" k))
|
(mapconcat (lambda (k) (format "@@html:<span class=\"keyword\">@@#%s@@html:</span>@@" k))
|
||||||
(cl-sort keywords 'string-lessp :key 'downcase)
|
(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)
|
(defun org-blog-sitemap-fn-descr (descr title list)
|
||||||
"Return sitemap using TITLE and LIST returned by `org-blog-sitemap-format-entry'."
|
"Return sitemap using TITLE and LIST returned by `org-blog-sitemap-format-entry'."
|
||||||
|
|
|
@ -357,11 +357,9 @@ body > input { display:none; }
|
||||||
color: var(--fg2);
|
color: var(--fg2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.keywords {
|
|
||||||
color: var(--fg2);
|
|
||||||
}
|
|
||||||
li .keywords {
|
li .keywords {
|
||||||
float: right;
|
font-style: italic;
|
||||||
|
opacity: .5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main ol > li:before, ol > li:before {
|
.main ol > li:before, ol > li:before {
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
|
|
||||||
#+INCLUDE: ../logo-svg.org
|
#+INCLUDE: ../logo-svg.org
|
||||||
|
|
||||||
|
#+MACRO: br @@html:<br/><br/>@@
|
||||||
|
|
||||||
Welcome to my personal website.
|
Welcome to my personal website.
|
||||||
I generally talk about programming, maybe movies, or miscellaneous topics.
|
I generally talk about programming, maybe movies, or miscellaneous topics.
|
||||||
You can follow new articles via [[https://her.esy.fun/rss.xml][RSS]].
|
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
|
1. *Respect Privacy*; no tracker of any sort (no ads, no google analytics, no
|
||||||
referrer for all external links, etc...)
|
referrer for all external links, etc...)
|
||||||
|
{{{br}}}
|
||||||
2. *Almost javascript free*; no js at all except for a single exception,
|
2. *Almost javascript free*; no js at all except for a single exception,
|
||||||
pages containing Math formulae are displayed using mathjax. That means
|
pages containing Math formulae are displayed using mathjax. That means
|
||||||
that even the CSS theme switcher does not use javascript.
|
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
|
3. *Accessibility*; should be easy to read on a text browser so people with
|
||||||
disabilities could easily consume it.
|
disabilities could easily consume it.
|
||||||
|
{{{br}}}
|
||||||
4. *Nerdy*; should feel mostly like markdown text in a terminal and source code
|
4. *Nerdy*; should feel mostly like markdown text in a terminal and source code
|
||||||
should be syntax highlighted.
|
should be syntax highlighted.
|
||||||
|
{{{br}}}
|
||||||
5. *User friendly*; support your preferred light/dark theme by default but you
|
5. *User friendly*; support your preferred light/dark theme by default but you
|
||||||
can change it if you want.
|
can change it if you want.
|
||||||
|
{{{br}}}
|
||||||
6. *RSS*; you should be able to get informed when I add a new blog post.
|
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
|
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
|
javascript, no web-font, not too much CSS magic, not much images or really
|
||||||
compressed one.
|
compressed one.
|
||||||
|
|
Loading…
Reference in a new issue