Code Monkey home page Code Monkey logo

hugo-base-theme's Introduction

Hugo base theme

Hugo theme based on the gohugo website

Installation

Navigate to your site folder and run the following commands :

$ mkdir themes
$ cd themes
$ git clone https://github.com/crakjie/hugo-base-theme.git

How to use

  • Place a image in static/img/ and update mainIcon in config.toml
  • You can change the header image by adding a new image in the static/img/ folder of the theme
  • Create posts to display your services. Use the follow as an example:

post

+++
date = 2014-10-13T20:07:19Z
draft = true
title = "First"
description = "Ceci est mon premier post \n bla bla bla"
weight = 1
icon = "pacman"
+++

Hello first post

carousel

Create a carousel.md file in /content/carousel

+++
date = 2014-10-13T19:54:21Z
draft = true
title = "About"
weight = 5
icon = "circlestar"
[[carousel]]
  quote = "First quote"
  author  ="John Do"
  url = ""
  quote_date = "13 August"
[[carousel]]
  quote = "Second quote"
  author  ="Nhoj Od"
  url = ""
  quote_date = "14 August"
+++

Demo

View gohugo.io theme in action here View audrey-carpentras.com in action here

#Have a look, Have a try

git clone https://github.com/crakjie/hugo-base-theme.git
cd hugo-base-theme/exampleSite
hugo server -t hugo-base-theme

===

Work also with YAML header

For more Hugo details, read documentation.

Config

Example of config.toml file:

baseurl = "https://www.example.com"
languageCode = "fr-fr"
title = "my new web site"
[params]
  description = "I <3 making web site"
  mainIcon = "/img/hugo.png"

[[params.social]]
    title = "twitter"
    url = "https://twitter.com/SBootstrap"
[[params.social]]
    title = "github"
    url = "https://github.com/IronSummitMedia/startbootstrap"
[[params.social]]
    title = "linkedin"
    url = ""

hugo-base-theme's People

Contributors

bep avatar crakjie avatar digitalcraftsman avatar jdcaperon avatar johnblood avatar michael-k avatar nii236 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hugo-base-theme's Issues

CSS, image links don't obey subURLs

If I set my base URL to www.domain.com/someURL/, all hell breaks loose! CSS styles and images can not load because they're expecting everything to be located at www.domain.com, not www.domain.com/someURL/.

How do I change header image?

I'm working on a landing page and I found your theme very useful. However, I'm having trouble figuring out how to change the header image on the top of the page (the picture with the laptop). How do I do that? I have limited knowledge of html and css. Thanks.

Icons not rendering

The icons for .icon-github, .icon-linkedin and .icon-twitter are not loading correctly. It is just loading A, box and K instead of the icons. Is there a way to fix this?

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.