From 4680169619b024efe8eb09b7414eb44783550d2d Mon Sep 17 00:00:00 2001 From: Paranoid Wolf Date: Wed, 5 Oct 2022 17:41:51 +0000 Subject: [PATCH] changed README --- README.md | 2 +- storage/storage.go | 2 +- storage/{template.gohtml => template.html} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename storage/{template.gohtml => template.html} (100%) diff --git a/README.md b/README.md index 1caaba7..0d1e166 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ##### A minimal 4chan board hoarder ## WIP -This is not fully baked, but still useable. If you experience any issues, +This is not fully baked, but still usable. If you experience any issues, see some improvement you think would be amazing, or just have some feedback for boarder, make an issue! diff --git a/storage/storage.go b/storage/storage.go index 746e947..3e98833 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -36,7 +36,7 @@ func Store_posts_as_json(entry string, posts []models.Post) error { } func Create_html_page(entry string, posts []models.Post) error { - t := template.Must(template.ParseFiles("./storage/template.gohtml")) + t := template.Must(template.ParseFiles("./storage/template.html")) entry_elements := strings.Split(entry, "_") board := entry_elements[0] thread := entry_elements[1] diff --git a/storage/template.gohtml b/storage/template.html similarity index 100% rename from storage/template.gohtml rename to storage/template.html