Giter Club home page Giter Club logo

clear-hugo-theme's Introduction

Clear.

Clear is a minimalist monolingual Hugo theme.

Clear. license Clear. release Hugo generator

Features

(version 1.0.0)

  • SEO optimized
  • fast
  • dark mode
  • custom color
  • code highlighting
  • fast search
  • blog pagination
  • comments (see #comments)
  • dart-sass support

Preview

-> Demo demo page screenshot

Use the theme

First, add the theme to the main config file of your site (example: config.toml):

theme = "clear"

Then, either include the theme as a git submodule (preferred way):

git submodule add https://github.com/Kepler-69c/clear-hugo-theme.git themes/clear

Or alternatively, you could clone the theme:

git clone https://github.com/apvarun/blist-hugo-theme.git themes/blist

Preview the theme

There is a demo site where you can see the theme. The source for this website is in the exampleSite/ folder. If you want to preview the the theme locally, run the following commands:

  1. go to the exampleSite/ folder
  2. install all required NPM packages
npm install
  1. run Hugo
hugo serve --themesDir ../../
  1. visit http://localhost:1313/ in your browser to view the example site.

Note that for the theme to work, you need to have Hugo and dart-sass installed on your computer.

Configuring the theme

The demo site in the exampleSite/ folder contains the extendedConfig.toml file, which contains all the possible settings for the theme. Helpful comments are included.

Here you can find some of the most important settings:

  • TODO

Comments

Comments Implemented Tested
Giscus ✔︎ ✔︎
Disqus ✔︎ ✔︎
Utterances ✔︎ ✔︎

Issues

If you have an issue, please feel free to post it to help those who come after you. The more information you can provide, the better!

Contributing

Contributions, issues, and feature requests are welcome! For major changes, please open an issue first to discuss what you would like to change.


planned

(version 2.0.0)

  • dark mode for comments, fix giscus dark mode
  • multilingual mode
  • table of contents
  • codeblock copy button
  • dynamic image resizing
  • post list on homepage
  • list -> timeline
  • thumbnails in posts
  • post list as grid

clear-hugo-theme's People

Contributors

kepler-69c 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.