[wip] better organize pages, enable org-hugo-auto-export-on-save
[~bandali/bndl.org] / content-org / aminb.org
index 28c0dcc..e71bb14 100644 (file)
@@ -8,9 +8,13 @@
 #+macro: abbr @@html:<abbr>$1</abbr>@@
 #+macro: span @@html:<span class="$1">$2</span>@@
 
-* Home
+* Pages
 :PROPERTIES:
 :EXPORT_HUGO_SECTION: /
+:END:
+
+** Home
+:PROPERTIES:
 :EXPORT_FILE_NAME: _index
 :END:
 
@@ -18,15 +22,10 @@ I'm a [[/uw][graduate student]] in the [[https://watform.uwaterloo.ca][WatForm]]
 supervised by [[https://cs.uwaterloo.ca/~nday/][Dr. Nancy Day]].  I'm interested in using formal methods,
 especially type systems, to help make software more reliable.
 
-* Pages
-:PROPERTIES:
-:EXPORT_HUGO_SECTION: /
-:EXPORT_HUGO_MENU: :menu topnav
-:END:
-
 ** CV
 :PROPERTIES:
 :EXPORT_FILE_NAME: cv
+:EXPORT_HUGO_MENU: :menu topnav :weight 10
 :END:
 
 My academic {{{abbr(CV)}}} is available as [[/cv.pdf][cv.pdf]],
@@ -42,12 +41,90 @@ line]] if you like to geek out about any of the above.
 
 ** TODO Projects
 
