Skip to content

Commit

Permalink
Readme: Move 2 rows in built-ins table higher
Browse files Browse the repository at this point in the history
  • Loading branch information
arjun-menon committed Aug 6, 2024
1 parent 033cd6d commit 8a5d496
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,17 @@ This object has a fields like `dir.pages`, which is a list of all the pages (a l
<td align="center">βœ…</td><td align="center">βœ…</td><td align="center">βœ…</td><td align="center">βœ…</td>
</tr>
<tr>
<td>Title</td>
<td>The title is either the <code>title</code> YAML field, or if that isn't defined, the <code>.realName</code> of the file, which is the adjusted name of the file without its extension and a date prefix (if present) removed. The title isn't <em>properly</em> available to Python inside the page itself, or from <code>__config__.py</code>, since the page has not been processed when these are executed. If <code>.page</code> is accessed from these (the page or config), or if a <code>title</code> was never defined in the page, then the <code>.realName</code> of the file would be returned.
</td>
<td align="center">❌</td><td align="center">βœ…</td><td align="center">❌</td><td align="center">βœ…</td>
</tr>
<tr>
<td>YAML fields & other vars</td>
<td>...</td>
<td align="center">❌</td><td align="center">βœ…</td><td align="center">❌</td><td align="center">βœ…</td>
</tr>
<tr>
<td>Last Modified Date & Time</td>
<td>

Expand Down Expand Up @@ -208,17 +219,6 @@ _Note:_ This function calls spawns a `git` process, if it's not a Markdown file
<td align="center">βœ…</td><td align="center">βœ…</td><td align="center">βœ…</td><td align="center">βœ…</td>
</tr>
<tr>
<td>Title</td>
<td>The title is either the <code>title</code> YAML field, or if that isn't defined, the <code>.realName</code> of the file, which is the adjusted name of the file without its extension and a date prefix (if present) removed. The title isn't <em>properly</em> available to Python inside the page itself, or from <code>__config__.py</code>, since the page has not been processed when these are executed. If <code>.page</code> is accessed from these (the page or config), or if a <code>title</code> was never defined in the page, then the <code>.realName</code> of the file would be returned.
</td>
<td align="center">❌</td><td align="center">βœ…</td><td align="center">❌</td><td align="center">βœ…</td>
</tr>
<tr>
<td>YAML fields & other vars</td>
<td>...</td>
<td align="center">❌</td><td align="center">βœ…</td><td align="center">❌</td><td align="center">βœ…</td>
</tr>
<tr>
<td><code>readfile</code></td>
<td>This is just a simple built-in function that reads the contents of a file (assuming <code>utf-8</code> encoding) into a string, and returns it.
</td>
Expand Down

0 comments on commit 8a5d496

Please sign in to comment.