Skip to content

A Simple Blog Example for Harp with basic pagination, rss feed, and syntax highlighting

License

Notifications You must be signed in to change notification settings

handerson/harp-blog-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Blog Example for Harp

  • This is site is compiled using harp
  • prism for syntax highlighting
  • pico.css for styling.
  • rss feed
  • prev/next post basic pagination
  • index shows 3 newest posts
  • posts/index shows list of all posts

Get started

run harp _harp to start local server

run harp _harp _build to build

Demo

View repo example compiled and deployed to github pages

How to deploy to Github pages

build

harp _harp ./

move files to the gh-pages branch

git add . && git stash && git checkout gh-pages && git rm -rf . && git stash pop && git checkout main .gitignore

push to github

git add -A && git commit -m "new build" && git push

About

A Simple Blog Example for Harp with basic pagination, rss feed, and syntax highlighting

Resources

License

Stars

Watchers

Forks