Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

A minimal, lightweight and mobile-first starter for creating blogs uses Gatsby and pod6 markup language

License

Notifications You must be signed in to change notification settings

zag/gatsby-starter-pod6

 
 

Repository files navigation

Gatsby starter pod6

Lumen is a minimal, lightweight and mobile-first starter for creating blogs uses Gatsby.

This is a fork of gatsby-starter-lumen updated for support [pod6|https://docs.raku.org/language/pod] markup languge.

Features

  • Beautiful typography inspired by matejlatin/Gutenberg.
  • Mobile-First approach in development.
  • Sidebar menu built using a configuration block.
  • Automatic RSS generation.
  • Automatic Sitemap generation.
  • Google Analytics support.
  • Disqus Comments support.

pod6 extensions

=Image - use images in posts

Example:

=Image gatsby-astronaut.png

Video support =Video

 =for Video  :width(958) :height("539")
 = :src("https://www.youtube.com/embed/20SHvU2PKsM")
 = :title("Title of the video ")

 =for Video  :width(958) :height("539") :title("Title of the video ")
https://www.youtube.com/embed/20SHvU2PKsM

or

=Video https://www.youtube.com/embed/20SHvU2PKsM

Handle =Html

=Html
<iframe width="958" height="539" src="https://www.youtube.com/embed/20SHvU2PKsM" 
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>

=JsxImport, =Jsx - use React components

=JsxImport Test from './test.jsx'
=Jsx <Test/>

Check pub/pages/contacts.pod6 as example.

Folder Structure

├── GNUmakefile
├── LICENSE
├── README.md
├── bin
│   ├── make-rss.js
│   ├── makeNow.js
│   └── pod6js
├── config.js
....
├── pub
│   ├── pages
│   │   ├── about.pod6
│   │   ├── contacts.pod6
│   │   └── gatsby-astronaut.png
│   └── posts
│       ├── 01-post.pod6
│       └── gatsby-astronaut.png
├── pub.all
├── src
.......
├── static
....

Getting Started

Install this starter (assuming Gatsby is installed) by running from your CLI:

gatsby new gatsby-pod6 https://github.com/zag/gatsby-starter-pod6

Running in Development

gatsby develop

Building

yarn export

Deploy with Netlify

Video: Create a blog with pod6

Netlify CMS can run in any frontend web environment, but the quickest way to try it out is by running it on a pre-configured starter site with Netlify. Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete. Next, you’ll need to set up Netlify’s Identity service to authorize users to log in to the CMS.

Screenshot

About

A minimal, lightweight and mobile-first starter for creating blogs uses Gatsby and pod6 markup language

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.1%
  • SCSS 21.5%
  • CSS 12.0%
  • Makefile 2.4%