ソースを参照

Move runner to site

master
David Larlet 4年前
コミット
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.

読み込み中…
キャンセル
保存