Sign inSign up

hongxiaolu/website

By hongxiaolu

•Updated about 5 years ago

Image
0

10K+

hongxiaolu/website repository overview

⁠Rancher Website

⁠Running for development/editing

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

⁠Contributing to the blog

⁠If you are using the command line to contribute

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

  1. Post your markdown files here⁠ in the relevant year folder.

Prefix your markdown file name with the date created. YYYY-MM-DD-blog-post-name.md

  1. 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

Images can be filed here⁠.

⁠Author Bios

Author bios can be confirmed and added here⁠.

⁠Branches

Please use branches and submit pull requests against master

⁠Calls to Action

All cta's can be found in the data folder for ctas⁠

⁠inline within the content

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" %}}

⁠right aligned

Define the cta in the front matter by passing the cta's name (same as the data file's name): cta: technical-architecture

Tag summary

Content type

Image

Digest

Size

3.3 GB

Last updated

about 5 years ago

docker pull hongxiaolu/website:file-download