diff --git a/.gitignore b/.gitignore index 66cec37..34c493f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ resources /etags/ .gitignore -.todo \ No newline at end of file +.todo +.DS_Store diff --git a/compose.yml b/compose.yml index 8bc09ea..1b01c9e 100644 --- a/compose.yml +++ b/compose.yml @@ -125,6 +125,25 @@ services: done " + timeline: + image: decentral1se/beta.lumbung.space-scripts:latest + volumes: + - content:/src/content/ + configs: + - source: feeds_list_timeline + target: /src/feeds_list_timeline.txt + environment: + OUTPUT_DIR: /src/content/timeline + command: | + bash -c " + while true + do + echo 'generating timeline...' + /usr/local/bin/lumbunglib-timeline + sleep 500 + done + " + volumes: content: @@ -139,6 +158,9 @@ configs: feeds_list_pen: name: beta_lumbung_space_feeds_list_pen_v1 file: feeds_list_pen.txt + feeds_list_timeline: + name: beta_lumbung_space_feeds_list_timeline_v1 + file: feeds_list_timeline.txt secrets: masto_key: diff --git a/config.toml b/config.toml index 332e435..d9ea68b 100644 --- a/config.toml +++ b/config.toml @@ -21,4 +21,4 @@ unsafe = true timeline = "timelines" [permalinks] - timelines = "/timeline/:slug/" \ No newline at end of file + timelines = "/timeline/:slug/" diff --git a/themes/lumbung-theme/layouts/partials/header.html b/themes/lumbung-theme/layouts/partials/header.html index 8072512..e6cb0ad 100644 --- a/themes/lumbung-theme/layouts/partials/header.html +++ b/themes/lumbung-theme/layouts/partials/header.html @@ -20,6 +20,13 @@