GithubHelp home page GithubHelp logo

agiantwhale / cocoa-hugo-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nishanths/cocoa-hugo-theme

0.0 1.0 0.0 3.66 MB

Configurable, responsive blogging theme for Hugo

Home Page: https://themes.gohugo.io/theme/cocoa/

License: MIT License

Makefile 0.34% CSS 72.47% HTML 27.19%

cocoa-hugo-theme's Introduction

Cocoa

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!

If you're contributing CSS changes, please see the README at dev/.

License

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

cocoa-hugo-theme's People

Contributors

alexzeitler avatar anapaulagomes avatar andy4thehuynh avatar bep avatar bnjmn avatar christarazi avatar crodjer avatar danielsiwiec avatar esherkunov avatar felixlinker avatar gchp avatar haruair avatar hrafven avatar irus avatar li-kai avatar lpancescu avatar michaelmoussa avatar mikoim avatar mvrilo avatar nishanths avatar oboukli avatar phxql avatar pingrunhuang avatar rahiel avatar remeh avatar robinst avatar saifulbkhan avatar scriptnull avatar singhkays avatar vkobel avatar

Watchers

 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.