]> git.eshelyaron.com Git - esy-publish.git/commitdiff
Add metadata line with creation and update dates to all posts
authorEshel Yaron <me@eshelyaron.com>
Fri, 14 Apr 2023 07:57:51 +0000 (10:57 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 14 Apr 2023 07:57:51 +0000 (10:57 +0300)
src/posts/2023-04-01-take-on-recursion.org
src/posts/2023-04-05-the-self-healing-code-fallacy.org
src/posts/2023-04-08-making-shell-scripts-executable-just-in-time.org
src/posts/2023-04-11-optimizing-project-selection-in-emacs.org
src/style.css

index bd463d577c6d653c89ceb2b2614d0e28dafa5292..fd6d419d029529e153a561cbaaf4d46f1f9bbce2 100644 (file)
@@ -4,6 +4,8 @@
 #+KEYWORDS:    emacs
 #+DATE:        2023-04-01
 
+@@html:<div class="metadata">@@Created on [{{{date}}}], last updated [{{{modification-time(%Y-%m-%d, t)}}}]@@html:</div>@@
+
 Over at [[https://takeonrules.com]], Jeremy Friesen has [[https://takeonrules.com/2023/03/25/using-built-in-emacs-29-tree-sitter-package-to-get-qualified-ruby-function-name/][a couple of]] [[https://takeonrules.com/2023/03/25/using-built-in-emacs-29-tree-sitter-package-to-get-qualified-ruby-function-name/][recent posts]]
 about an Emacs command he wrote for grabbing the qualified name of the function
 at point in Ruby files.
index 3afc1b4d4cd640c7514646cf1dd9c16f6b4b4d8f..e651d1b9d812a1cf6fb1dac1771a0b85c2d691cc 100644 (file)
@@ -4,6 +4,8 @@
 #+KEYWORDS:    ai
 #+DATE:        2023-04-05
 
+@@html:<div class="metadata">@@Created on [{{{date}}}], last updated [{{{modification-time(%Y-%m-%d, t)}}}]@@html:</div>@@
+
 Yesterday, a colleague of mine shared [[https://twitter.com/minchoi/status/1643215812298260480][a tweet]] in our =#random= Slack
 channel about [[https://gitlab.com/min.choi/selfhealing-gitlab-ci/][a new AI-powered plugin for GitLab CI]] that supposedly
 makes your code /self-healing/.
index 16efc05749640681d41f13cc7ec186164512090d..fa0618d64325891275c885f8b763d61bf7243038 100644 (file)
@@ -4,6 +4,8 @@
 #+KEYWORDS:    emacs lisp
 #+DATE:        2023-04-08
 
+@@html:<div class="metadata">@@Created on [{{{date}}}], last updated [{{{modification-time(%Y-%m-%d, t)}}}]@@html:</div>@@
+
 In my work I often need to write small programs or scripts that
 accomplish very specific tasks.  Many of these involve fetching and
 analyzing data from JSON-based APIs, and I tend to use shell scripts
index d5cfc75e3b8f9aac895b044af999038d0e1ce3ee..71690dd022ee8fc23f38a980afd1e273d46589cb 100644 (file)
@@ -4,6 +4,8 @@
 #+KEYWORDS:    emacs,lisp
 #+DATE:        2023-04-11
 
+@@html:<div class="metadata">@@Created on [{{{date}}}], last updated [{{{modification-time(%Y-%m-%d, t)}}}]@@html:</div>@@
+
 Emacs has a brand new user option for customizing the interface used
 for project selection, e.g. when switching from one project to
 another.  I always considered the way Emacs handles project selection
index 1a5f10495242698ab9eab7b75c9421a5574c880b..6a5655a2cea24e19d2b684483082db9bd7435aab 100644 (file)
@@ -310,3 +310,9 @@ Generated with `M-x org-html-htmlize-generate-css` after loading the
     text-decoration-color: #9acd32;
     font-style: italic;
 }
+
+.metadata {
+    color: #989898;
+    font-style: italic;
+    font-size: smaller;
+}