GithubHelp home page GithubHelp logo

Hugo Winston Theme

Hugo Winston is a bold minimal blogging theme.

Live Demo | Zerostatic Themes

Hugo Winston Theme screenshot

Theme features

  • Posts (Markdown)
  • Basic Page (Markdown)
  • SCSS (Hugo Pipelines)
  • Responsive design
  • 100/100 Google Lighthouse speed score
  • 100/100 Google Lighthouse SEO score
  • 100/100 Google Lighthouse accessibility score
  • Google analytics configured in config.toml
  • Configure GID using env variable HUGO_GOOGLE_ANALYTICS_ID, compatible with Netlify.
  • Title, meta description and meta tags automatically generated for every page
  • OG Meta data for Facebook and Twitter
  • Semantic HTML document structure

Installation

1. Install Hugo

To use this theme you will first need to have Hugo installed. Please follow the official installation guide

⚠️ Note: Check your Hugo version - Hugo Extended is required!

This theme uses Hugo Pipes to compile SCSS and minify assets which means if you are not using the Hugo extended version this theme will not work. To check your version of Hugo, run hugo version. Make sure you see /extended after the version number, for example Hugo Static Site Generator v0.51/extended darwin/amd64 BuildDate: unknown You do not need to use version v0.51 specifically, it just needs to have the /extended part.

2. Create a new Hugo site

This will create a fresh Hugo site in the folder mynewsite.

hugo new site mynewsite

3. Install the theme

Download or git clone this theme into the sites themes folder mynewsite/themes. You should end up with the following folder structure mynewsite/themes/hugo-winston-theme

cd mynewsite
git clone https://github.com/zerostaticthemes/hugo-winston-theme.git themes/hugo-winston-theme

4. Copy the example content

Copy the entire contents of the mynewsite/themes/hugo-winston-theme/exampleSite/ folder to root folder of your Hugo site, ie mynewsite/. To copy the files using terminal, make sure you are still in the projects root, ie the mynewsite folder.

cp -a themes/hugo-winston-theme/exampleSite/. .

6. Run Hugo

After installing the theme for the first time, generate the Hugo site.

You run this command from the root folder of your Hugo site ie mynewsite

hugo

For local development run Hugo's built-in local server.

hugo server

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

Configuration

Config options

# config.toml
[params]
  google_analytics_id = ""
  twitter_handle = "@zerostaticio"
  showAuthorOnHomepage = true
  showAuthorOnPosts = false
  showPostsOnHomepage = false
  addDot = true
  addFrame = true
  highlightColor = '#7b16ff'
  baseColor = "#ffffff"
  baseOffsetColor = "#eaeaea"
  highlightColor = "#7b16ff"
  dotColor = "#7b16ff"
  headingColor = "#1c1b1d"
  textColor = "#4e5157"

Google Analytics

Add your google analytics ID to the config.toml

# config.toml
[params]
  google_analytics_id="UA-132398315-1"

Plausible Analytics

Add your plausible analytics domain to the config.toml. This is data-domain in your tracking script code.

// config.toml
[params]
  plausible_analytics_domain = "barryhennessy.com"

Deploying to Netlify

Use Netlify to deploy this theme. This theme contains a valid and tested netlify.toml - Feel free to use the 1-click deploy below.

Deploy to Netlify

This theme includes a netlify.toml which is configured to deploy to Netlify from the exampleSite folder. See this discussion on how to deploy your site on Netlify from the exampleSite folder - https://discourse.gohugo.io/t/deploy-your-theme-to-netlify/15508

Most likely if you are deploying to Netlify and created a new Hugo site or added this theme to an existing Hugo site then you are not deploying from the exampleSite directory and you can delete the netlify.toml file.

Other Hugo Themes by Zerostatic

🇦🇺 Made in Australia by Robert Austin - leave a star mate!

Harsh Karia's Projects

campusbarter icon campusbarter

CruzHacks 2018: A web application allowing students to exchange or purchase goods and services

collect icon collect

An iOS application to simplify receipt splitting - written in Swift

currently icon currently

Broadcast your favorite spots on the internet.

goaltend icon goaltend

An API to track pros and cons of your target goals

hatespeechdata icon hatespeechdata

A train and test split for "Automated Hate Speech Detection and the Problem of Offensive Language" (Davidson et al., 2017)

ner icon ner

A Named Entity Recognition Model on CoNLL-2003 corpus using BLSTM, GloVe

pifuhd icon pifuhd

High-Resolution 3D Human Digitization from A Single Image.

pos_tagger icon pos_tagger

A Part of Speech Tagger using WSJ Corpus, Hidden Markov Models, and various decoding techniques

privacy icon privacy

Library for training machine learning models with privacy for training data

pulse-project icon pulse-project

A web application to simplify keeping track of progress at the gym

rectune icon rectune

Bring your own Recommendations (BYOR)

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.