Przeglądaj źródła

Move runner to site

master
David Larlet 4 lat temu
rodzic
commit
5344f7d3c1
Nie znaleziono w bazie danych klucza dla tego podpisu
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      site.py

runner.py → site.py Wyświetl plik

@@ -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.

Ładowanie…
Anuluj
Zapisz