Skip to content
View blogmops's full-sized avatar
🌴
On vacation
🌴
On vacation
Block or Report

Block or report blogmops

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
blogmops/README.md

Website GitHub issues build GitHub last commit

blogmops OSSAR CodeQL Known Vulnerabilities

Codiga CodeFactor CodeBeat

Version GitHub code size in bytes


🧾 blogmops wiki

Simple markdown (*.md) powered blog posts with Sapper and Svelte.

🧷 Hompage

✨ Getting started

To run cypress locally follow the setup instructions! Then open terminal run:

Installation

$ › git clone https://github.com/blogmops/blogmops
$ › cd blogmops
$ › yarn install

Development

$ › yarn run dev

Preview

$ › yarn run build
$ › yarn run start

Production

$ › yarn run export
$ › npx serve __sapper__/export

Open up localhost:3000 and start clicking around. Consult sapper.svelte.dev for help getting started.

🏗 Structure

The base structure of this template is the same as Sapper's default template. These are some of the new things you'll find here:

src/routes/blog

This is the home of your blog. The most important file in here is [slug].svelte, which this is template of your blog post page.

contents/

This is where your markdown posts live in. All .md files in this directory are treated as blog posts and will be parsed automatically.

  • The markdown file name becomes the post slug. For example mypost.md becomes http://localhost:3000/blog/mypost.
  • Everything between the start of the post and the <!-- more --> tag becomes the article's "excerpt".
  • Frontmatter properties supported are title and date.

🚀 Deploy

Fork and import this repo on vercel.com.

🐛 Bugs and feedback

Sapper is in early development, and may have the odd rough edge here and there. Please be vocal over on the Sapper issue tracker.

Pinned Loading

  1. blogmops blogmops Public

    A blog for a pug

    Svelte 3 1