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

@mnemonicorg/gatsby-theme-archive-site

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mnemonicorg/gatsby-theme-archive-site

Mnemonic site theme

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
62
increased by287.5%
Maintainers
2
Weekly downloads
 
Created
Source

@mnemonicorg/gatsby-theme-archive-site

An extendable gatsby theme to be used as a foundation in creating Mnemonic archive sites

Getting started

For a new archive site

  1. Copy the contents of gatsby-theme-archive-site-example/
  2. Run yarn install to install core dependencies.
  3. Run yarn develop to start the development server (locahost:8000)
  4. Set configuration options (see below)
  5. Add custom content and pages

For an existing site

  1. Install the theme
yarn install @mnemonic/gatsby-theme-archive-site
  1. Add the configuration to your gatsby-config.js file
// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: "@mnemonicorg/gatsby-theme-archive-site",
      options: {
        contentPath: `${__dirname}/content/`,
        dataPath: `${__dirname}/data/`,
        // ... additional config options
      },
    },
  ],
}

Usage

Theme options

KeyTypeDefault valueDescription
actionButtonLinkstringnullA url for the primary action button in the header and footer of the archive site
colorsobject{ primary: "#ff5400", primary_transparent: "#ff54009c",light: "#ffffff", dark: "#000000", bg: "#f5f5f5" }Theme colors for the site
contentPath*stringnullContent directory path (required)
customHeaderNavItems[{ name: string, to: string }]nullAdditional dropdown items for the "About" section in the header nav bar
dataPath*stringnullData directory path (required)
mailchimpEndpointstringhttps://mnemonic.us7.list-manage.com/subscribe/post?u=dad7fb9f6b148644ffbf4a5da&id=443f12971cMailchimp url for "Subscribe now" button
socialMediaLinks[{ type: string, link: string }]nullLinks for footer social media icons
translations{ [locale_key]: { key: value }, ... }nullAdditional translation strings

Keywords

FAQs

Package last updated on 03 Aug 2022

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