diff --git a/src/index.py b/src/index.py
index 05319cd..47f13b8 100644
--- a/src/index.py
+++ b/src/index.py
@@ -33,14 +33,15 @@ def list_snippets(articles):
with open('entries/' + article) as f:
text = f.readlines()
length = len(text)
- a.append(text[head])
+ a.append(clean(text[head])) # title
content = snip_article(find_content(article, length, head, tail), path)
if content.count('
'):
content += ''
- a.append(content)
- a.append(text[head + 1].replace('
',''))
- a.append(path)
+ a.append(content) # snippet
+ a.append(text[head + 1].replace('
','')) # timestamp
+ a.append(path) # URL
+ a.append(clean(text[head]).replace(' ','+')) # social media title
result.append(a)
return result
diff --git a/src/views/diary.tpl b/src/views/diary.tpl
index 3c18d9f..0df374b 100644
--- a/src/views/diary.tpl
+++ b/src/views/diary.tpl
@@ -75,7 +75,7 @@
{{!s[1]}}
- {{!s[2]}} •
+ {{!s[2]}} •