|
|
|
|
|
|
|
|
published = [note for note in unpublished if not note.is_draft] |
|
|
published = [note for note in unpublished if not note.is_draft] |
|
|
for previous, note, next_ in neighborhood(unpublished, last=notes_2018): |
|
|
for previous, note, next_ in neighborhood(unpublished, last=notes_2018): |
|
|
if note.is_draft: |
|
|
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. |
|
|
# Detect if there is code for syntax highlighting + monospaced font. |
|
|
has_code = "<code>" in note.content |
|
|
has_code = "<code>" in note.content |
|
|
# Do not link to unpublished notes. |
|
|
# Do not link to unpublished notes. |