The rancherlabs/website:dev docker image runs a live-updating server. To run on your workstation, run:
./scripts/dev
and then navigate to http://localhost:9000/. You can customize the port by passing it as an argument:
./scripts/dev 8080
You just need to use ./scripts/new-post My Super Awesome Blog Post Title to create file in the appropriate directory with the correct namespace.
If you are using github in browser
Prefix your markdown file name with the date created. YYYY-MM-DD-blog-post-name.md
Use the front matter template:
---
title: title of post goes here and creates an h1
author: firstName-lastName
date: YYYY-MM-DD
description: ""
tags: []
categories: [blog]
#image: "/img/featured-images/"
---
Images can be filed here.
Author bios can be confirmed and added here.
Please use branches and submit pull requests against master
All cta's can be found in the data folder for ctas
Place the short code where you'd like it to show up in the content. Pass the cta's name (same as the data file's name): {{% cta-box "training" %}}
Define the cta in the front matter by passing the cta's name (same as the data file's name): cta: technical-architecture
Content type
Image
Digest
Size
3.3 GB
Last updated
about 5 years ago
docker pull hongxiaolu/website:file-download