All Projects → mikeblum → hugo-now

mikeblum / hugo-now

Licence: MIT license
a Hugo port of Jekyll Now

Programming Languages

CSS
56736 projects
HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to hugo-now

Hugo Theme Even
🚀 A super concise theme for Hugo https://hugo-theme-even.netlify.app
Stars: ✭ 1,351 (+8343.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Aether
A responsive and clean Hugo theme for blogs
Stars: ✭ 136 (+750%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Primer
Hugo theme based on GitHub's Primer CSS
Stars: ✭ 103 (+543.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
hugo-theme-fluency
A fluent hugo theme.
Stars: ✭ 48 (+200%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Theme Pure
A pure theme for Hugo
Stars: ✭ 198 (+1137.5%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Vitae
Vitae is a blog theme for Hugo that focuses on your content.
Stars: ✭ 81 (+406.25%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
liva-hugo
Liva is a personal blog template powered by Hugo.
Stars: ✭ 192 (+1100%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Blog Jeffprod
A free blog theme for HUGO (https://gohugo.io/), with tags, archives, last posts...
Stars: ✭ 47 (+193.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
twenty-twenty-hugo
Twenty Twenty Hugo is forked from WordPress Twenty Twenty theme. It's fully functional like the WordPress theme.
Stars: ✭ 48 (+200%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Allinone
All in one Hugo theme
Stars: ✭ 155 (+868.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
hugo-theme-minima
A clean and minimal Hugo theme.
Stars: ✭ 70 (+337.5%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
restaurant-hugo
The restaurant is a creative and responsive restaurant website theme in Hugo environment. It is very well decorated theme which will make your website building easier.
Stars: ✭ 50 (+212.5%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Loveit
❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
Stars: ✭ 1,060 (+6525%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Pulp
Pulp is a Hugo theme for getting a simple, easy-to-read blog site.
Stars: ✭ 95 (+493.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Erblog
A Hugo theme created by ertuil.
Stars: ✭ 49 (+206.25%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Casper Two
Port of Casper 2.x to Hugo
Stars: ✭ 135 (+743.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Theme Introduction
Minimal, single page, smooth-scrolling theme for Hugo static site generator.
Stars: ✭ 441 (+2656.25%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Theme Jane
A readable & concise theme for Hugo
Stars: ✭ 669 (+4081.25%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Keepit
The most powerful minimal Hugo theme.
Stars: ✭ 151 (+843.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme
Hugo Eureka
Eureka is a feature-rich and highly customizable Hugo theme.
Stars: ✭ 239 (+1393.75%)
Mutual labels:  hugo-theme, hugo, hugo-blog-theme

Hugo Now

Powered By Hugo

A Hugo port of Jekyll Now. The Hugo implementation is inspired by Hemingway.

Screenshots

Home Page

home page


Posts

post


Dashboard

dashboard


Projects

dashboard


Table of Contents

table of contents


Features

bootstrap 4

Bootstrap V4

Update from Bootstrap 3 to 4

font awesome logo

Font Awesome

Latest Font Awesome icons

no javascript

Progressive Enhancement

Disabling Javascript should retain the same experience.

sass

Powerful Styling

Using the power of SASS to power our build pipeline. All major dependencies have .scss support.

gulp

Modern Build Pipeline

Without Jekyll's Asset pipeline, a Hugo theme needs a build system. I opted for gulp.js

Emoji 😎

Support for emojis found here: Emoji Cheatsheet

Available for:

  • tags

  • titles

  • posts / .Content

pygments

Syntax Highlighting

Rather then using a JS library like hightlight.js I opt for server-side rendering with Pygments to keep in line with progressive enhamcements. Here is Hugo's opinion on the matter:

The advantage of server side is that it doesn’t depend on a JavaScript library and consequently works very well when read from an RSS feed.

I would argue site usability / robustness far out weighs build times.

google analytics

Google Analytics

Configure Google Analytics with `GoogleAnalytics`

Table of Contents

Headings are resolved into a styleable Table of Contents

Enabled via toc in your front matter:

toc: true
  • true = show table of contents
  • false = hide table of contents

Install

Hugo Module - Preferred

Add Hugo Now as a Module:

# pygments
PygmentsCodeFences = true
PygmentsStyle = "pygments"

[module]
  [[module.imports]]
    path = "github.com/mikeblum/hugo-now"

Update to the latest version:

hugo mod get -u github.com/mikeblum/hugo-now

Git Submodule

Add Hugo Now as a submodule:

git submodule add [email protected]:mikeblum/hugo-now.git themes/hugo-now

Your .gitmodules should now contain:

[submodule "themes/hugo-now"]
	path = themes/hugo-now
	url = [email protected]:mikeblum/hugo-now.git

Remember to commit your .gitmodules

Configure

config.toml

baseurl = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"

# use latest
[module]
  [[module.imports]]
    path = "github.com/mikeblum/hugo-now"

# or use local fork at themes/hugo-now
[module]
  replacements = "github.com/mikeblum/hugo-now -> ../.."
  [[module.imports]]
    path = "github.com/mikeblum/hugo-now"



# google analytics
GoogleAnalytics = "UA-XXXXXX"

[taxonomies]
  category = "categories"
  tag = "tags"

[params]
  description = "Hugo port of Jekyll Now"
  author = "Hugo Now"
  keywords = ["hugo-now", "hugo"]
  avatar = "/images/hugo.png"
  displayauthor = false
  # pygments
  PygmentsUseClasses = true
  PygmentsCodeFences = true
  # pagination
  paginate = 10
  paginatePath = "page"

Content

  • Use SVG rather than PNG / JPG
    • they style better and take less bandwidth
  • Pygments styles use SASS
    • PygmentsStyle is configured by changing the sass/style.scss
    • Defaults to default Pygments style - see Pygments Styles

Build

Hugo

hugo server

You can go to localhost:1313 and this theme should be visible.

SASS

Build SASS updates by downloading Dart SASS

Development

sass sass/style.scss static/css/style.css

Production

sass sass/style.scss static/css/style.css --style compressed

Set the HUGO_ENV variable to production to use the minified CSS.

License

Hugo Now is licensed under the MIT License.

Author

Michael Blum

Credits

is based on Hemingway created by Asuka Suzuki.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].