You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[From this workflow](https://github.com/simonw/til/blob/7d799a24921f66e585b8a6b8756b7f8040c899df/.github/workflows/build.yml#L32-L36)
16
16
17
-
I'm using `curl --fail` here which returns an error code if the file download files (without `--fail` it was writing out a two line error message to a file called `til.db` which is not what I wanted). Then `continue-on-error: true` to keep on going even if the download failed.
17
+
I'm using `curl --fail` here which returns an error code if the file download files (without `--fail` it was writing out a two line error message to a file called `tils.db` which is not what I wanted). Then `continue-on-error: true` to keep on going even if the download failed.
18
18
19
-
My `build_database.py` script updates the `til.db` database file if it exists and creates it from scratch if it doesn't.
19
+
My `build_database.py` script updates the `tils.db` database file if it exists and creates it from scratch if it doesn't.
<p><strong>Recently added:</strong> {% for row in sql("select * from til order by created_utc desc limit 5") %}<ahref="/til/til/{{ row.path }}">{{ row.title }}</a>{% if not loop.last %}, {% endif %}{% endfor %}</p>
58
+
<p><strong>Recently added:</strong> {% for row in sql("select * from til order by created_utc desc limit 5") %}<ahref="/{{ row.topic }}/{{ row.slug }}">{{ row.title }}</a>{% if not loop.last %}, {% endif %}{% endfor %}</p>
0 commit comments