about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--Manifest.toml33
-rw-r--r--_css/style.css33
-rw-r--r--_layout/page_foot.html6
-rw-r--r--config.md3
4 files changed, 48 insertions, 27 deletions
diff --git a/Manifest.toml b/Manifest.toml
index a7d096a..d275bb4 100644
--- a/Manifest.toml
+++ b/Manifest.toml
@@ -42,9 +42,9 @@ uuid = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
 
 [[Franklin]]
 deps = ["Dates", "DelimitedFiles", "DocStringExtensions", "ExprTools", "FranklinTemplates", "HTTP", "Literate", "LiveServer", "Logging", "Markdown", "NodeJS", "OrderedCollections", "Pkg", "REPL", "Random"]
-git-tree-sha1 = "8f5fcebbe4301c673e6c587c2794f06d4408a34e"
+git-tree-sha1 = "eb5872418e5c0b86049adb62151530041368c9d1"
 uuid = "713c75ef-9fc9-4b05-94a9-213340da978e"
-version = "0.10.34"
+version = "0.10.36"
 
 [[FranklinTemplates]]
 deps = ["LiveServer"]
@@ -54,9 +54,9 @@ version = "0.8.16"
 
 [[HTTP]]
 deps = ["Base64", "Dates", "IniFile", "MbedTLS", "NetworkOptions", "Sockets", "URIs"]
-git-tree-sha1 = "c9f380c76d8aaa1fa7ea9cf97bddbc0d5b15adc2"
+git-tree-sha1 = "b855bf8247d6e946c75bb30f593bfe7fe591058d"
 uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3"
-version = "0.9.5"
+version = "0.9.8"
 
 [[IOCapture]]
 deps = ["Logging"]
@@ -75,9 +75,10 @@ deps = ["Markdown"]
 uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
 
 [[JLLWrappers]]
-git-tree-sha1 = "a431f5f2ca3f4feef3bd7a5e94b8b8d4f2f647a0"
+deps = ["Preferences"]
+git-tree-sha1 = "642a199af8b68253517b80bd3bfd17eb4e84df6e"
 uuid = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210"
-version = "1.2.0"
+version = "1.3.0"
 
 [[JSON]]
 deps = ["Dates", "Mmap", "Parsers", "Unicode"]
@@ -133,9 +134,9 @@ version = "1.2.0"
 
 [[NodeJS]]
 deps = ["Pkg"]
-git-tree-sha1 = "0c39361bf76293a7bade80e6442e50992f18482b"
+git-tree-sha1 = "905224bbdd4b555c69bb964514cfa387616f0d3a"
 uuid = "2bd173c7-0d6d-553b-b6af-13a54713934c"
-version = "1.1.2"
+version = "1.3.0"
 
 [[OrderedCollections]]
 git-tree-sha1 = "4fa2ba51070ec13fcc7517db714445b4ab986bdf"
@@ -152,6 +153,12 @@ version = "1.1.0"
 deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
 uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
 
+[[Preferences]]
+deps = ["TOML"]
+git-tree-sha1 = "ea79e4c9077208cd3bc5d29631a26bc0cff78902"
+uuid = "21216c6a-2e73-6563-6e65-726566657250"
+version = "1.2.1"
+
 [[Printf]]
 deps = ["Unicode"]
 uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
@@ -173,14 +180,20 @@ uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
 [[Sockets]]
 uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
 
+[[TOML]]
+deps = ["Dates"]
+git-tree-sha1 = "44aaac2d2aec4a850302f9aa69127c74f0c3787e"
+uuid = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
+version = "1.0.3"
+
 [[Test]]
 deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
 uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
 
 [[URIs]]
-git-tree-sha1 = "7855809b88d7b16e9b029afd17880930626f54a2"
+git-tree-sha1 = "97bbe755a53fe859669cd907f2d96aee8d2c1355"
 uuid = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"
-version = "1.2.0"
+version = "1.3.0"
 
 [[UUIDs]]
 deps = ["Random", "SHA"]
diff --git a/_css/style.css b/_css/style.css
index 078b41b..558a061 100644
--- a/_css/style.css
+++ b/_css/style.css
@@ -74,19 +74,6 @@ html {
     font-size: 70%;
 }
 
-/* Foot/copyright */
-.franklin-content .page-foot a {
-    text-decoration: none;
-    color: var(--fade-fg);
-    text-decoration: underline;
-}
-
-.page-foot {
-    font-size: 80%;
-    color: var(--fade-fg);
-    margin: 3rem 0;
-}
-
 /* Text geometry */
 .franklin-content p {
     hyphens: auto;
@@ -232,7 +219,7 @@ html {
 
 /* Header */
 header {
-    margin: 2rem -0.5rem;
+    margin: 1rem -0.5rem;
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
@@ -249,6 +236,24 @@ header a {
 }
 header a:hover { color: var(--text-fg) }
 
+/* Footer */
+.franklin-content .page-foot a {
+    color: var(--fade-fg);
+    text-decoration: underline;
+}
+
+.page-foot {
+    color: var(--fade-fg);
+    font-size: 80%;
+    margin: 1.5rem 0;
+}
+
+/* Balance the horizontal margin with extra vertical ones. */
+@media (min-width: 576px) {
+    header { margin-top: 2rem }
+    .page-foot { margin-bottom: 3rem }
+}
+
 nav, nav li { display: inline-block }
 nav ul { margin: 0 }
 
diff --git a/_layout/page_foot.html b/_layout/page_foot.html
index d85c41e..446fb95 100644
--- a/_layout/page_foot.html
+++ b/_layout/page_foot.html
@@ -1,9 +1,11 @@
 <div class=page-foot>
   <div class=copyright>
-    Copyright &copy; 2018-2021 {{fill author}};
+    Copyright &copy; 2018&ndash;2021 {{fill author}};
     See <a href=https://creativecommons.org/licenses/by-sa/4.0>license
     terms</a><br>
-    {{isnotpage /tag/*}}Last modified: {{fill fd_mtime}}<br>{{end}}
+    {{isnotpage /tag/*}}Last modified: {{fill fd_mtime}};  View
+    <a href=https://git.sr.ht/~cnx/site/tree/main/item/{{fill fd_rpath}}>page
+    source</a><br>{{end}}
     A website by <a href=https://julialang.org>Julia</a>
     <a href=https://franklinjl.org>Franklin</a>
   </div>
diff --git a/config.md b/config.md
index 467c139..1092740 100644
--- a/config.md
+++ b/config.md
@@ -4,10 +4,11 @@ website.
 The website_* must be defined for the RSS to work
 -->
 @def website_title = "McSinyx"
-@def website_descr = "McSinyx' personal site"
+@def website_descr = "McSinyx' web logs"
 @def website_url   = "https://cnx.srht.page"
 
 @def author = "Nguyễn Gia Phong"
+@def date_format = "yyyy-mm-dd"
 
 @def mintoclevel = 2