diff --git a/Shakefile.hs b/Shakefile.hs
index 6b2c57b..4c22f84 100644
--- a/Shakefile.hs
+++ b/Shakefile.hs
@@ -235,8 +235,8 @@ postamble now bp =
, "| tags | " <> T.intercalate " " (map ("#"<>) (postTags bp)) <> " |"
, "| date | " <> postDate bp <> " |"
, "| rss | [[file:/rss.xml][RSS]] ([[https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fher.esy.fun%2Frss.xml][validate]]) |"
- , "| size | @@html:
XXK (html XXK, css XXK, img XXK)
@@ |"
- , "| gz | @@html:XXK (html XXK, css XXK, img XXK)
@@ |"
+ , "| size | @@html:XXK (html XXK, css XXK, img XXK)@@ |"
+ , "| gz | @@html:XXK (html XXK, css XXK, img XXK)@@ |"
, "| generated | " <> now <> " |"
, ""
, "@@html:@@"
diff --git a/engine/update-file-size.sh b/engine/update-file-size.sh
index 60e285f..c366b3b 100755
--- a/engine/update-file-size.sh
+++ b/engine/update-file-size.sh
@@ -73,6 +73,6 @@ for fic in $filelist; do
gzsizeinfos="$gzsizeinfos)"
fi
print -- $sizeinfos
- perl -pi -e 's#()[^<]*(
)#$1'"$sizeinfos"'$2#;s#()[^<]*(
)#$1'"$gzsizeinfos"'$2#' $fic
+ perl -pi -e 's#()[^<]*()#$1'"$sizeinfos"'$2#;s#()[^<]*()#$1'"$gzsizeinfos"'$2#' $fic
done
rm -rf $tmpdir
diff --git a/src/css/y.css b/src/css/y.css
index d5f8e93..c956bf5 100644
--- a/src/css/y.css
+++ b/src/css/y.css
@@ -3,6 +3,7 @@ html {
font-size: 14px;
line-height: calc(1ex/0.37); }
html,body { margin: 0; padding: 0; border: 0; }
+.main { min-height: calc(100vh - 1em); }
h1,h2,h3,h4,h5,h6 {
line-height: calc(1ex/0.42);
margin: calc(1ex/0.42) 0; }
@@ -34,8 +35,7 @@ footer { margin: 3em 0;
line-height: 1em;
font-size: 0.875em;
}
-td { border-bottom: none; padding: .2rem; }
-table { margin-top: 1rem; }
+table { margin: 1rem 0; line-height: 1em; }
nav { text-align: center; padding: 1em 0; }
pre { line-height: 1em; }
@@ -74,7 +74,7 @@ label ~ pre { margin-top: 0; }
--fg0: var(--b0);
--fg: var(--b02);
--rfg: #000;
- --hl: var(--g);
+ --hl: var(--o);
}
/* dark preferred */
@@ -118,7 +118,7 @@ input#l:checked ~ div {
--fg0: var(--b0);
--fg: var(--b02);
--rfg: #000;
- --hl: var(--g);
+ --hl: var(--o);
}
input#l:checked ~ div img {
filter: none;
@@ -167,7 +167,6 @@ body, body > div {
color: var(--fg);
}
a,a:visited { color: var(--hl); }
-figcaption { color: var(--fg0); }
code { background: var(--rbg); }
/* ---- SYNTAX HIGHLIGHTING ---- */
diff --git a/src/index.org b/src/index.org
index bcfa5c9..5d77ec3 100644
--- a/src/index.org
+++ b/src/index.org
@@ -9,37 +9,14 @@
#+MACRO: br @@html:
@@
#+MACRO: pemail @@html: Yann Esposito <yann@esposito.host>@@
-@@html:@@
-
-
I'm a functional programmer, working remotely for Cisco.{{{br}}}
I work in Clojure and use Haskell/Purescript during the weekends.
-- [[https://gitea.esy.fun/yogsototh][I write softwares]] ([[https://github.com/yogsototh][backuped on github]]),
-- [[file:archive.org][I blog]] (you can follow new articles via [[https://her.esy.fun/rss.xml][RSS]]),
-- [[file:slides.org][I sometime make some presentations]]
+- [[file:archive.org][blog posts]] ([[https://her.esy.fun/rss.xml][RSS]]),
+- [[file:slides.org][talks slides]]
+- [[https://gitea.esy.fun/yogsototh][my open source code]] ([[https://github.com/yogsototh][github backup]]),
-| email | {{{pemail}}} |
-| gpg | [[file:files/publickey.txt][CB420F8005F1A662]] |
-
-| | self-hosted | web |
-|----------------+------------------+----------------------|
-| programs | [[https://gitea.esy.fun/yogsototh][gitea.esy.fun]] | [[https://github.com/yogsototh][github/yogsototh]] |
-| bookmarks | [[https://espial.esy.fun/u:yogsototh][espial.esy.fun]] | [[https://pinboard.in/u:yogsototh][pinboard/u:yogsototh]] |
-| microblog | [[https://espial.esy.fun/u:yogsototh/notes][espial.esy.fun]] | [[https://twitter.com/yogsototh][twitter/@yogsototh]] |
-| lobste.rs | . . . . . . . . | [[https://lobste.rs/u/yogsototh][/u/yogsototh]] |
-| reddit | . . . . . . . . | [[https://reddit.com/u/yogsototh][/u/yogsototh]] |
-| stack overflow | . . . . . . . . | [[https://stackoverflow.com/users/40569/yogsototh][yogsototh]] |
+** About this website
That website was created with the following constraints in mind by order of
priority:
@@ -52,4 +29,19 @@ priority:
4. *RSS*; you should be able to get informed when I add a new blog post.
5. *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.
+ compressed one. Theme switcher to have a dark-mode (no js involved).
+** My Internet Identity
+
+| email | {{{pemail}}} |
+| gpg | [[file:files/publickey.txt][CB420F8005F1A662]] |
+
+| | self-hosted | web |
+|----------------+-----------------+----------------------|
+| code | [[https://gitea.esy.fun/yogsototh][gitea.esy.fun]] | [[https://github.com/yogsototh][github/yogsototh]] |
+| my bookmarks | [[https://espial.esy.fun/u:yogsototh][espial.esy.fun]] | [[https://pinboard.in/u:yogsototh][pinboard/u:yogsototh]] |
+| micro-blog | [[https://espial.esy.fun/u:yogsototh/notes][espial.esy.fun]] | [[https://twitter.com/yogsototh][twitter/@yogsototh]] |
+| hn | . . . . . . . . | [[https://news.ycombinator.com/user?id=yogsototh][yogsototh]] |
+| lobste.rs | . . . . . . . . | [[https://lobste.rs/u/yogsototh][/u/yogsototh]] |
+| reddit | . . . . . . . . | [[https://reddit.com/u/yogsototh][/u/yogsototh]] |
+| stack overflow | . . . . . . . . | [[https://stackoverflow.com/users/40569/yogsototh][yogsototh]] |
+
diff --git a/src/posts/0008-further-blog-changes/index.org b/src/posts/0008-further-blog-changes/index.org
index 658f434..072b2b2 100644
--- a/src/posts/0008-further-blog-changes/index.org
+++ b/src/posts/0008-further-blog-changes/index.org
@@ -203,7 +203,7 @@ for fic in $filelist; do
total=$(( htmlsize + imgsize + csssize ))
sizeinfos=$(print -- "Size: $(toh $total) (HTML: $(toh $htmlsize), CSS: $(toh $csssize), IMG: $(toh $imgsize))")
print -- $sizeinfos
- perl -pi -e 's#()[^<]*(
)#$1'"$sizeinfos"'$2#' $fic
+ perl -pi -e 's#()[^<]*()#$1'"$sizeinfos"'$2#' $fic
done
rm -rf $tmpdir
#+end_src