-** TODO Contact
+** DONE Contact
+CLOSED: [2018-09-03 Mon 20:44]
+:PROPERTIES:
+:EXPORT_FILE_NAME: contact
+:EXPORT_HUGO_MENU: :menu topnav :weight 40
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :customTitle "Say hello!"
+:END:
+
+#+macro: xmpp @@html:<a href="xmpp:$1">$1</a>@@
+
+You can contact me via email or through my accounts on various online
+platforms.
+
+*** Contact info
+
+- [[mailto:amin@aminb.org][amin@aminb.org]]
+- [[mailto:amin@gnu.org][amin@gnu.org]], I'm a volunteer [[https://www.gnu.org/people/webmeisters.html#aminb][GNU webmaster]]
+- [[mailto:abandali@uwaterloo.ca][abandali@uwaterloo.ca]], I'm a [[/uw][grad student]] @ UW
+- gpg key: [[https://pgp.surfnet.nl/pks/lookup?op=vindex&fingerprint=on&search=0xD1FBA36627D65876][CDDE 75F9 0353 8E71 813C  DA27 D1FB A366 27D6 5876]]
+- aminb on [[https://freenode.net][freenode]] and [[https://wiki.mozilla.org/IRC][moznet]] IRC
+- [[https://matrix.to/#/@aminb:matrix.org][@aminb:matrix.org]] on Matrix
+- {{{xmpp(aminb@member.fsf.org)}}} via XMPP
+- [[https://pleroma.site/users/aminb][aminb@pleroma.site]] on the [[https://en.wikipedia.org/wiki/Fediverse][fediverse]]
+
+*** Other online places
+
+- [[https://git.sr.ht/%257Eaminb][~aminb]] on [[https://sr.ht][sr.ht]]
+- [[https://lobste.rs/u/aminb][aminb]] on Lobsters
+- [[https://gitlab.com/aminb][aminb]] on GitLab
+- [[https://keybase.io/amin][amin]] on Keybase
+- [[https://news.ycombinator.com/user?id=aban][aban]] on HN
+- [[https://www.reddit.com/u/aminb][aminb]] on Reddit
+- +[[https://github.com/aminb][aminb]] on GitHub+
+- +[[https://twitter.com/aminban][aminban]] on Twitter+
+
+** Colophon
+:PROPERTIES:
+:EXPORT_FILE_NAME: colophon
+:END:
+
+#+macro: light @@html:<label class="light-off-button-inline" for="light-off"></label>@@
+#+macro: ccbysa @@html:<a rel="license" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International @@{{{ccbysa-img}}}@@html:</a>@@
+#+macro: ccbysa-img @@html:<img alt="Creative Commons Licence" style="border-width:0" src="//i.creativecommons.org/l/by-sa/4.0/80x15.png"/>@@
+
+This is my personal website, previous versions of which I've ran on
+different domains since 2012.  The last version was generated using
+[[https://www.romanzolotarev.com/ssg.html][ssg]] (shout out to Roman Zolotarev), but I've since ported it to GNU
+Emacs + Org mode.
+
+The sources are available on https://git.sr.ht/~aminb/aminb.org.  The
+site is automatically generated on each =git push= using the
+[[https://builds.sr.ht][builds.sr.ht]] service (see the [[https://git.sr.ht/~aminb/aminb.org/tree/.build.yml][=.build.yml=]] build manifest) and is
+deployed to my server, where it's served by [[https://www.nginx.com][Nginx]] on [[https://www.debian.org][Debian GNU/Linux]].
+
+*** Night mode
+
+To toggle night mode, click on {{{light}}}, which is always available
+on the top navigation menu. It saves its state in a browser cookie,
+other than that no JavaScript is required to use this website.
+
+*** Copyright and Licenses
+:PROPERTIES:
+:CUSTOM_ID: copyright
+:END:
+
+The source code for this site is licensed under version 3 (or, at your
+option, any later version) of the [[https://gnu.org/licenses/gpl.html][GNU General Public License]] (see the
+[[https://git.sr.ht/~aminb/aminb.org/tree/COPYING][=COPYING=]] file). The contents of the website are licensed under a
+{{{ccbysa}}} license.
+
+** Search
+:PROPERTIES:
+:EXPORT_HUGO_SECTION: /
+:EXPORT_FILE_NAME: search
+:EXPORT_HUGO_LAYOUT: search
+:EXPORT_HUGO_OUTPUTS: html json
+:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :sitemap '((priority . 0.1))
+:END:
+Results from static site search implemented using /Fusejs/, /jquery/
+and /mark.js/. -- [[https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae][Source]]
 
 * Posts
 :PROPERTIES:
 :EXPORT_HUGO_SECTION: post
-:EXPORT_HUGO_MENU: :menu main
 :EXPORT_HUGO_AUTO_SET_LASTMOD: t
 :END:
 
@@ -56,7 +133,6 @@ line]] if you like to geek out about any of the above.
 :EXPORT_FILE_NAME: arch-macbook-air
 :EXPORT_DATE: 2016-11-01
 :EXPORT_OPTIONS: ^:{}
-:EXPORT_HUGO_MENU: :menu main
 :EXPORT_HUGO_ALIASES: /2016/11/arch-macbook-air
 :EXPORT_HUGO_CUSTOM_FRONT_MATTER: :toc true
 :END:
@@ -322,19 +398,9 @@ and pieces, about installing Arch on a MacBook:
 - [[https://medium.com/phils-thought-bubble-of-recent-stuff/arch-linux-running-on-my-macbook-2ea525ebefe3][Arch Linux running on my MacBook]]
 - [[http://codylittlewood.com/arch-linux-on-macbook-pro-installation/][Dual boot Arch Linux on MacBook Pro Installation]]
 
-* Meta
-** Search
-:PROPERTIES:
-:EXPORT_HUGO_SECTION: /
-:EXPORT_FILE_NAME: search
-:EXPORT_HUGO_LAYOUT: search
-:EXPORT_HUGO_OUTPUTS: html json
-:EXPORT_HUGO_CUSTOM_FRONT_MATTER: :sitemap '((priority . 0.1))
-:END:
-Results from static site search implemented using /Fusejs/, /jquery/
-and /mark.js/. -- [[https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae][Source]]
 
 * COMMENT Local Variables                                           :ARCHIVE:
 # Local Variables:
-# org-hugo-footer: "\n\n[//]: # \"Exported with love from a post written in Org mode\"\n[//]: # \"- https://github.com/kaushalmodi/ox-hugo\""
+# org-hugo-footer: "\n\n[//]: # \"Exported with love from a post written in Org mode\"\n[//]: # \"- https://ox-hugo.scripter.co\""
+# org-hugo-auto-export-on-save: t
 # End: