Commit b7680917 authored by Kaushal Modi's avatar Kaushal Modi
Browse files

Add _index.md for taxonomyterm pages tags and categories

parent 72463ad4
......@@ -83,6 +83,54 @@ content/
#+end_example
#+html: <style>.page-kinds table tr:nth-child(1) td {background: yellow;}</style>
#+include: "./sandbox.org::#page-kinds" :only-contents t
*** Taxonomy Term Kind (Tags) :taxonomyterm:kind:branch_bundle:tags:
:PROPERTIES:
:EXPORT_HUGO_SECTION: /
:EXPORT_HUGO_BUNDLE: tags
:EXPORT_FILE_NAME: _index
:END:
#+begin_description
Taxonomy Term Branch Bundle (CANNOT be Leaf, else it becomes of =page=
/Kind/)
#+end_description
#+begin_example
content/
tags/
- _index.md
- taxonomytermbranchbundle-tags-featured.png
#+end_example
#+begin_mark
Interestingly, if a =taxonomyTerm= BRANCH bundle is made
(i.e. =content/tags/_index.md=), Hugo hangs!
#+end_mark
#+html: <style>.page-kinds table tr:nth-child(5) td {background: yellow;}</style>
#+include: "./sandbox.org::#page-kinds" :only-contents t
*** Taxonomy Term Kind (Categories) :taxonomyterm:kind:branch_bundle:categories:
:PROPERTIES:
:EXPORT_HUGO_SECTION: /
:EXPORT_HUGO_BUNDLE: categories
:EXPORT_FILE_NAME: _index
:END:
#+begin_description
Taxonomy Term Branch Bundle (CANNOT be Leaf, else it becomes of =page=
/Kind/)
#+end_description
#+begin_example
content/
categories/
- _index.md
- taxonomytermbranchbundle-categories-featured.png
#+end_example
#+begin_mark
Interestingly, if a =taxonomyTerm= BRANCH bundle is made
(i.e. =content/categories/_index.md=), Hugo hangs!
#+end_mark
#+html: <style>.page-kinds table tr:nth-child(5) td {background: yellow;}</style>
#+include: "./sandbox.org::#page-kinds" :only-contents t
* Features
:PROPERTIES:
:EXPORT_HUGO_SECTION: features
......
+++
title = "Taxonomy Term Kind (Categories)"
author = ["Kaushal Modi"]
description = """
Taxonomy Term Branch Bundle (CANNOT be Leaf, else it becomes of `page`
_Kind_)
"""
tags = ["non-page-kind", "page-bundle", "taxonomyterm", "kind", "branch-bundle", "categories"]
categories = ["miscellaneous"]
draft = false
[[resources]]
src = "*featured*"
[resources.params]
size = 600
+++
```text
content/
categories/
- _index.md
- taxonomytermbranchbundle-categories-featured.png
```
<mark>Interestingly, if a `taxonomyTerm` BRANCH bundle is made
(i.e. `content/categories/_index.md`), Hugo hangs!</mark>
<style>.page-kinds table tr:nth-child(5) td {background: yellow;}</style>
<div class="ox-hugo-table page-kinds">
<div></div>
| `Kind` | Description | Example |
|----------------|--------------------------------------------------------------------|-------------------------------------------------------------------------------|
| `home` | The home page | `/index.html` |
| `page` | A page showing a _regular page_ | `my-post` page (`/posts/my-post/index.html`) |
| `section` | A page listing _regular pages_ from a given [_section_](/sections) | `posts` section (`/posts/index.html`) |
| `taxonomy` | A page listing _regular pages_ from a given _taxonomy term_ | page for the term `awesome` from `tags` taxonomy (`/tags/awesome/index.html`) |
| `taxonomyTerm` | A page listing terms from a given _taxonomy_ | page for the `tags` taxonomy (`/tags/index.html`) |
</div>
+++
title = "Taxonomy Term Kind (Tags)"
author = ["Kaushal Modi"]
description = """
Taxonomy Term Branch Bundle (CANNOT be Leaf, else it becomes of `page`
_Kind_)
"""
tags = ["non-page-kind", "page-bundle", "taxonomyterm", "kind", "branch-bundle", "tags"]
categories = ["miscellaneous"]
draft = false
[[resources]]
src = "*featured*"
[resources.params]
size = 600
+++
```text
content/
tags/
- _index.md
- taxonomytermbranchbundle-tags-featured.png
```
<mark>Interestingly, if a `taxonomyTerm` BRANCH bundle is made
(i.e. `content/tags/_index.md`), Hugo hangs!</mark>
<style>.page-kinds table tr:nth-child(5) td {background: yellow;}</style>
<div class="ox-hugo-table page-kinds">
<div></div>
| `Kind` | Description | Example |
|----------------|--------------------------------------------------------------------|-------------------------------------------------------------------------------|
| `home` | The home page | `/index.html` |
| `page` | A page showing a _regular page_ | `my-post` page (`/posts/my-post/index.html`) |
| `section` | A page listing _regular pages_ from a given [_section_](/sections) | `posts` section (`/posts/index.html`) |
| `taxonomy` | A page listing _regular pages_ from a given _taxonomy term_ | page for the term `awesome` from `tags` taxonomy (`/tags/awesome/index.html`) |
| `taxonomyTerm` | A page listing terms from a given _taxonomy_ | page for the `tags` taxonomy (`/tags/index.html`) |
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment