diff options
author | xengineering <me@xengineering.eu> | 2023-04-13 17:09:31 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-04-13 17:59:37 +0200 |
commit | 73391d7b8d847f3a8662be7c632658e7299acd37 (patch) | |
tree | 5151aed143aed24fe2c67adabea794e507bdc5e2 | |
parent | 0c5e4afa7cc608067e3bf187977b087df322f319 (diff) | |
download | ceres-73391d7b8d847f3a8662be7c632658e7299acd37.tar ceres-73391d7b8d847f3a8662be7c632658e7299acd37.tar.zst ceres-73391d7b8d847f3a8662be7c632658e7299acd37.zip |
Fix empty title regression
If no title is detected, a default text should be inserted instead. This
avoids not clickable links on the index page.
-rw-r--r-- | markup.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ func (m Markup) title() string { return strings.TrimPrefix(line, "# ") } } - return "" + return "No title dtected" } func (m Markup) html() string { |