Gabirel / Gabirel.github.io

Gabriel's Personal Blog
https://gabirel.github.io
MIT License
1 stars 0 forks source link
blog hexo next

preview Long Haul

Long Haul is a minimal jekyll theme built with SASS / GULP / BROWSERSYNC / AUTOPREFIXER and focuses on long form blog posts. It is meant to be used as a starting point for a jekyll blog/website.

This version is modified based on Long Haul.

If you really enjoy Long Haul and want to give me credit somewhere on the internet send or tweet out your experience with Long Haul and tag me @brianmaierjr.

View Demo

Netlify Status

Features

Setup

  1. Install Jekyll
  2. Fork the Long Haul repo
  3. Clone it
  4. Install Bundler
  5. Run bundle install
  6. Install gulp dependencies by running npm install
  7. Run Jekyll and watch files by running bundle exec gulp
  8. Customize and watch the magic happen!

Blog Setup

  1. Remove all unnecessary files

    Important:You should keep .git in order to keep update with upstreams.

    Skip this steps.

  2. Normal setup for jekyll

    $ bundle update
    $ bundle install
  3. Modify site settings

    • ./_config.yml
    • ./_data_/config.yml (recommended)
  4. Add your posts

    All existing posts are ok to get removed if you want it.

  5. Run preview

    $ jekyll serve -w
  6. Deploy

    # you may change `blog` to something else, or leave it.
    $ git remote add blog <xxxxx>
    
    $ git init && git add . && git commit -m "Add posts"
    
    $ git push --set-upstream blog master
  7. Update blogs templates [Optional]

    $ git remote rename origin upstream
    
    # normally you have conflicts, so you need `--rebase`
    $ git pull upstream master --rebase

Site Settings

The main settings can be found inside the _config.yml file:

Header Option

If you'd like your header to be larger then you can use the option below in you config.yml to make it take up half of the vertical space on screens 800px wide and up. Preview image below.

preview Long Haul

License

This is MIT with no added caveats, so feel free to use this Jekyll theme on your site without linking back to me or using a disclaimer.