Skip to content

tomap/hexo-theme-minidyne

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Welcome to Minidyne, a minimalist hexo theme

Screenshot of this site

Live Demo on Netlify (Source for the demo on Github)

This is V2. For V1 of this theme, head over to V1

Features Overview

  • Responsive
  • Tags Support
  • Accessible colors (at least the default one)
  • Responsive Images
  • Social Accounts configuration
  • Pages
  • Stylus CSS preprocessor
  • ejs HTML templates
  • Standalone (single css file, no external file) πŸ₯Š
  • Static (no js, one single css) 🍊
  • Emoji Icons for blog posts ✨
  • SVG for social icons (Twitter, StackOverflow, LinkedIn πŸ“°)

External libraries used

Installation

Install the theme

Install the theme by using:

git clone https://github.com/tomap/hexo-theme-mindyne themes/minidyne

Then update your blog's main _config.yml to set the theme to minidyne:

i.e:

theme: minidyne

You'll also need the following hexo plugins for this theme to work. Add them in the package.json (they should already be there, but just in case):

"dependencies": {
    "hexo-generator-index": "^0.2.1",
    "hexo-generator-tag": "^0.2.0",
    "hexo-renderer-ejs": "^0.3.1",
    "hexo-renderer-stylus": "^0.3.3"
  }

Limitations

This theme does not handle

  • Categories (so you can drop the default dependency to "hexo-generator-category" )
  • Archives (so you can drop the default dependency to "hexo-generator-archive". If you want archives, head over to V1)
  • Images gallery
  • Pagination (if you want pagination, head over to V1 branch)

Post Configuration

Each post supports the standard title, date, tags.

Post Icon

On top of that, you can specify an icon (ascii/unicode emoji):

Example:

title: Welcome to Minidyne
tags: ["ThisIsATag", "Intro", "Welcome", "Minidyne"]
icon: 🀝
---

Pick one from https://emojipedia.org/

Theme Configuration

The theme's global configuration is done in /themes/minidyne/_config.yml.

Menu

The menu is configured in the theme's _config.yml or in the root _config.yml.

# Header
menu:
  Home: /
  About: /about.html

The object key is the label and the value is the path.

Blog's home page

The blog's icon & title is configured in the theme's _config.yml.

The icon should be an emoji. Pick one from https://emojipedia.org/

# Index Page
index_banner_text: Welcome to Minidyne

# Logo
index_icon: ❀️

Default post title

The default post title (used when no title is specified) is configured in the theme's translation file in /themes/minidyne/languages.

default_post_title: "Untitled"

Default post icon

The default post icon (used when no icon is specified) is configured in the theme's _config.yml.

default_post_icon: πŸ§™

Social Account

Setup the links to your social pages in the theme's _config.yml as an array of objects. Links are in the footer.

Example:

# Social Media Platforms, also used for comments
social_platforms:
  - url: https://stackoverflow.com/users/12345/johndoe
    icon: stackoverflow
  - url: https://github.com/johndoe/
    icon: github
    type: github
    name: GitHub
    repository: johndoe.blog
  - url: https://linkedin.com/in/johndoe
    icon: linkedin
    type: linkedin
    name: LinkedIn
  - url: https://twitter.com/johndoe
    icon: twitter
    type: twitter
    name: Twitter
    account: johndoe

They are used for sharing comments on your posts. Some need more properties than others

Creator

This theme was created by Thomas Piart initially based upon (Anodyne Theme)(https://github.com/klugjo/hexo-theme-anodyne) by Jonathan Klughertz and also influenced by other minimalist approaches like mnmlist.

Bugs

If you have a question, feature request or a bug you need me to fix, please file an issue.

License

MIT

About

Minidyne, a minimalist hexo theme

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors