]> git.eshelyaron.com Git - esy-publish.git/commitdiff
Add my public PGP key
authorEshel Yaron <me@eshelyaron.com>
Sun, 19 Jun 2022 18:22:49 +0000 (21:22 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 19 Jun 2022 18:22:49 +0000 (21:22 +0300)
org/html_postamble.html
org/pub.org [new file with mode: 0644]
org/style.css
publish.el

index 93bb5c1c2f0026fe069c3a1252c7dcd37278f444..f268681f1e08ac7f0c9b658a158eeb6a33ccdf5f 100644 (file)
     </div>
     <div class="links-third">
       <p>
-        <a href="https://sr.ht/~eshel/">sr.ht</a>
+        <a href="https://sr.ht/~eshel/">Sourcehut</a>
       </p>
     </div>
     <div class="links-fourth">
       <p>
-        <a href="mailto:me@eshelyaron.com">Mail</a>
+        <a href="mailto:me@eshelyaron.com">Personal email</a>
       </p>
     </div>
     <div class="links-fifth">
+      <p>
+        <a href="./pub.html">🔑</a>
+      </p>
+    </div>
+    <div class="links-sixth">
       <p>
         <a href="http://adifriedman.com">❤️</a>
       </p>
diff --git a/org/pub.org b/org/pub.org
new file mode 100644 (file)
index 0000000..c761cb3
--- /dev/null
@@ -0,0 +1,9 @@
+#+TITLE: Public PGP Key
+#+AUTHOR: Eshel Yaron
+#+OPTIONS: toc:nil ^:{}
+
+* My PGP public key
+
+#+begin_src shell :results code :exports both
+  gpg --armor --export me@eshelyaron.com
+#+end_src
index ab9815543967c4078ef1d19c216b8c1f7ce129f6..5d8122f448efc3b37a9c45cc25bbfe98636304de 100644 (file)
@@ -264,10 +264,14 @@ p {
   justify-content: center;
 }
 
-.links-first, .links-second, .links-third, .links-fourth, .links-fifth {
+.links-first, .links-second, .links-third, .links-fourth {
   width: 20%;
 }
 
+.links-fifth, links-sixth {
+  width: 10%;
+}
+
 span.tag {
     font-size: small;
     color: #4aa64a;
index 0b37e6a9a3994df3f1d2dce45cbcb133a6a1816c..0d3d5ee78f8d513a1395bc94977147ee724ffb1b 100644 (file)
 (require 'f)
 (require 'tramp)
 
+(org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((shell . t)))
+
 (setq tramp-cache-read-persistent-data t
       tramp-allow-unsafe-temporary-files t)
 
   (esy/publish-project-make-org-template esy/website-source-org "index.org")
   "Template for the index page of my website.")
 
+(defconst esy/publish-project-pub-template
+  (esy/publish-project-make-org-template esy/website-source-org "pub.org")
+  "Template for the GPG key page of my website.")
+
 (defconst esy/publish-project-config-template
   (esy/publish-project-make-org-template
    (expand-file-name "dotfiles/.emacs.d" esy/website-source-root)
            :publishing-directory ,esy/website-target-html
            .
            ,esy/publish-project-index-template)
+          ("pub"
+           :publishing-directory ,esy/website-target-html
+           .
+           ,esy/publish-project-pub-template)
           ("static"
            :publishing-directory ,esy/website-target-html
            .
            .
            ,esy/publish-project-config-template)
           ("eshelyaron.com" :components ("index"
+                                         "pub"
                                          "static"
                                          "config"))
           ("index.local"
                                                     esy/website-source-root)
            .
            ,esy/publish-project-index-template)
+          ("pub.local"
+           :publishing-directory ,(expand-file-name "html"
+                                                    esy/website-source-root)
+           .
+           ,esy/publish-project-pub-template)
           ("config.local"
            :publishing-directory ,(expand-file-name "html"
                                                     esy/website-source-root)
            .
            ,esy/publish-project-static-template)
           ("eshelyaron.local" :components ("index.local"
+                                           "pub.local"
                                            "static.local"
                                            "config.local")))))
 (setq org-confirm-babel-evaluate nil)