This repo contains the blog subsite for Lando.
If you have a question or would like some community support we recommend you join us on Slack. Note that this is the Slack community for Lando but we are more than happy to help with this module as well!
If you'd like to report a bug or submit a feature request then please use the issue queue in this repo.
We try to log all changes big and small in both THE CHANGELOG and the release notes.
To post content create a markdown file in the content
directory. Ideally, you should name the file using the format YYYY-MM-DD-slug-about-content.md
where YYYY-MM-DD
corresponds to the publish date of the content.
In order to be treated like a blog post
your markdown file must contain the following frontmatter:
---
title: "Making A Blog Post: It's sort of like a guide but it's sort of not like a guide"
byline: Blog posts are free form articles that may or may not be techincal in nature. They differ slightly from guides primarily in their presentation and authorship.
blog: true
---
Also note that you can use all of the markdown containers available over here.
- Requires Node 14+
- Prefers Yarn
- Prefers a GitHub Personal Access Token, needed if you are hitting the GitHub API rate limit while developing locally
- Alternatively you can also use Lando
git clone https://github.com/lando/blog.git && cd blog
# Install deps
yarn | npm install
# Launch dev site
DEBUG="@lando/*" yarn dev
# Set a GitHub personal access token to avoid rate limiting
GITHUB_TOKEN=MY_TOKEN DEBUG="@lando/*" yarn dev
# Lint
yarn lint
# Build site
DEBUG="@lando/*" yarn build
# Install deps
lando start
# Launch dev site
lando dev
# Lint
lando yarn lint
# Build site
lando yarn build
yarn release
Made with contributors-img.
- Important advice
- Other stuff