Coder Social home page Coder Social logo

robinsonraju / hugo-theme-diary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amazingrise/hugo-theme-diary

0.0 1.0 0.0 4.51 MB

Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.

License: MIT License

HTML 44.50% JavaScript 14.43% SCSS 41.07%

hugo-theme-diary's Introduction

hugo-theme-diary

隻言片語・於此匯聚

Moments piled up.

A Hugo theme ported from SumiMakito/hexo-theme-Journal.

Links

Some useful links here:

Live Demo

Intro Video

Changelog (Progress and TODO List)

Project Wiki

Original Author: SumiMakito

Features

Features in the ori.:

  • Simple and easy to customize
  • Concentrated on reading and writing (find a Markdown editor then) experience
  • Mobile-friendly & widescreen-friendly
  • Flexible commenting control

Features in this ported version:

  • Add Gitalk and Valine intergration.
  • Customizable color scheme. (Some bug in original version, fixed.)
  • Firefox-friendly. (CSS issue in original version, fixed.)
  • featured_image url bug is fixed.
  • Table of Contents with scroll spy and auto collapse.
  • Dark mode.
  • MathJax support. (Needs to be enabled manually, see the project wiki for details.)
  • Google Custom Search Engine support.
  • Internationalization(i18n) support, with English, French and Chinese(Simplified and Traditional).
  • Inserting figures more easily, see wiki for details.

Quick Start

If your website is using Git as version control, please do as follows:

  1. Fetch the theme dir.

From the root of your Hugo site, open the terminal and execute:

git submodule add https://github.com/AmazingRise/hugo-theme-diary.git themes/diary
  1. Update git repository.

Then update the git repository from the root of your site:

git submodule update --remote --merge
  1. Run example site.

From the root of themes/diary/exampleSite:

hugo server --themesDir ../..

Personalization

Example config

See /exampleSite/config.toml

Customization

Please visit the project wiki for more details.

Settings of Table of Contents

Disable Dark Mode

Enable MathJax

Add or disable comment area

Add Google Search Box on your site

Customizations

Taxonomies and Sections (Archive, Categories and Tags)

RSS Feed

Meta Data of posts

Enable Reading Time

Internationalization

Comparison

For details about the difference lies in the new version, please click here.

Screenshots

Site Main Page

An essay with picture.

Table of Contents with scroll spy.

Mobile View: Main Page

Mobile View: Drawer

hugo-theme-diary's People

Contributors

amazingrise avatar byvoid avatar deviousasti avatar jordan-dlh avatar robinsonraju avatar thebestwj 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.