From 67b6bbf03a70b4c9b644c328cb1a529e69540c51 Mon Sep 17 00:00:00 2001 From: "Arjun G. Menon" Date: Tue, 6 Aug 2024 01:37:21 -0400 Subject: [PATCH] Replace CSS class with td align, since GitHub markdown does not seem to allow a style tag --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a277502..8acee40 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,6 @@ must run Alteza with trusted code, or in an isolated container. For example, in * Directories containing index files should just be referred to by the directory name. For example, the index page `about-me/hobbies/index.md` (or `about-me/hobbies/index.py.html`) should just be linked to with a `link('hobbies')`. 12. **Built-in Functions and Fields** - @@ -132,38 +131,38 @@ must run Alteza with trusted code, or in an isolated container. For example, in - + - + - + - + - + - + - + @@ -176,7 +175,7 @@ def readfile(file_path: str) -> str: ``` - + @@ -184,7 +183,7 @@ def readfile(file_path: str) -> str: See `sh`'s documentation here: https://sh.readthedocs.io/en/latest/ - +
Built-in
link ...
path ...
dir ...
Modified Date ...
Idea Date ...
Title The title is either the title YAML field, or if that isn't defined, the .realName 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 properly available to Python inside the page itself, or from __config__.py, since the page has not been processed when these are executed. If .page is accessed from these (the page or config), or if a title was never defined in the page, then the .realName of the file would be returned.
YAML fields & other vars ...
readfile
sh