Mercurial > yakumo_izuru > aya
comparison README.md @ 83:d8c30f64e301 draft
何をしていたか忘れてしまった
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Tue, 26 Mar 2024 02:18:06 +0000 |
parents | ab4829ba7a8a |
children | 897d57a7ec95 |
comparison
equal
deleted
inserted
replaced
82:1b27391363d1 | 83:d8c30f64e301 |
---|---|
17 | 17 |
18 Build it manually assuming you have Go (>=1.17) installed: | 18 Build it manually assuming you have Go (>=1.17) installed: |
19 | 19 |
20 $ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1) | 20 $ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1) |
21 --- or --- | 21 --- or --- |
22 $ git clone https://git.chaotic.ninja/yakumo.izuru/aya | 22 $ git clone https://git.chaotic.ninja/yakumo_izuru/aya |
23 $ cd aya | 23 $ cd aya |
24 $ make | 24 $ make |
25 # make install | 25 # make install |
26 | 26 |
27 (1) If you use this method, the `aya version` subcommand may print the wrong string, | 27 (1) If you use this method, the `aya version` subcommand may print the wrong string, |
86 echo '</channel>' >> $AYA_OUTDIR/blog/rss.xml | 86 echo '</channel>' >> $AYA_OUTDIR/blog/rss.xml |
87 echo '</rss>' >> $AYA_OUTDIR/blog/rss.xml | 87 echo '</rss>' >> $AYA_OUTDIR/blog/rss.xml |
88 ``` | 88 ``` |
89 | 89 |
90 ## Hooks | 90 ## Hooks |
91 | |
92 There are two special plugin names that are executed every time the build | 91 There are two special plugin names that are executed every time the build |
93 happens - `prehook` and `posthook`. You can define some global actions here like | 92 happens - `prehook` and `posthook`. You can define some global actions here like |
94 content generation, or additional commands, like LESS to CSS conversion: | 93 content generation, or additional commands, like LESS to CSS conversion |
95 | |
96 # .aya/post | |
97 | |
98 #!/bin/sh | |
99 lessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css | |
100 rm -f $AYA_OUTDIR/styles.css | |
101 | 94 |
102 Note, you can also place `.gcss` files for [gcss](https://github.com/yosssi/gcss) to process instead | 95 Note, you can also place `.gcss` files for [gcss](https://github.com/yosssi/gcss) to process instead |
103 | 96 |
104 ## Command line usage | 97 ## Command line usage |
105 | 98 Read `aya(1)` |
106 `aya build` re-builds your site. | |
107 | |
108 `aya build <file>` re-builds one file and prints resulting content to stdout. | |
109 | |
110 `aya serve` serves your site over HTTP. | |
111 | |
112 `aya var <filename> [var1 var2...]` prints a list of variables defined in the | |
113 header of a given markdown file, or the values of certain variables (even if | |
114 it's an empty string). | |
115 | |
116 `aya watch` rebuilds your site every time you modify any file. | |
117 | 99 |
118 ## License | 100 ## License |
101 The software is distributed under the [MIT/X11](LICENSE) license. | |
119 | 102 |
120 The software is distributed under the MIT/X11 license. | 103 ## Sites using Aya! |
104 (I know, I made the majority of them, but they still count) | |
105 | |
106 | Title | Author | Link | | |
107 |------------------------|--------------------------------------------------|---------------------------------------| | |
108 | Aya (project homepage) | Izuru Yakumo | https://aya.chaotic.ninja | | |
109 | Chaotic Ninja | Izuru Yakumo, Mima-sama | https://chaotic.ninja | | |
110 | Geidontei | Izuru Yakumo | https://geidontei.chaotic.ninja | | |
111 | ChaoticIRC Network | Izuru Yakumo | https://im.chaotic.ninja | | |
112 | Kanako | Izuru Yakumo | https://kanako.chaotic.ninja | | |
113 | Kill-9 The Revival | Various authors | https://kill-9.chaotic.ninja | | |
114 | PXIMG(7) | Izuru Yakumo | https://pximg.chaotic.ninja | | |
115 | Shinmyoumaru | Mima-sama | https://shinmyoumaru.chaotic.ninja | | |
116 | Suika | Izuru Yakumo | https://suika.chaotic.ninja | | |
117 | TechnicalMarisa | Izuru Yakumo | https://technicalmarisa.chaotic.ninja | | |
118 | Tengu Space | [DeviousTengu](https://fedi.tengu.space/devious) | https://tengu.space | | |
119 | WindowMaker Shrine | Izuru Yakumo | https://themes.chaotic.ninja | | |
121 | 120 |
122 --- | 121 --- |
123 | 122 |
124 Ayaya~ | 123 Ayaya~ |