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-sb

v1.0.17

Published

Clean and simple theme for Hexo blog framework

Downloads

184

Readme

hexo-theme-sb

Hexo Theme SB Clean and simple theme for Hexo blog framework.

Official website: https://sbtheme.silvestarbistrovic.from.hr Used on: https://www.silvestarbistrovic.from.hr

Installation

Npm installation:

npm i -S hexo-helper-inline-svg hexo-render-pug hexo-theme-sb

Yarn installation:

yarn add hexo-helper-inline-svg hexo-render-pug hexo-theme-sb

This will install SB theme in both ./node_modules/hexo-theme-sb/ and ./themes/hexo-theme-sb/ folders.

Initialization

Update the config file to start using SB theme:

theme: hexo-theme-sb

Check that your .gitignore file contains /node_modules/ rule.

For better Hexo performance, you could add the following line to your config file:

ignore:
  - '**/themes/**/*(node_modules|lib)' # improve performance while `hexo server` is running

Configuration

There is already a config file in SB theme, but it is commented. Here is the file with every possible option:

# General section
site:
  full_name: SB - Silvestar's personal website
  short_name: SB
  description: Silvestar is a fearless web developer eager to prove his worth
  logo: /gfx/svg/logo.svg
  language: en

# Menu section
menu:
  centered: true
  display_logo: true
  items:
    Home: /
    Blog: /categories/articles
    Portfolio: /portfolio
    About: /about-me

# Homepage section
home_page:
  - section:
    title: Silvestar Bistrović
    paragraphs:
     - Fearless web developer
  - section:
    title: Specializations
    paragraphs:
      - Frontend
      - User Interface
      - Wordpress
      - Web Optimization
  - section:
    title: Projects
    links:
      Starter Project: //starter-project.silvestarbistrovic.from.hr
      Hexo Theme SB: //sbtheme.silvestarbistrovic.from.hr
      Contiamo: //www.contiamo.com
      Irina and Matej: //irinaandmatej.com
  - section:
    title: Links
    links:
      Mail: mailto:[email protected]?Subject=Hello
      Twitter: //twitter.com/malimirkeccita
      Github: //github.com/maliMirkec

# Open Graph section
open_graph:
  pretty_url: true
  image: /gfx/jpg/SB-big.jpg
  fb:
    fb_id: 340933169673372
    fb_admins: malimirkeccita
  twitter:
    twitter_id: malimirkeccita
  google_plus:
    google_plus_id: +SilvestarbistrovicFromHr

# Widgets
widgets:
  contact:
    mail: mailto:[email protected]?Subject=Hello
    twitter: //twitter.com/malimirkeccita
    linkedin: //www.linkedin.com/in/starbist/
    facebook: //www.facebook.com/silvestarbistrovic.from.hr/
    medium: //medium.com/@malimirkeccita
    github: //github.com/maliMirkec
    codepen: //codepen.io/CiTA/
    lastfm: //www.last.fm/user/maliMirkec
  google_analytics:
    tracking_id: UA-12345678-9
  disqus:
    shortname: silvestarbistrovic
  sharing:
    twitter: malimirkeccita
    facebook: silvestarbistrovic.from.hr

Advanced

This theme follows the latest best practices. This is achieved by using Starter Project. Everything is already set up for you, but you could configure the theme by updating ./themes/hexo-theme-sb/config.json file.

For example, if you want to generate new Critical CSS file, you should update penthouse.criticalCssConfigs.url option and set it according to your Hexo configuration.

After this, run gulp command inside ./themes/hexo-theme-sb/ folder.

It is important that your website is running.

Support

If you need any help, please feel free to contact me.

If you're having issues, please search for issues or open a new one.