• Stars
    star
    326
  • Rank 129,027 (Top 3 %)
  • Language
    CSS
  • License
    MIT License
  • Created about 9 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Responsive Hugo blog theme (note: not actively worked on)

Cocoa

NOTE: I don't actively work on this theme now. Pull requests for bug fixes or new features are welcome however. Before working on a substantial change, please discuss it in an issue. Thanks. :)

A consistent and responsive Hugo theme with clean typography. The primary typefaces are Open Sans, Raleway, and Ubuntu Mono.

Demo / Screenshots

Features

  • Responsive
  • Suited for blogging and personal webpages
  • Disqus support
  • Built-in 404 page
  • Syntax highlighting with highlightjs (by @andy4thehuynh)
  • Gravatar/static profile image (by @remeh)
  • RSS feed and icon (by @mvrilo)
  • Optimized SVG icons (by @robinst) for Instagram, 500px, and more
  • Cache busting
  • Google Analytics
  • Piwik and Gitalk support

Most features are optional and can be individually enabled/disabled in your config.toml.

Table of Contents

Quick Start

From the root of your Hugo site, clone the theme into themes/cocoa by running:

# Clone theme into the themes/cocoa directory
$ git clone https://github.com/nishanths/cocoa-hugo-theme.git themes/cocoa

# Generate site files into the public directory
$ hugo -t cocoa

# Or, serve your site and visit localhost:1313 in your browser
$ hugo -t cocoa --watch serve

Usage

Configuration

Please see the sample config.toml. Note that if you already use cocoa but have updated to Hugo 0.18, you must lowercase every params of your existing config.toml (like in the sample).

Creating Posts

Posts should generally go under a content/blog directory. Typically you would run:

hugo new blog/your-new-post.md

For posts to appear on your site, you may need draft = false in the post's front matter or use the --buildDrafts option when building.

Creating Fixed Pages

Fixed pages such as an About page should preferably go under content/fixed or be present at the root of the content directory.

hugo new fixed/about.md

Development

This theme is built and improved upon by open source contributions. Pull requests, bug fixes, and new features are welcome!

License

Licensed under the MIT License. See the LICENSE file for more details.

More Repositories

1

zoom.js

Fork of fat/zoom.js with improvements
TypeScript
1,348
star
2

license

Command line license text generator.
Go
664
star
3

exhaustive

Check exhaustiveness of switch statements of enum-like constants in Go source code.
Go
296
star
4

go-xkcd

xkcd.com API client in Go
Go
51
star
5

lyft

Create and manage Lyft rides from the command line
Go
36
star
6

predeclared

Find declarations in Go source code that shadow predeclared identifiers
Go
28
star
7

loupe-js

Image magnifier written in TypeScript; works with touch events and supports React
TypeScript
20
star
8

slack-texts

SMS notifications for Slack groups
JavaScript
19
star
9

dedupimport

Deduplicate named and unnamed imports of the same import path in Go files
Go
18
star
10

youtube-pause-chrome

Properly pause YouTube with spacebar
JavaScript
16
star
11

YWeatherAPI

Yahoo Weather API wrapper for iOS and Mac
Objective-C
16
star
12

rust-haikunator

Rust
16
star
13

scrobble

Apple Music scrobbling with beautiful album artwork.
Go
10
star
14

what-s-playing

Firefox extension: Desktop notifications for music websites
JavaScript
7
star
15

block-urls

Firefox WebExtension to block exact URLs
JavaScript
4
star
16

QuickCal

Chrome extension: Single-click event adding to Google Calendar
JavaScript
4
star
17

nishanths.github.io

Website + writing with Jekyll (see 'source' branch for old code).
CSS
4
star
18

lyft-go

Go client for Lyft's v1 HTTP API
Go
3
star
19

metaimport

Generate HTML pages with <meta> tags for custom Go import paths
Go
3
star
20

print-instacart

Make a decent PDF of an Instacart order
TypeScript
2
star
21

redditgold

Gold features such as new comment highlighting
JavaScript
2
star
22

godoc-goos-goarch

Easily switch GOOS and GOARCH params on godoc.org
HTML
2
star
23

fullstory

Go client for the FullStory API
Go
1
star
24

albumday

β€œAlbum Birthdays!” app source code
Go
1
star
25

unusedargs

See instead: https://github.com/mvdan/unparam
Go
1
star
26

fmap

Generate a map[string][]byte of directory contents
Go
1
star
27

iterators.js

Iterators for node and the browser
JavaScript
1
star
28

spitfire-live

A real-time, personal lyrics assistant (winning project @HackTX 2015)
HTML
1
star
29

auto-browser

Automate the browser based on natural actions – Top 10 @HackTX 2014
JavaScript
1
star
30

impl

Find types that implement an interface
Go
1
star
31

chp

Common Go channel patterns implemented with type parameters.
Go
1
star