Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e05c713
commit de5dfdf
Showing
6 changed files
with
173 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
#+hugo_base_dir: ../ | ||
|
||
#+seq_todo: TODO DRAFT DONE | ||
|
||
#+property: header-args :eval never-export | ||
|
||
#+startup: indent | ||
|
||
#+macro: doc [[https://ox-hugo.scripter.co/doc/$1][$2]] | ||
#+macro: oxhugoissue =ox-hugo= Issue #[[https://github.com/kaushalmodi/ox-hugo/issues/$1][$1]] | ||
|
||
#+author: | ||
|
||
#+tags: [ @GTD : Control Persp ] | ||
#+tags: [ Control : Context Task ] | ||
#+tags: [ Persp : Vision Goal AOF Project ] | ||
|
||
#+tags: [ @food : @fruit @vegetable @has__seeds ] | ||
#+tags: [ @fruit : apple banana ] | ||
#+tags: [ apple : pink_lady granny_smith ] | ||
#+tags: [ @vegetable : potato squash ] | ||
#+tags: [ @has__seeds : apple squash ] | ||
|
||
#+filetags: tag-groups tag-hierarchy | ||
|
||
* Body | ||
{{{oxhugoissue(341)}}} | ||
|
||
https://orgmode.org/manual/Tag-Hierarchy.html | ||
* Tag Hierarchy: Basic :Vision: | ||
:PROPERTIES: | ||
:EXPORT_FILE_NAME: tag-hierarchy-basic | ||
:END: | ||
#+begin_description | ||
Test the example tag groups from | ||
https://orgmode.org/manual/Tag-Hierarchy.html. | ||
#+end_description | ||
#+include: "./tag-hierarchy.org::*Body" :only-contents t | ||
* Tag Hierarchy: Multiple Tags from Groups :Vision:AOF:Persp:Context: | ||
:PROPERTIES: | ||
:EXPORT_FILE_NAME: tag-hierarchy-multiple-tags | ||
:END: | ||
#+begin_description | ||
Test multiple tags from tag groups -- including adding tags which are | ||
already group tags of some other tags. | ||
#+end_description | ||
#+include: "./tag-hierarchy.org::*Body" :only-contents t | ||
|
||
Here, ~Persp~ tag is added manually, but it is also the group head for | ||
~Vision~ and ~AOF~ tags. | ||
* Tag Hierarchy: Tags with Multiple Groups :squash: | ||
:PROPERTIES: | ||
:EXPORT_FILE_NAME: tag-hierarchy-tags-with-multiple-group-heads | ||
:END: | ||
#+begin_description | ||
Test tags which belong in multiple groups and so they have multiple | ||
group head tags. | ||
#+end_description | ||
#+include: "./tag-hierarchy.org::*Body" :only-contents t | ||
* Tag Hierarchy: Tags with hyphens and spaces :pink_lady: | ||
:PROPERTIES: | ||
:EXPORT_FILE_NAME: tag-hierarchy-tags-with-hyphens-and-spaces | ||
:END: | ||
#+begin_description | ||
Test tags containing hyphens and spaces | ||
#+end_description | ||
#+include: "./tag-hierarchy.org::*Body" :only-contents t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
+++ | ||
title = "Tag Hierarchy: Basic" | ||
description = """ | ||
Test the example tag groups from | ||
<https://orgmode.org/manual/Tag-Hierarchy.html>. | ||
""" | ||
tags = ["Persp", "tag-groups", "tag-hierarchy", "Vision"] | ||
categories = ["GTD"] | ||
draft = false | ||
+++ | ||
|
||
`ox-hugo` Issue #[341](https://github.com/kaushalmodi/ox-hugo/issues/341) | ||
|
||
<https://orgmode.org/manual/Tag-Hierarchy.html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
+++ | ||
title = "Tag Hierarchy: Multiple Tags from Groups" | ||
description = """ | ||
Test multiple tags from tag groups -- including adding tags which are | ||
already group tags of some other tags. | ||
""" | ||
tags = ["Control", "tag-groups", "tag-hierarchy", "Vision", "AOF", "Persp", "Context"] | ||
categories = ["GTD"] | ||
draft = false | ||
+++ | ||
|
||
`ox-hugo` Issue #[341](https://github.com/kaushalmodi/ox-hugo/issues/341) | ||
|
||
<https://orgmode.org/manual/Tag-Hierarchy.html> | ||
|
||
Here, `Persp` tag is added manually, but it is also the group head for | ||
`Vision` and `AOF` tags. |
11 changes: 11 additions & 0 deletions
11
test/site/content/posts/tag-hierarchy-tags-with-hyphens-and-spaces.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
+++ | ||
title = "Tag Hierarchy: Tags with hyphens and spaces" | ||
description = "Test tags containing hyphens and spaces" | ||
tags = ["apple", "tag-groups", "tag-hierarchy", "pink-lady"] | ||
categories = ["food", "fruit", "has seeds"] | ||
draft = false | ||
+++ | ||
|
||
`ox-hugo` Issue #[341](https://github.com/kaushalmodi/ox-hugo/issues/341) | ||
|
||
<https://orgmode.org/manual/Tag-Hierarchy.html> |
14 changes: 14 additions & 0 deletions
14
test/site/content/posts/tag-hierarchy-tags-with-multiple-group-heads.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
+++ | ||
title = "Tag Hierarchy: Tags with Multiple Groups" | ||
description = """ | ||
Test tags which belong in multiple groups and so they have multiple | ||
group head tags. | ||
""" | ||
tags = ["tag-groups", "tag-hierarchy", "squash"] | ||
categories = ["food", "vegetable", "has seeds"] | ||
draft = false | ||
+++ | ||
|
||
`ox-hugo` Issue #[341](https://github.com/kaushalmodi/ox-hugo/issues/341) | ||
|
||
<https://orgmode.org/manual/Tag-Hierarchy.html> |