diff options
author | xengineering <me@xengineering.eu> | 2023-03-31 20:41:48 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-03-31 21:46:53 +0200 |
commit | 39298f14d366b351708e7f5ef30d1b6575155792 (patch) | |
tree | 0973ec7cc3722661e3463280870f31a295b36dc8 /data/templates/recipe.html | |
parent | f1308a436040f3a72e058e10ec2693cfb599da30 (diff) | |
download | ceres-39298f14d366b351708e7f5ef30d1b6575155792.tar ceres-39298f14d366b351708e7f5ef30d1b6575155792.tar.zst ceres-39298f14d366b351708e7f5ef30d1b6575155792.zip |
Reduce to ID and Markdown
The upstream URL can be encoded easily by the user in the Markdown-based
description. The title can be parsed by the first found top-level
heading in the Markdown text.
Thus these two columns are no longer used. To avoid an additional
migration they will be kept in the database.
Diffstat (limited to 'data/templates/recipe.html')
-rw-r--r-- | data/templates/recipe.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 00b6906..9f49fbb 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -6,13 +6,11 @@ <body> - <header>{{if ne .UpstreamUrl ""}} + <header> <nav> <a href="/index.html">HOME</a> <a href="/add_recipes">add recipe</a> - <a href="{{.UpstreamUrl}}">original recipe</a> </nav> - {{end}} <h1>{{.Title}}</h1> </header> |