Changeset 80 in code for trunk/README.md
- Timestamp:
- Dec 12, 2023, 2:09:17 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README.md
r75 r80 18 18 Build it manually assuming you have Go (>=1.17) installed: 19 19 20 $ go install marisa.chaotic.ninja/aya/cmd/aya@latest 20 $ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1) 21 21 --- or --- 22 22 $ git clone https://git.chaotic.ninja/yakumo.izuru/aya … … 24 24 $ make 25 25 # make install 26 26 27 (1) If you use this method, the `aya version` subcommand may print the wrong string, 28 but it should not be a problem unless you use it on a page. 29 27 30 ## Ideology 28 31 29 Keep your texts in markdown, or HTMLformat right in the main directory32 Keep your texts in markdown, [amber](https://github.com/eknkc/amber), or html format right in the main directory 30 33 of your blog/site. 31 34 … … 33 36 in the `.aya` subdirectory. 34 37 35 Define variables in the header of the content files using [YAML] :38 Define variables in the header of the content files using [YAML](https://www.yaml.io) : 36 39 37 title: My web site 38 keywords: best website, hello, world 39 --- 40 ```markdown 41 title: My web site 42 keywords: best website, hello, world 43 --- 40 44 41 Markdown text goes after a header *separator* 45 Markdown text goes after a header *separator* 46 ``` 42 47 43 48 Use placeholders for variables and plugins in your markdown or html … … 47 52 subdiretory. 48 53 49 Everything the extensions prints to stdoutbecomes the value of the54 Everything the extensions prints to [stdout](https://man.freebsd.org/cgi/man.cgi?fd) becomes the value of the 50 55 placeholder. 51 56 52 Every variable from the content header will be passed via environment variables like `title` becomes `$AYA_TITLE` and so on. There are some special variables: 57 Every variable from the content header will be passed via environment variables like `title` becomes `$AYA\_TITLE` and so on. 58 There are some special variables: 53 59 54 60 * `$AYA` - a path to the `aya` executable … … 94 100 rm -f $AYA_OUTDIR/styles.css 95 101 96 ## Extras 97 98 `aya` also supports generating `.html` and `.css` by means of using `.amber` 99 and `.gcss` files. See more at [eknkc/amber](https://github.com/eknkc/amber) [yosssi/gcss](https://github.com/yosssi/gcss) 102 Note, you can also place `.gcss` files for [gcss](https://github.com/yosssi/gcss) to process instead 100 103 101 104 ## Command line usage
Note:
See TracChangeset
for help on using the changeset viewer.