diff --git a/config.toml b/config.toml index d95fbf887..70f6486f9 100644 --- a/config.toml +++ b/config.toml @@ -35,8 +35,12 @@ pygmentsStyle = "tango" weight = -100 url = "/docs/" [[menu.main]] - name = "GitHub" + name = "Blog" weight = -99 + url = "/blog/" +[[menu.main]] + name = "GitHub" + weight = -98 url = "https://github.com/google/gvisor" # First one is picked as the Twitter card image if not set on page. diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 000000000..69601bdc7 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,4 @@ +--- +title: "gVisor Blog" +linkTitle: "Blog" +--- diff --git a/content/blog/first-post/index.md b/content/blog/first-post/index.md new file mode 100644 index 000000000..1af506e8e --- /dev/null +++ b/content/blog/first-post/index.md @@ -0,0 +1,9 @@ +--- +date: 2019-10-17 +title: "First Blog Post" +linkTitle: "First Blog Post" +description: "" +author: John Doe +--- + +This is a test blog post. diff --git a/content/blog/second-post/index.md b/content/blog/second-post/index.md new file mode 100644 index 000000000..f086c69e2 --- /dev/null +++ b/content/blog/second-post/index.md @@ -0,0 +1,9 @@ +--- +date: 2019-10-18 +title: "Second Blog Post" +linkTitle: "Second Blog Post" +description: "" +author: John Doe +--- + +This is a second test blog post. diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html new file mode 100644 index 000000000..21af06116 --- /dev/null +++ b/layouts/blog/baseof.html @@ -0,0 +1,32 @@ + + +
+ {{ partial "head.html" . }} +