bdec77905bf26a7613043645c067ca1673d5acce — Amin Bandali 2 months ago
[wip] better organize pages, enable org-hugo-auto-export-on-save
5 files changed, 28 insertions(+), 30 deletions(-)

M content-org/aminb.org
M content/_index.md
M content/colophon.md
M content/contact.md
M content/cv.md
M content-org/aminb.org => content-org/aminb.org +20 -22
@@ 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 @@ 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 @@ 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 @@ ** 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 @@ [[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 @@ :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 @@ - [[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:

M content/_index.md => content/_index.md +1 -1
@@ 8,4 8,4 @@ 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"

M content/colophon.md => content/colophon.md +1 -4
@@ 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 @@ <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"

M content/contact.md => content/contact.md +2 -2
@@ 4,8 4,8 @@ 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 @@ -   ~~[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"

M content/cv.md => content/cv.md +4 -1
@@ 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 @@ 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"