Coder Social home page Coder Social logo

simple-hugo's Introduction

simple-hugo

A simple Hugo theme for you to use.

Demo

My personal site uses it. Find source code here.

Usage

hugo new site my-site
git clone https://github.com/D00NIK/simple-hugo.git my-site/themes/simple-hugo
echo "theme = 'simple-hugo'" >> my-site/hugo.toml # change for other formats

Configuration (hugo.toml)

Website title

Just change the title.

title = 'My New Hugo Site'

Top right navigation

Add it with Menus like below. Weight determines the order.

[menu]
    [[menu.main]]
        name = 'Blog'
        pageRef = '/blog'
        weight = 1

    [[menu.main]]
        name = 'Contact'
        pageRef = '/contact'
        weight = 2

Footer socials

Same as above but with footer menu. Do not erase the name, it is required by Hugo. Don't forget the logo in static folder.

[menu]
    [[menu.footer]]
        name = 'RSS'
        url = 'https://dominikpakula.xyz/index.xml'
        weight = 2
        [[menu.footer.params]]
            path = 'static/logos/rss.svg'

    [[menu.footer]]
        name = 'Github'
        url = 'https://github.com/D00NIK/'
        weight = 1
        [[menu.footer.params]]
          path = 'static/logos/github.svg'

Footer text

Add it as in example below. It works with HTML too.

[params]
    footerText = "Built with <a href='http://gohugo.io' target='_blank' rel='noopener noreferrer'>Hugo</a>"

Extra

This theme is Unlicensed. Attribution is appreciated but not required.

There isn't much options to edit. This means that it probably won't fit your needs. And that's okay. Just change the theme to your needs!

simple-hugo's People

Contributors

d00nik 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.