Dark rss theme
This commit is contained in:
parent
1fac578231
commit
a4ce3d7365
|
@ -28,9 +28,9 @@ in {
|
|||
set -o allexport
|
||||
source $CREDENTIALS_DIRECTORY/mastodon-auth-env
|
||||
set +o allexport
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-home-feed-highlights -n 24 -t normal --theme light
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme light-no-boosts -f list:3811
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-tags -n 24 -t all --theme light -f list:4160
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-home-feed-highlights -n 24 -t normal --theme dark
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-read-all-list -n 24 -t all --theme dark-no-boosts -f list:3811
|
||||
${pkgs.mastodon_digest}/bin/mastodon_digest -o /var/www/rss/mastodon/$now-tags -n 24 -t all --theme dark -f list:4160
|
||||
${pkgs.logfeed}/bin/mastodon2rss /var/www/rss/mastodon.xml /var/www/rss/mastodon
|
||||
'';
|
||||
serviceConfig = {
|
||||
|
|
|
@ -19,8 +19,8 @@ final: prev: let
|
|||
chmod -R +w $out
|
||||
patch -d $out -p1 < ${./all-posts.patch}
|
||||
cd $out/templates/themes
|
||||
cp -r light light-no-boosts
|
||||
cp ${./index.html.jinja} light-no-boosts/index.html.jinja
|
||||
cp -r dark dark-no-boosts
|
||||
cp ${./index.html.jinja} dark-no-boosts/index.html.jinja
|
||||
'';
|
||||
in {
|
||||
mastodon_digest = pkgs.writeShellApplication {
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<body>
|
||||
<div id="container">
|
||||
<h1>Mastodon Digest</h1>
|
||||
{% include "render-info.html.jinja" %}
|
||||
|
||||
<section class="posts">
|
||||
{% if posts %}
|
||||
|
|
Loading…
Reference in a new issue