Skip to content

Commit 47789a7

Browse files
committed
General full HTML in atom.xml
1 parent e569de7 commit 47789a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ $(DST_DIR)/atom.xml: $(SRC_DIR)/blog/*/*.md
8686
echo "<updated>$${entry_date}T00:00:00Z</updated>"; \
8787
echo "<published>$${entry_date}T00:00:00Z</published>"; \
8888
echo "<summary>$$(lowdown -X summary $(SRC_DIR)/blog/$${entry_date}/index.md)</summary>"; \
89+
echo "<content type=\"html\">"; \
90+
lowdown -Thtml "$(SRC_DIR)/blog/$${entry_date}/index.md" | sed "s/</\&lt;/g" | sed "s/>/\&gt;/g"; \
91+
echo "</content>"; \
8992
echo "<id>$$entry_url</id>"; \
9093
echo "</entry>"; \
9194
done >> $@

0 commit comments

Comments
 (0)