Giter VIP home page Giter VIP logo

hugo-theme-candy's Introduction

candy

A minimalist Hugo theme focused on readability and simplicity. It is currently powering hugomartins.io.

Requirements

  • Hugo v0.59

Features

  • Great readability with Alegreya and Source Sans Pro.
  • Code highlighting via pygments, with some customization.
  • Responsive, works on smaller screens.
  • Integration with Plausible Analytics.
  • List of popular essays based on a custom "popular" field in the front matter.

Installation

$ cd themes/
$ git clone https://github.com/caramelomartins/candy.git

You can find an example config.yaml inside exampleSite.

Content

Static

You can use static pages at the root of content/. If you wish to create a small introduction on the homepage, you can use _index.md at the root of content/. As per Hugo's templating order, it will be loaded as the body content for the root of the website.

Dynamic

Essays

essays are the default dynamic content, representing articles, blog posts, etc. You can add a _index.md to add a custom introduction to the list of essays page, similar to the homepage. These have specific layouts applied to them.

Other

You should be able to add more dynamic content under different archetypes and folders, the theme will collect that content and create default single and list pages for that content.

Archetypes

Currently there's two archetypes:

  • default.md, which will be used for any page other than an essay;
  • essay, which will be used for essays that appear in the homepage.

License

MIT

hugo-theme-candy's People

Contributors

caramelomartins avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hugo-theme-candy's Issues

Unstyled <code>

bits in text are unstyled making it harder to read and understand that it is actually code-based information.

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.