何をしていたか忘れてしまった
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@84 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
43
README.md
43
README.md
@@ -19,7 +19,7 @@ Build it manually assuming you have Go (>=1.17) installed:
|
||||
|
||||
$ go install marisa.chaotic.ninja/aya/cmd/aya@latest (1)
|
||||
--- or ---
|
||||
$ git clone https://git.chaotic.ninja/yakumo.izuru/aya
|
||||
$ git clone https://git.chaotic.ninja/yakumo_izuru/aya
|
||||
$ cd aya
|
||||
$ make
|
||||
# make install
|
||||
@@ -88,36 +88,35 @@ echo '</rss>' >> $AYA_OUTDIR/blog/rss.xml
|
||||
```
|
||||
|
||||
## Hooks
|
||||
|
||||
There are two special plugin names that are executed every time the build
|
||||
happens - `prehook` and `posthook`. You can define some global actions here like
|
||||
content generation, or additional commands, like LESS to CSS conversion:
|
||||
|
||||
# .aya/post
|
||||
|
||||
#!/bin/sh
|
||||
lessc < $AYA_OUTDIR/styles.less > $AYA_OUTDIR/styles.css
|
||||
rm -f $AYA_OUTDIR/styles.css
|
||||
content generation, or additional commands, like LESS to CSS conversion
|
||||
|
||||
Note, you can also place `.gcss` files for [gcss](https://github.com/yosssi/gcss) to process instead
|
||||
|
||||
## Command line usage
|
||||
|
||||
`aya build` re-builds your site.
|
||||
|
||||
`aya build <file>` re-builds one file and prints resulting content to stdout.
|
||||
|
||||
`aya serve` serves your site over HTTP.
|
||||
|
||||
`aya var <filename> [var1 var2...]` prints a list of variables defined in the
|
||||
header of a given markdown file, or the values of certain variables (even if
|
||||
it's an empty string).
|
||||
|
||||
`aya watch` rebuilds your site every time you modify any file.
|
||||
Read `aya(1)`
|
||||
|
||||
## License
|
||||
The software is distributed under the [MIT/X11](LICENSE) license.
|
||||
|
||||
The software is distributed under the MIT/X11 license.
|
||||
## Sites using Aya!
|
||||
(I know, I made the majority of them, but they still count)
|
||||
|
||||
| Title | Author | Link |
|
||||
|------------------------|--------------------------------------------------|---------------------------------------|
|
||||
| Aya (project homepage) | Izuru Yakumo | https://aya.chaotic.ninja |
|
||||
| Chaotic Ninja | Izuru Yakumo, Mima-sama | https://chaotic.ninja |
|
||||
| Geidontei | Izuru Yakumo | https://geidontei.chaotic.ninja |
|
||||
| ChaoticIRC Network | Izuru Yakumo | https://im.chaotic.ninja |
|
||||
| Kanako | Izuru Yakumo | https://kanako.chaotic.ninja |
|
||||
| Kill-9 The Revival | Various authors | https://kill-9.chaotic.ninja |
|
||||
| PXIMG(7) | Izuru Yakumo | https://pximg.chaotic.ninja |
|
||||
| Shinmyoumaru | Mima-sama | https://shinmyoumaru.chaotic.ninja |
|
||||
| Suika | Izuru Yakumo | https://suika.chaotic.ninja |
|
||||
| TechnicalMarisa | Izuru Yakumo | https://technicalmarisa.chaotic.ninja |
|
||||
| Tengu Space | [DeviousTengu](https://fedi.tengu.space/devious) | https://tengu.space |
|
||||
| WindowMaker Shrine | Izuru Yakumo | https://themes.chaotic.ninja |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user