Build with npm run build. Serve contents of dist folder.
To run a development server, run npm run dev and open your browser to localhost:8080.
Set configuration settings in site.js.
sitename- The name of the sitedescription- The description of the site
collections- An array of category names to organize blog articles
The content of the index page will be generated from src/index.md. An index of articles will be displayed below
this content.
Files placed in src/fonts, src/images, or src/extra will be copied with their parent directories to directories
of the same name in dist/
Articles should be placed in src/blog.
Each article needs frontmatter like:
---
title: "Hello World"
date: 2016-10-12
collection: instructional
new: true
---
titleis the title of the article.dateis the date that will be published for that article and used for sorting.collection(optional) is the category to organize the blog. The category must be one of the categories specified in thecollectionsconfiguration setting orportfolio.new(optional, default: false) is a boolean flag to designate whether the article is "new".portfolioTitle(optional) is the title used on the portfolio page (requiresportfoliocategory)portfolioDescription(optional) is the descrption used on the portfolio page (requiresportfoliocategory)portfolioImage(optional) is the background image used on the portfolio page (requiresportfoliocategory)portfolioColor(optional) is the background color (of form "#cccccc") used on the portfolio page if noportfolioImageprovided (requiresportfoliocategory)