npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-theme-minidyne

v4.0.3

Published

Hexo theme minidyne

Downloads

221

Readme

[!WARNING] V4 is a work in progress. Don't install / use until ready :)

Welcome to Minidyne, a minimalist hexo theme

Screenshot of this site

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

NPM version

This is V4. For V3 of this theme, head over to V3. For V2 of this theme, head over to 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
  • ejs HTML templates
  • Raw CSS. Use PostCss to build a single CSS
  • 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, Mastodon, Github, Flickr 📰)
  • Rss Icon (can be disabled)

External libraries used

Installation

Install the theme

Install the theme by using:

npm i hexo-theme-mindyne --save

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-feed": "^3.0.0",
    "hexo-generator-index": "^3.0.0",
    "hexo-generator-tag": "^2.0.0",
    "hexo-renderer-ejs": "^2.0.0",
    "hexo-renderer-postcss": "^X.X.0",
    "postcss-imports": "^X.X.0"
  }

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 the main _config.yml under the config key theme_config:

theme_config:
  default_post_title: "Untitled"
  # Header
  menu:
    Home: /
    About: /about.html
  
  # Index banner text
  index_banner_text: Welcome to Minidyne

  # Logo
  index_icon: ❤️

  default_post_title: "Untitled"

  default_post_icon: 🧙

  # Social Media Platforms, also used for comments
  social_platforms:
    - url: https://stackoverflow.com/users/12345/johndoe
      icon: stackoverflow
      name: Stack Overflow
    - 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
    - url: https://www.flickr.com/photos/johndoe/
      icon: flickr
      type: flickr
      name: Flickr
    - url: https://mastodon.social/@johndoe
      icon: mastodon
      type: mastodon
      name: Mastodon
    - url: /rss2.xml
      icon: rss
      type: rss
      name: Rss
  • menu: The object key is the label and the value is the path.
  • index_banner_text The title appears on the home page.
  • index_icon The icon should be an emoji. Pick one from https://emojipedia.org/
  • default_post_title The default post title (used when no title is specified).
  • default_post_icon The default post icon (used when no icon is specified) is configured in the main _config.yml.
  • social_platforms 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. They are used for sharing comments on your posts. Some need more properties than others

Note

The devDependency in package.json is just here to know when there is an update for Tachyons

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