Permalink
Browse files

Converting front matter to YAML

  • Loading branch information...
1 parent 2b90779 commit 05875153bcc56e9ee25532e9afd5a575a3e95938 @spf13 spf13 committed May 29, 2014
Showing with 625 additions and 560 deletions.
  1. +9 −7 docs/content/community/contributing.md
  2. +6 −6 docs/content/community/mailing-list.md
  3. +12 −11 docs/content/community/press.md
  4. +10 −11 docs/content/content/archetypes.md
  5. +10 −9 docs/content/content/example.md
  6. +12 −12 docs/content/content/front-matter.md
  7. +6 −6 docs/content/content/ordering.md
  8. +9 −8 docs/content/content/organization.md
  9. +7 −7 docs/content/content/sections.md
  10. +7 −7 docs/content/content/types.md
  11. +9 −9 docs/content/extras/aliases.md
  12. +7 −7 docs/content/extras/builders.md
  13. +7 −7 docs/content/extras/comments.md
  14. +6 −6 docs/content/extras/highlighting.md
  15. +6 −6 docs/content/extras/livereload.md
  16. +10 −10 docs/content/extras/menus.md
  17. +8 −8 docs/content/extras/permalinks.md
  18. +8 −7 docs/content/extras/shortcodes.md
  19. +6 −6 docs/content/extras/toc.md
  20. +8 −8 docs/content/extras/urls.md
  21. +8 −5 docs/content/meta/license.md
  22. +7 −5 docs/content/meta/release-notes.md
  23. +8 −6 docs/content/meta/roadmap.md
  24. +10 −9 docs/content/overview/configuration.md
  25. +8 −9 docs/content/overview/installing.md
  26. +6 −6 docs/content/overview/introduction.md
  27. +7 −7 docs/content/overview/quickstart.md
  28. +9 −8 docs/content/overview/source-directory.md
  29. +9 −8 docs/content/overview/usage.md
  30. +15 −11 docs/content/showcase/antzucaro.md
  31. +14 −11 docs/content/showcase/asc.md
  32. +14 −11 docs/content/showcase/chimera-art-space.md
  33. +13 −10 docs/content/showcase/cloudshark.md
  34. +14 −11 docs/content/showcase/heyitsalex.md
  35. +13 −11 docs/content/showcase/hugo.md
  36. +14 −11 docs/content/showcase/ifup.md
  37. +15 −11 docs/content/showcase/kieranhealy.md
  38. +14 −11 docs/content/showcase/spf13.md
  39. +12 −10 docs/content/showcase/techmadeplain.md
  40. +14 −11 docs/content/showcase/yslow-rules.md
  41. +9 −8 docs/content/taxonomies/displaying.md
  42. +10 −9 docs/content/taxonomies/ordering.md
  43. +12 −9 docs/content/taxonomies/overview.md
  44. +9 −8 docs/content/taxonomies/templates.md
  45. +7 −7 docs/content/taxonomies/usage.md
  46. +9 −8 docs/content/templates/404.md
  47. +9 −8 docs/content/templates/content.md
  48. +9 −8 docs/content/templates/functions.md
  49. +8 −7 docs/content/templates/go-templates.md
  50. +9 −8 docs/content/templates/homepage.md
  51. +9 −8 docs/content/templates/list.md
  52. +10 −8 docs/content/templates/overview.md
  53. +8 −7 docs/content/templates/partials.md
  54. +10 −9 docs/content/templates/rss.md
  55. +10 −9 docs/content/templates/sitemap.md
  56. +11 −8 docs/content/templates/terms.md
  57. +10 −8 docs/content/templates/variables.md
  58. +8 −7 docs/content/templates/views.md
  59. +10 −11 docs/content/themes/creation.md
  60. +10 −11 docs/content/themes/customizing.md
  61. +10 −11 docs/content/themes/installing.md
  62. +10 −11 docs/content/themes/overview.md
  63. +10 −11 docs/content/themes/usage.md
  64. +8 −8 docs/content/tutorials/github_pages_blog.md
  65. +7 −7 docs/content/tutorials/mathjax.md
  66. +6 −6 docs/content/tutorials/migrate-from-jekyll.md
