Commit bca6c8d7 authored by Kaushal Modi's avatar Kaushal Modi

Add temp post

parent 68eee82e
......@@ -107,6 +107,25 @@ This is a Headless leaf bundle Index page.
- [Link to self (posts/foo/rotary-balm)]({{< relref "rotary-balm" >}})
- [Link to posts/witting-gossiping]({{< relref "witting-gossiping" >}})
- [Link to posts/bleariest-stubble]({{< relref "bleariest-stubble" >}})
** Pages vs Site Pages
:PROPERTIES:
:EXPORT_FILE_NAME: pages-vs-site-pages
:END:
|----------------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Variable | Current context | Pages included |
|----------------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ~.Site.Pages~ | *any* | ALL pages of the site: content, sections, taxonomies, etc. -- Superset of everything! |
| ~.Site.RegularPages~ | *any* | Only regular (content) pages -- Subset of ~.Site.Pages~ |
| ~.Pages~ | /List/ page | Regular pages under that /list/ page representing the homepage, section, taxonomy term (~/tags~) or taxonomy (~/tags/foo~) page -- Subset of ~.Site.Pages~ or ~.Site.RegularPages~, depending on context. |
| ~.Pages~ | /Single/ page | empty slice |
|----------------------+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
In the *home* context (~index.html~), ~.Pages~ is the same as
~.Site.RegularPages~.
- Note :: ~.Pages~ is an alias to ~.Data.Pages~. It is conventional to
use that alias form.
* Experiment with Branch Bundles for non-Section pages
** Non-page Kind Page Bundles
:PROPERTIES:
......
+++
title = "Pages vs Site Pages"
author = ["Kaushal Modi"]
categories = ["miscellaneous"]
draft = false
creator = "Emacs 27.0.50 (Org mode 9.1.13 + ox-hugo)"
+++
| Variable | Current context | Pages included |
|----------------------|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `.Site.Pages` | **any** | ALL pages of the site: content, sections, taxonomies, etc. -- Superset of everything! |
| `.Site.RegularPages` | **any** | Only regular (content) pages -- Subset of `.Site.Pages` |
| `.Pages` | _List_ page | Regular pages under that _list_ page representing the homepage, section, taxonomy term (`/tags`) or taxonomy (`/tags/foo`) page -- Subset of `.Site.Pages` or `.Site.RegularPages`, depending on context. |
| `.Pages` | _Single_ page | empty slice |
In the **home** context (`index.html`), `.Pages` is the same as
`.Site.RegularPages`.
Note
: `.Pages` is an alias to `.Data.Pages`. It is conventional to
use that alias form.
Markdown is supported
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