Skip to content

Commit

Permalink
change back to include_relative
Browse files Browse the repository at this point in the history
  • Loading branch information
nntrn committed Oct 2, 2024
1 parent 99147ce commit df524f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _pages/activity.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
em.started:before{content:"**"}
</style>

{%- capture activity -%}{% include activity.txt -%}{% endcapture %}
{%- capture activity -%}{% include_relative activity.txt -%}{% endcapture %}
{{ activity|markdownify|replace: "***",'<em class="started"></em>' }}
6 changes: 4 additions & 2 deletions scripts/build-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ else
jq_from_activity stats_history >$DATADIR/history.json &
wait %3

_log "* Creating _pages/activity.txt"
_log "* Creating _includes/activity.txt"

jq -r -L $_scriptdir --slurpfile books $DATADIR/books.json 'include "annotations"; stats_history_text' \
$DATADIR/history.json >$OUTDIR/_includes/activity.txt
$DATADIR/history.json >$OUTDIR/_pages/activity.txt

cat $OUTDIR/_pages/activity.txt >$OUTDIR/_includes/activity.txt

fi

0 comments on commit df524f1

Please sign in to comment.