瀏覽代碼

Move runner to site

master
David Larlet 5 年之前
父節點
當前提交
5344f7d3c1
沒有發現已知的金鑰在資料庫的簽署中
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      site.py

runner.py → site.py 查看文件

@@ -174,7 +174,7 @@ def stream():
published = [note for note in unpublished if not note.is_draft]
for previous, note, next_ in neighborhood(unpublished, last=notes_2018):
if note.is_draft:
print(f"Soon: http://larlet.test:8001/{note.url} ({note.title})")
print(f"Soon: http://larlet.test:8001{note.url} ({note.title})")
# Detect if there is code for syntax highlighting + monospaced font.
has_code = "<code>" in note.content
# Do not link to unpublished notes.

Loading…
取消
儲存