~aminb/aminb.org

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmin Bandali <amin@gnu.org>2018-09-04 02:04:25 -0400
committerAmin Bandali <amin@gnu.org>2018-09-04 02:04:25 -0400
commitbdec77905bf26a7613043645c067ca1673d5acce (patch)
treef188011a7ee6634c8ed47b94fcf56bd3705403f1
parent351bf14558a231f34fb31a91310e455c8bf5ceae (diff)
downloadaminb.org-bdec77905bf26a7613043645c067ca1673d5acce.tar.xz
[wip] better organize pages, enable org-hugo-auto-export-on-save
-rw-r--r--content-org/aminb.org42
-rw-r--r--content/_index.md2
-rw-r--r--content/colophon.md5
-rw-r--r--content/contact.md4
-rw-r--r--content/cv.md5
5 files changed, 28 insertions, 30 deletions
diff --git a/content-org/aminb.org b/content-org/aminb.org
index 94b15ae..e71bb14 100644
--- a/content-org/aminb.org
+++ b/content-org/aminb.org
@@ -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]],
@@ -46,6 +45,7 @@ line]] if you like to geek out about any of the above.
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:
@@ -79,7 +79,6 @@ platforms.
** Colophon
:PROPERTIES:
:EXPORT_FILE_NAME: colophon
-:EXPORT_HUGO_MENU: :menu "nomenu"
:END:
#+macro: light @@html:<label class="light-off-button-inline" for="light-off"></label>@@
@@ -112,10 +111,20 @@ option, any later version) of the [[https://gnu.org/licenses/gpl.html][GNU Gener
[[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:
@@ -124,7 +133,6 @@ option, any later version) of the [[https://gnu.org/licenses/gpl.html][GNU Gener
: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:
@@ -390,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:
diff --git a/content/_index.md b/content/_index.md
index 0ad37e4..d113f7d 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -8,4 +8,4 @@ supervised by [Dr. Nancy Day](https://cs.uwaterloo.ca/~nday/). I'm interested i
especially type systems, to help make software more reliable.
[//]: # "Exported with love from a post written in Org mode"
-[//]: # "- https://github.com/kaushalmodi/ox-hugo"
+[//]: # "- https://ox-hugo.scripter.co"
diff --git a/content/colophon.md b/content/colophon.md
index 439b504..f12b18c 100644
--- a/content/colophon.md
+++ b/content/colophon.md
@@ -1,9 +1,6 @@
+++
title = "Colophon"
draft = false
-[menu.nomenu]
- weight = 2001
- identifier = "colophon"
+++
This is my personal website, previous versions of which I've ran on
@@ -32,4 +29,4 @@ option, any later version) of the [GNU General Public License](https://gnu.org/l
<a rel="license" href="//creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International <img alt="Creative Commons Licence" style="border-width:0" src="//i.creativecommons.org/l/by-sa/4.0/80x15.png"/></a> license.
[//]: # "Exported with love from a post written in Org mode"
-[//]: # "- https://github.com/kaushalmodi/ox-hugo"
+[//]: # "- https://ox-hugo.scripter.co"
diff --git a/content/contact.md b/content/contact.md
index 4e079d7..38059e7 100644
--- a/content/contact.md
+++ b/content/contact.md
@@ -4,8 +4,8 @@ date = 2018-09-03T20:44:00-04:00
draft = false
customTitle = "Say hello!"
[menu.topnav]
- weight = 2001
identifier = "contact"
+ weight = 40
+++
You can contact me via email or through my accounts on various online
@@ -36,4 +36,4 @@ platforms.
- ~~[aminban](https://twitter.com/aminban) on Twitter~~
[//]: # "Exported with love from a post written in Org mode"
-[//]: # "- https://github.com/kaushalmodi/ox-hugo"
+[//]: # "- https://ox-hugo.scripter.co"
diff --git a/content/cv.md b/content/cv.md
index f26c6b8..8d1e815 100644
--- a/content/cv.md
+++ b/content/cv.md
@@ -2,8 +2,8 @@
title = "CV"
draft = false
[menu.topnav]
- weight = 2001
identifier = "cv"
+ weight = 10
+++
My academic <abbr>CV</abbr> is available as [cv.pdf](/cv.pdf),
@@ -14,3 +14,6 @@ I'm interested in functional programming and functional languages,
type systems, and formal methods in general. I love writing Haskell
and I'm looking into Rust and Lean as well. Feel free to [drop me a
line](/contact) if you like to geek out about any of the above.
+
+[//]: # "Exported with love from a post written in Org mode"
+[//]: # "- https://ox-hugo.scripter.co"