~ritho/rweb

aadda76d28349b5e2745ba1ab6eb4a6e49a410f8 — Ritho 3 months ago f959604
Include all the data in the article metadata.

Signed-off-by: Ritho <palvarez@ritho.net>
1 files changed, 1 insertions(+), 1 deletions(-)

M internal/engine/storage/blog/article/article.go
M internal/engine/storage/blog/article/article.go => internal/engine/storage/blog/article/article.go +1 -1
@@ 121,7 121,7 @@ func metadataKey(title string) (string, bool) {
func (a *Article) parseMetadata(line string) bool {
	data := strings.Split(line, ":")
	if key, ok := metadataKey(data[0]); ok {
		a.Metadata[key] = data[1]
		a.Metadata[key] = strings.Join(data[1:], ":")
		return true
	}