diff --git a/content/blog/2018-06-01-old-blog-example.md b/content/blog/2018-06-01-old-blog-example.md new file mode 100644 index 0000000..0307d36 --- /dev/null +++ b/content/blog/2018-06-01-old-blog-example.md @@ -0,0 +1,10 @@ +--- +title: Old +description: 2018-01-01 +menu: blog_2018 +weight: 999 +--- + +# Title + +coming...... \ No newline at end of file diff --git a/content/blog/2018-06-03-new-blog-example.md b/content/blog/2018-06-03-new-blog-example.md new file mode 100644 index 0000000..f06bb9c --- /dev/null +++ b/content/blog/2018-06-03-new-blog-example.md @@ -0,0 +1,10 @@ +--- +title: New +description: 2018-06-11 +menu: blog_2018 +weight: 998 +--- + +# Title + +coming...... \ No newline at end of file diff --git a/content/blog/_index.md b/content/blog/_index.md new file mode 100644 index 0000000..7bbffe7 --- /dev/null +++ b/content/blog/_index.md @@ -0,0 +1,10 @@ +--- +title: Blog +description: Happy journey with Actix +menu: + blog_intro: + name: Welcome +weight: 1 +--- + +Welcome to Actix blogs. \ No newline at end of file diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html new file mode 100644 index 0000000..a7bcfbb --- /dev/null +++ b/layouts/blog/baseof.html @@ -0,0 +1,60 @@ +{{ partial "header" . }} +{{ $currentURL := .URL }} + +
{{ .Description }}
+ {{ end }} +