hrishikeshkale4 / gatech-sysml.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

Directory structure (the important bits)

πŸ“ assets
    πŸ“ media
        πŸ“„ icon.png - (optional) add your website icon here
        πŸ“„ logo.png - (optional) add your logo here
πŸ“ config
    πŸ“ _default
        πŸ“„ config.yaml - define your site name and URL
        πŸ“„ languages.yaml - edit this for non-English or multilingual sites
        πŸ“„ menus.yaml - define your site menu
        πŸ“„ params.yaml - personalize your site
πŸ“ content
    πŸ“ authors - user profiles
        πŸ“ admin - your username (can rename)
            πŸ“„ _index.md - your user profile
            πŸ“„ avatar.jpg - update with a photo of yourself or delete to not show any photo
    πŸ“ home - your homepage - personalize the homepage with widgets
    πŸ“ post
        πŸ“„ _index.md - (optional) an archive of blog posts
    πŸ“ publication
        πŸ“„ _index.md - (optional) an archive of publications
    πŸ“ projects
        πŸ“„ _index.md - (optional) an archive of projects
πŸ“ data
    πŸ“„ page_sharer.toml - (optional) customize social sharing buttons

Creating a new project/post

  • Run the below command with the appropriate --kind of content you want to make, and the path you want it in
hugo new --kind post content/post/my_new_post_directory
  • Edit content/post/my_new_post_directory/index.md. See here for full details
  • Add and commit any changes to the source

Push changes to the website

  • If you have not already done so, run hugo. It will to build the webpage in the public directory
  • Add and commit your changes
git add public/
git commit -m "Your commit message"
  • Push just the public/ folder to gh-pages branch
git subtree push --prefix=public origin gh-pages

About

License:MIT License


Languages

Language:HTML 99.8%Language:TeX 0.1%Language:JavaScript 0.1%Language:SCSS 0.0%