Rearrange page weight tests

master
Kaushal Modi 8 years ago
parent 9315269793
commit de397f0235
  1. 37
      test/site/content-org/all-posts.org
  2. 4
      test/site/content/posts/hugo-post-weight-1.md
  3. 2
      test/site/content/posts/hugo-post-weight-123.md
  4. 4
      test/site/content/posts/hugo-post-weight-2.md
  5. 4
      test/site/content/posts/hugo-post-weight-3.md
  6. 4
      test/site/content/posts/hugo-post-weight-4.md
  7. 2
      test/site/content/posts/hugo-post-weight-4567.md
  8. 4
      test/site/content/posts/hugo-post-weight-5.md

@ -3788,42 +3788,43 @@ Below, the code block language name will show up before the code.
:EXPORT_DATE: 2017-08-02
:END:
#+include: "./all-posts.org::#enabling-disabling-extensions-example" :only-contents t
* Post Weight (Not the menu item weight) :weight:
** Auto post-weight calculation
* Weights :weight:
** Post Weight (Not the menu item weight) :page_weight:
*** Manually specified post weights :manual:
**** Post with weight 123
:PROPERTIES:
:EXPORT_HUGO_WEIGHT: 123
:EXPORT_FILE_NAME: hugo-post-weight-123
:END:
**** Post with weight 4567
:PROPERTIES:
:EXPORT_HUGO_WEIGHT: 4567
:EXPORT_FILE_NAME: hugo-post-weight-4567
:END:
*** Auto post-weight calculation :auto:
:PROPERTIES:
:EXPORT_HUGO_WEIGHT: auto
:END:
*** Post with auto weight calc 1 (EXPORT_HUGO_WEIGHT as subtree property)
**** Post with auto weight calc 1 (EXPORT_HUGO_WEIGHT as subtree property)
:PROPERTIES:
:EXPORT_FILE_NAME: hugo-post-weight-1
:END:
*** Post with auto weight calc 2 (EXPORT_HUGO_WEIGHT as subtree property)
**** Post with auto weight calc 2 (EXPORT_HUGO_WEIGHT as subtree property)
:PROPERTIES:
:EXPORT_FILE_NAME: hugo-post-weight-2
:END:
*** Post with auto weight calc 3 (EXPORT_HUGO_WEIGHT as subtree property)
**** Post with auto weight calc 3 (EXPORT_HUGO_WEIGHT as subtree property)
:PROPERTIES:
:EXPORT_FILE_NAME: hugo-post-weight-3
:END:
*** Post with auto weight calc 4 (EXPORT_HUGO_WEIGHT as subtree property)
**** Post with auto weight calc 4 (EXPORT_HUGO_WEIGHT as subtree property)
:PROPERTIES:
:EXPORT_FILE_NAME: hugo-post-weight-4
:END:
*** Post with auto weight calc 5 (EXPORT_HUGO_WEIGHT as subtree property)
**** Post with auto weight calc 5 (EXPORT_HUGO_WEIGHT as subtree property)
:PROPERTIES:
:EXPORT_FILE_NAME: hugo-post-weight-5
:END:
** Manually specified post weights
*** Post with weight 123
:PROPERTIES:
:EXPORT_HUGO_WEIGHT: 123
:EXPORT_FILE_NAME: hugo-post-weight-123
:END:
*** Post with weight 4567
:PROPERTIES:
:EXPORT_HUGO_WEIGHT: 4567
:EXPORT_FILE_NAME: hugo-post-weight-4567
:END:
* Dates :dates:
** Date :date:
*** Just date

@ -1,6 +1,6 @@
+++
title = "Post with auto weight calc 1 (EXPORT_HUGO_WEIGHT as subtree property)"
tags = ["weight"]
weight = 3001
tags = ["weight", "page-weight", "auto"]
weight = 4001
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with weight 123"
tags = ["weight"]
tags = ["weight", "page-weight", "manual"]
weight = 123
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with auto weight calc 2 (EXPORT_HUGO_WEIGHT as subtree property)"
tags = ["weight"]
weight = 3002
tags = ["weight", "page-weight", "auto"]
weight = 4002
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with auto weight calc 3 (EXPORT_HUGO_WEIGHT as subtree property)"
tags = ["weight"]
weight = 3003
tags = ["weight", "page-weight", "auto"]
weight = 4003
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with auto weight calc 4 (EXPORT_HUGO_WEIGHT as subtree property)"
tags = ["weight"]
weight = 3004
tags = ["weight", "page-weight", "auto"]
weight = 4004
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with weight 4567"
tags = ["weight"]
tags = ["weight", "page-weight", "manual"]
weight = 4567
draft = false
+++

@ -1,6 +1,6 @@
+++
title = "Post with auto weight calc 5 (EXPORT_HUGO_WEIGHT as subtree property)"
tags = ["weight"]
weight = 3005
tags = ["weight", "page-weight", "auto"]
weight = 4005
draft = false
+++

Loading…
Cancel
Save