Git Product home page Git Product logo

hugo-mythalcorp-theme's Introduction

Installation

$ cd /<your-hugo-site-directory>
$ git submodule add https://github.com/MythalCorp/hugo-mythalcorp-theme.git themes/hugo-mythalcorp-theme

Configuration

Edit hugo.toml

baseURL = 'https://mythalcorp.github.io/'
languageCode = 'fr'
title = 'Mythal Corp Site'
theme = "hugo-mythalcorp-theme"

config.yaml

Multilingual

You can show or hide the Languages dropdown menu from config.yaml:

languagesMenuEnabled: true

Breadcrumb

You can show or hide the current page in the breadcrumb from config.yaml:

breadcrumb:
  showCurrent: true

Pagination Loader

You can enable or disable the pagination loader (Load More button) in the list pages from config.yaml:

pagination:
  loader: true

Disabling it will show the standard pagination widget.

Background

You can set a theme background just dropping an image on the static/images/ folder and typing its name on the params.background.image parameter. Also you can set a parallax effect and its speed for the posts section.

background:
  image: "../images/background.png"
  parallax: true
  speed: 10

Contact

You can enable de Contact form to let visitors send you messages using a message service like Formspree just adding your contact form action URL in config.yaml:

contact:
  formAction: https://formspree.io/f/yourformcode

Social Networks

You can add the usernames for the current supported social networks in config.yaml:

social:
  - network: twitter
    link: "https://www.twitter.com/8bits"
  - network: facebook
    link: "https://www.facebook.com/8bits"
  - network: instagram
    link: "https://www.instagram.com/8bits"

See config.yaml for more examples on social networks parameterization.

Comments

Powered by Disqus

disqusShortname: "yourdiscussshortname"

Disable the comments system by leaving params.disqusShortname empty.

Google Analytics

googleAnalytics: "UA-123-45"

Disable the Google Analytics by leaving params.googleAnalytics empty.

More Settings!

See the whole configuration in the config.yaml file.

Example Site

The exampleSite folder is based on Hugo Basic Example and offers an example site for this theme.

The exampleSite/content/ folder contains the following:

  • A section called /post/ with sample markdown content.
  • An about.md that is intended to provide the /about/ page for a theme demo.
  • A contact.md that is intended to provide the /contact/ page for a contact form.

Almost there...

In order to see your site in action, you can run Hugo's built-in local server.

$ cd exampleSite
$ hugo server -t ../..

Now enter http://localhost:1313/ in the address bar of your browser.

Deployment

Contributing

  • Found a bug?
  • Got an idea for a new feature?

Let me know it using the issue tracker or make it directly with a pull request.

License

This theme and the framework that made it possible are released under the MIT License. Check the original framework license for additional licensing information.

Thanks

Thanks to Steve Francia for creating Hugo and the awesome community around the project. And also thanks to BcRikko for creating this awesome nostalgic framework.

hugo-mythalcorp-theme's People

Contributors

miguelsimoni avatar mythalcorp avatar zo0o0ot 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.