Coder Social home page Coder Social logo

sitedata / hugo-sustain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suyundukov/hugo-sustain

0.0 1.0 0.0 743 KB

🦁 Personal blog theme built with Bootstrap, powered by Hugo.

Home Page: https://demo.nurlan.co/hugo-sustain/

License: MIT License

HTML 67.74% CSS 26.05% JavaScript 6.20%

hugo-sustain's Introduction

Sustain - Logo

Table of Contents


Sustain Screen


Sustain Live Demo

Installation

With git

From the root of your Hugo site, clone the theme into themes/hugo-sustain by running :

git clone https://github.com/nurlansu/hugo-sustain.git themes/hugo-sustain

Manual

  1. Download zip archive.
  2. Unarchive it.
  3. Move hugo-sustain folder in themes folder of your blog

For more information read the official setup guide of Hugo.

Quick start

After installation, take a look in the exampleSite folder at. This directory contains an example config file and the content for the demo. It serves as an example setup for your documentation.

  exampleSite
  β”œβ”€β”€ config.toml
  β”œβ”€β”€ content
  β”‚Β Β  β”œβ”€β”€ projects.md
  β”‚Β Β  β”‚
  β”‚Β Β  └── blog
  β”‚Β Β      β”œβ”€β”€ creating-a-new-theme.md
  β”‚Β Β      β”œβ”€β”€ go-is-for-lovers.md
  β”‚Β Β      β”œβ”€β”€ hugo-is-for-lovers.md
  β”‚Β Β      └── migrate-from-jekyll.md
  β”‚
  β”œβ”€β”€ data
  β”‚   └── projects.yml
  β”‚
  └── static

Copy at least the config.toml in the root directory of your website. Overwrite the existing config file if necessary.

Hugo includes a development server, so you can view your changes as you go - very handy. Spin it up with the following command:

hugo serve

Now you can go to localhost:1313 and the Sustain theme should be visible.

Features

Syntax highlighting

Use highlight = true in the front matter to include highlight.js javascript and css files.

Disqus

To use this feature, uncomment and fill out the disqusShortname parameter in config.toml.

Google Analytics

To add Google Analytics, simply sign up to Google Analytics to obtain your Google Tracking ID, and add this tracking ID to the googleAnalytics parameter in config.toml.

About

This is a port of the Jekyll theme Sustain by FΓ‘bio Madeira. It supports most of the features of the original theme.

Contributing

Pull requests, bug fixes, and new features are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -a -m 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request on GitHub

Changelog

Version 1.0.1

  • Added proper "Projects" page rendering
  • Fixes, many fixes

Version 1.0

  • Initial release

License

MIT

hugo-sustain's People

Contributors

calebdavenport avatar delirious-lettuce avatar jeffxf avatar patrickderitter avatar phajduk avatar schiessle avatar suyundukov avatar zyio avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.