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