install hugo with academic theme kickstart

Install Hugo with Academic theme kickstart

  • File location:
    • Local repository saved under ~/Hugo/Site/chaos
    • Generated web site saved under ~/Hugo/Site/chaos/public directory and deploy to github as https://dyiwu.github.io/

  • Fork the Academic Kickstart repository
    from sourcethemes/academic-kickstart as dyiwu/academic-kickstart repo
    (https://github.com/sourcethemes/academic-kickstart)

  • rename the forked repo from academic-kickstart to chaos

  • clone your dyiwu/chaos repo into local file system:

    1
    2
    3
    4
    
    $ cd ~/Hugo/Site
    $ git clone https://github.com/dyiwu/chaos.git
    $ cd chaos
    $ git submodule update --init --recursive

  • Update Academic Kickstart by execute the theme updater

    1
    2
    
    $ cd ~/Hugo/Site/chaos
    $ ./update_academic.sh

  • Customize

    • config/_default/config.toml
      • title = “Chaos”
      • baseurl = “https://dyiwu.github.io/"
      • preserveTaxonomyNames = true
      • [permalinks]
        • post = “/:year/:month/:filename/”
    • config/_default/params.toml
      • color_theme = “1950s”
      • twitter = “dyiwu”
      • date_format = “2006-01-02”
      • time_format = “15:04”
      • email = “[email protected]
      • office_hours = “”
      • # appointment_url = “https://calendly.com"
      • menu_align_right = true
      • profile = false
      • post_view = 1
      • publication_view = 1
      • talk_view = 1

Reference: