Commit
+24 -4 +/-4 browse
1 | diff --git a/ayllu/themes/default/assets/feed.xsl b/ayllu/themes/default/assets/feed.xsl |
2 | index 35a356d..ff34fab 100644 |
3 | --- a/ayllu/themes/default/assets/feed.xsl |
4 | +++ b/ayllu/themes/default/assets/feed.xsl |
5 | @@ -42,10 +42,10 @@ |
6 | </h3> |
7 | </header> |
8 | <xsl:value-of select="description" disable-output-escaping="yes"/> |
9 | - <footer> |
10 | + <footer class="rss"> |
11 | + <xsl:value-of select="author" /><br/> |
12 | <b><xsl:value-of select="pubDate"/></b> |
13 | - <span class="right"><xsl:value-of select="author" /></span> |
14 | - </footer> |
15 | + </footer> |
16 | </article> |
17 | </xsl:for-each> |
18 | </main> |
19 | diff --git a/ayllu/themes/default/theme.css b/ayllu/themes/default/theme.css |
20 | index b2b7f2a..08bcfa4 100644 |
21 | --- a/ayllu/themes/default/theme.css |
22 | +++ b/ayllu/themes/default/theme.css |
23 | @@ -169,6 +169,10 @@ footer { |
24 | font-size: smaller; |
25 | } |
26 | |
27 | + footer.rss { |
28 | + text-align: unset; |
29 | + } |
30 | + |
31 | .blob-preview { |
32 | text-align: center; |
33 | border-style: solid; |
34 | diff --git a/config.example.toml b/config.example.toml |
35 | index 7d04a35..e6f5dca 100644 |
36 | --- a/config.example.toml |
37 | +++ b/config.example.toml |
38 | @@ -163,6 +163,22 @@ keywords = [ |
39 | "variable.parameter", |
40 | ] |
41 | |
42 | + # override system highlights with your own configuration as needed |
43 | + [tree-sitter.highlights] |
44 | + |
45 | + # this results in two new CSS classes ts_addition and ts_removal which can |
46 | + # be configured in theme stylesheets. |
47 | + diff = """ |
48 | + ; used to highlight diffs in the UI |
49 | + [(addition) (new_file)] @addition |
50 | + [(deletion) (old_file)] @removal |
51 | + |
52 | + (commit) @constant |
53 | + (location) @attribute |
54 | + (command) @variable.builtin |
55 | + """ |
56 | + |
57 | + |
58 | # [[tree-sitter.parsers]] |
59 | # additional parsers |
60 | # name = "fuu-lang" |
61 | diff --git a/containers/base/Containerfile b/containers/base/Containerfile |
62 | index 82360a5..a0bb4d9 100644 |
63 | --- a/containers/base/Containerfile |
64 | +++ b/containers/base/Containerfile |
65 | @@ -4,7 +4,7 @@ FROM alpine:3.19.1 AS build |
66 | RUN apk add \ |
67 | cargo rust pkgconf sqlite sassc npm \ |
68 | openssl openssl-dev fontconfig fontconfig-dev \ |
69 | - tree-sitter-dev build-base |
70 | + tree-sitter-dev build-base git |
71 | |
72 | # TODO: tree-sitter-diff needs APK support but they haven't cut a release yet |
73 | WORKDIR /src |