@@ -1,13 +1,15 @@
---
-title: "Contributing to Hugo"
-date: "2013-07-01"
-aliases: ["/doc/contributing/", "/meta/contributing/"]
-weight: 30
+aliases:
+- /doc/contributing/
+- /meta/contributing/
+date: 2013-07-01
menu:
main:
- parent: 'community'
-prev: "/community/press"
-next: "/tutorials/github_pages_blog"
+ parent: community
+next: /tutorials/github_pages_blog
+prev: /community/press
+title: Contributing to Hugo
+weight: 30
---
All contributions to Hugo are welcome. Whether you want to scratch an itch, or simply contribute to the project. Feel free to pick something from the roadmap
@@ -1,12 +1,12 @@
---
-title: "Mailing List"
-date: "2013-07-01"
-weight: 10
+date: 2013-07-01
menu:
main:
- parent: 'community'
-prev: "/extras/urls"
-next: "/community/press"
+ parent: community
+next: /community/press
+prev: /extras/urls
+title: Mailing List
+weight: 10
---
Hugo has two mailing lists:
@@ -1,14 +1,15 @@
-+++
-title = "Press, Blogs and Media Coverage"
-date = 2014-03-24T20:00:00Z
-linktitle = "Press"
-weight = 20
-notoc = true
-prev = "/community/mailing-list"
-next = "/community/contributing"
-[menu.main]
- parent = "community"
-+++
+---
+date: 2014-03-24T20:00:00Z
+linktitle: Press
+menu:
+ main:
+ parent: community
+next: /community/contributing
+notoc: true
+prev: /community/mailing-list
+title: Press, Blogs and Media Coverage
+weight: 20
+---
Hugo has been featured in the following Blog Posts, Press and Media.
@@ -1,14 +1,13 @@
-+++
-title = "Archetypes"
-date = 2014-05-14T02:13:50Z
-weight = 50
-prev = "/content/types"
-next = "/content/ordering"
-
-[menu]
- [menu.main]
- parent = "content"
-+++
+---
+date: 2014-05-14T02:13:50Z
+menu:
+ main:
+ parent: content
+next: /content/ordering
+prev: /content/types
+title: Archetypes
+weight: 50
+---
Hugo v0.11 introduced the concept of a content builder. Using the
command: `hugo new [relative new content path]` you can start a content file
@@ -1,15 +1,16 @@
---
-title: "Example Content File"
-date: "2013-07-01"
-aliases: ["/doc/example/"]
-linktitle: "Example"
+aliases:
+- /doc/example/
+date: 2013-07-01
+linktitle: Example
menu:
- main:
- parent: 'content'
-weight: 70
+ main:
+ parent: content
+next: /themes/overview
notoc: true
-prev: '/content/ordering'
-next: '/themes/overview'
+prev: /content/ordering
+title: Example Content File
+weight: 70
---
Somethings are better shown than explained. The following is a very basic example of a content file:
@@ -1,15 +1,15 @@
-+++
-title = "Front Matter"
-date = "2013-07-01"
-aliases = ["/doc/front-matter/"]
-weight = 20
-prev = "/content/organization"
-next = "/content/sections"
-
-[menu.main]
- parent = "content"
-
-+++
+---
+aliases:
+- /doc/front-matter/
+date: 2013-07-01
+menu:
+ main:
+ parent: content
+next: /content/sections
+prev: /content/organization
+title: Front Matter
+weight: 20
+---
The front matter is one of the features that gives Hugo its strength. It enables
you to include the meta data of the content right with it. Hugo supports a few
@@ -1,13 +1,13 @@
---
-title: "Ordering Content"
-date: "2014-03-06"
-linktitle: "Ordering"
+date: 2014-03-06
+linktitle: Ordering
menu:
main:
- parent: "content"
+ parent: content
+next: /content/example
+prev: /content/archetypes
+title: Ordering Content
weight: 60
-prev: '/content/archetypes'
-next: '/content/example'
---
Hugo provides you with all the flexibility you need to organize how your content is ordered.
@@ -1,14 +1,15 @@
---
-title: "Content Organization"
-date: "2013-07-01"
-aliases: ["/doc/organization/"]
-linktitle: "Organization"
-weight: 10
+aliases:
+- /doc/organization/
+date: 2013-07-01
+linktitle: Organization
menu:
main:
- parent: 'content'
-prev: '/overview/source-directory'
-next: '/content/front-matter'
+ parent: content
+next: /content/front-matter
+prev: /overview/source-directory
+title: Content Organization
+weight: 10
---
Hugo uses markdown files with headers commonly called the front matter. Hugo
@@ -1,13 +1,13 @@
---
-title: "Sections"
-date: "2013-07-01"
+date: 2013-07-01
menu:
- main:
- parent: 'content'
-weight: 30
+ main:
+ parent: content
+next: /content/types
notoc: true
-prev: '/content/front-matter'
-next: '/content/types'
+prev: /content/front-matter
+title: Sections
+weight: 30
---
Hugo thinks that you organize your content with a purpose. The same structure
@@ -1,13 +1,13 @@
---
-title: "Content Types"
-date: "2013-07-01"
-linktitle: "Types"
+date: 2013-07-01
+linktitle: Types
menu:
- main:
- parent: 'content'
+ main:
+ parent: content
+next: /content/archetypes
+prev: /content/sections
+title: Content Types
weight: 40
-prev: '/content/sections'
-next: '/content/archetypes'
---
Hugo has full support for different types of content. A content type can have a
@@ -1,16 +1,16 @@
---
-title: "Aliases"
-date: "2013-07-09"
aliases:
- - /doc/redirects/
- - /doc/alias/
- - /doc/aliases/
-weight: 10
+- /doc/redirects/
+- /doc/alias/
+- /doc/aliases/
+date: 2013-07-09
menu:
main:
- parent: 'extras'
-prev: "/taxonomies/ordering"
-next: "/extras/builders"
+ parent: extras
+next: /extras/builders
+prev: /taxonomies/ordering
+title: Aliases
+weight: 10
---
For people migrating existing published content to Hugo theres a good chance
@@ -1,13 +1,13 @@
---
-title: "Hugo Builders"
-linktitle: "Builders"
-date: "2014-05-26"
-weight: 12
+date: 2014-05-26
+linktitle: Builders
menu:
main:
- parent: 'extras'
-prev: "/extras/aliases"
-next: "/extras/comments"
+ parent: extras
+next: /extras/comments
+prev: /extras/aliases
+title: Hugo Builders
+weight: 12
---
Hugo provides the functionality to quickly get a site, theme or page
@@ -1,13 +1,13 @@
---
-title: "Comments in Hugo"
-linktitle: "Comments"
-date: "2014-05-26"
-weight: 14
+date: 2014-05-26
+linktitle: Comments
menu:
main:
- parent: 'extras'
-prev: "/extras/builders"
-next: "/extras/livereload"
+ parent: extras
+next: /extras/livereload
+prev: /extras/builders
+title: Comments in Hugo
+weight: 14
---
As Hugo is a static site generator, the content produced is static and
@@ -1,12 +1,12 @@
---
-title: "Syntax Highlighting"
-date: "2013-07-01"
-weight: 50
+date: 2013-07-01
menu:
main:
- parent: 'extras'
-prev: "/extras/shortcodes"
-next: "/extras/toc"
+ parent: extras
+next: /extras/toc
+prev: /extras/shortcodes
+title: Syntax Highlighting
+weight: 50
---
Hugo provides the ability for you to highlight source code in two different
@@ -1,12 +1,12 @@
---
-title: "Live Reload"
-date: "2014-05-26"
-weight: 15
+date: 2014-05-26
menu:
main:
- parent: 'extras'
-prev: "/extras/comments"
-next: "/extras/menus"
+ parent: extras
+next: /extras/menus
+prev: /extras/comments
+title: Live Reload
+weight: 15
---
Hugo may not be the first static site generator to utilize live reload
@@ -1,13 +1,13 @@
-+++
-title = "Menus"
-weight = 20
-prev = "/extras/livereload"
-next = "/extras/permalinks"
-date = 2014-05-14T02:36:37Z
-[menu]
- [menu.main]
- parent = "extras"
-+++
+---
+date: 2014-05-14T02:36:37Z
+menu:
+ main:
+ parent: extras
+next: /extras/permalinks
+prev: /extras/livereload
+title: Menus
+weight: 20
+---
Hugo has a simple yet powerful menu system that permits content to be
placed in menus with a good degree of control without a lot of work.
@@ -1,15 +1,15 @@
---
-title: "Permalinks"
-date: "2013-11-18"
aliases:
- - "/doc/permalinks/"
-weight: 30
-notoc: true
+- /doc/permalinks/
+date: 2013-11-18
menu:
main:
- parent: 'extras'
-prev: "/extras/menus"
-next: "/extras/shortcodes"
+ parent: extras
+next: /extras/shortcodes
+notoc: true
+prev: /extras/menus
+title: Permalinks
+weight: 30
---
By default, content is laid out into the target `publishdir` (public)
Oops, something went wrong.

0 comments on commit 0587515

Please sign in to comment.