We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bf229f commit 1306405Copy full SHA for 1306405
app.py
@@ -18,6 +18,7 @@ def process(article):
18
template = env.get_template('generate.md')
19
prompt = template.render(
20
title=article['title'],
21
+ url=article['url'],
22
article=project.read(article['path']),
23
headings=article['headings'],
24
date=datetime.now().strftime("%Y-%m-%d %H:%M:%S"),
templates/template.md
@@ -17,3 +17,5 @@ authors:
17
<!-- more -->
这里是正文,在这里开始你的文章书写,注意上面的格式严格按照要求来,HTML 注释也不要删掉,请你仔细注意格式!
+
+你需要在文章的最后,以及其他你认为合适的地方,将文章原文的链接 {{ url }} 放上(适量即可,如果你生成的文章很长那么可以多加一些),以便读者连接到原文、全文,同时起到更好的推广和宣传作用。
0 commit comments