Giter VIP home page Giter VIP logo

hugo-cats-studio's Introduction

Hugo CATS Studio

Screenshot

A simple and minimal Hugo theme.

Installation

$ git submodule add https://github.com/cats-oss/hugo-cats-studio.git themes/cats-studio

config.yaml

theme: 'cats-studio'

Setup

Authors

You should register authors as a taxonomy in your project's config.yaml.

taxonomies:
  author: authors

Create authors

Create a filed called layouts/authors/<name>/_index.md and fill in the following content.

---
name: wadackel
bio: Web Frontend Developer in Japan.
icon: 'https://pbs.twimg.com/profile_images/781853456365592579/JfeS-9ZF_400x400.jpg'
github: 'https://github.com/wadackel'
twitter: 'https://twitter.com/wadackel'
---

Assign author in your post

Add authors field to content/post/your-post.md.

---
title: Example post
authors: ['wadackel']
---

Example config

baseURL: 'https://example.com'
theme: 'hugo-cats-studio'
title: BLOG TITLE
params:
  logo:
    src: /images/logo.png
    alt: Alternative text content
    width: 48
    height: 48
  subtitle: |
    Text content under title 1
    Text content under title 2
    Text content under title 3
  github: https://github.com/cats-oss
googleAnalytics: G-0000000000
hasCJKLanguage: true
paginate: 10
taxonomies:
  author: authors

Development

TODO: Documentation

Watch assets flies

$ npm run watch

Development Server

$ cd exampleSite
$ make watch

License

MIT License © CyberAgent, Inc.

hugo-cats-studio's People

Contributors

wadackel avatar wasabeef avatar

Stargazers

 avatar

Watchers

 avatar  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.