Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hopin/hugo-styleguide

Package Overview
Dependencies
Maintainers
2
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hopin/hugo-styleguide

This repo contains a theme and content to generate a styleguide for hugo themes

  • 0.0.206
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Hopin Styleguide Hugo Theme

Build and Test Publish

This repo contains a theme to use with hopin-styleguide-content..

Installing

Step 1: Install via NPM

npm install --save @hopin/hugo-styleguide

Step 2: Use via Gulp

const hopinstyleguide = require('@hopin/hugo-styleguide');

gulp.task('styleguide-theme', () => {
  return hopinstyleguide.copyTheme(path.join(__dirname, `themes`, 'hopin-styleguide'));
})

gulp.task('styleguide-content', () => {
  return hopinstyleguide.copyContent(path.join(__dirname, `content`, 'styleguide'));
})

Step 3: Add to Config

Then add the hopin-styleguide to your sites config:

{
    "baseURL": "...",
    "languageCode": "...",
    "title": "...",
    "publishDir": ".public",

    "theme": ["...", "hopin-styleguide"],
}

Step 4: Add parameters

There are a few optional parameters you will might want to set in your site config:

{
    "params": {
        "styleguideSection": "styleguide"
    }
}

FAQs

Package last updated on 21 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc