Skip to content

jldec/cloudflare-pages-test

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

cloudflare-pages-test

Copy of the (private) source repo for jldec.me.
Contains markdown blog content to generate a static site using pub-server.

auto-deploy on push

build environment

see pub-config.js

  • DOMAIN : for site name and fully qualified urls, e.g. in sitemap.xml.
  • PREVIEW : if set, also add (preview) to the site name.

to edit content

Clone https://github.com/jldec/cloudflare-pages-test, then

npm install

To preview at http://localhost:3001/ while you edit the markdown (using any editor).

npm start

The browser preview will auto-reload whenever you save a file.

To generate a new set of html and copy static files into ./out.

npm run generate

To preview the generated static output at http://localhost:3001/

npm run preview