From 6aadc28487141ce2e3e57f04a639b74c171c8af7 Mon Sep 17 00:00:00 2001 From: Isaac Mills Date: Sun, 7 Apr 2024 19:13:43 -0400 Subject: [PATCH] Add back open graph to articles --- assets/the_pipeline.svg | 2 +- src/how_to_run_a_journal.dj | 1 - templates/article.html | 17 +++++++++++++++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/assets/the_pipeline.svg b/assets/the_pipeline.svg index 66c7dfd..b8a8fb2 100644 --- a/assets/the_pipeline.svg +++ b/assets/the_pipeline.svg @@ -1 +1 @@ -
Articles are
served with
Articles are...
Search is powered
by
Search is powered...
Merges to prod
trigger CI
Merges to prod...
If article is good,
it gets merged
to prod
If article is good,...
Large assets
like images are
stored here
Large assets...
Forgejo
Compiles articles to HTML
Compiles articles to HTML
Woodpecker CI
Writers, editors, etc.
Write...
Articles are
statically
compressed
Articles are...
Articles are registered
and updated with
Articles are registered...
Pull requests are opened on
Pull requests are opened on

Djot

Articles are written in
Djot...
Uses git for incremental
rendering, and author
annotations
Uses git for incremental...
GitNGINXBrotli
Compressed articles
are written back to
server
Compressed articles...
MeilisearchGit LFS
+
Articles are
served with
Articles are...
Search is powered
by
Search is powered...
Merges to prod
trigger CI
Merges to prod...
If article is good,
it gets merged
to prod
If article is good,...
Large assets
like images are
stored here
Large assets...
Forgejo
Compiles articles to HTML
Compiles articles to HTML
Woodpecker CI
Writers, editors, etc.
Write...
Articles are
statically
compressed
Articles are...
Articles are registered
and updated with
Articles are registered...
Pull requests are opened on
Pull requests are opened on

Djot

Articles are written in
Djot...
Uses git for incremental
rendering, and author
annotations
Uses git for incremental...
GitNGINXBrotli
Compressed articles
are written back to
server
Compressed articles...
MeilisearchGit LFS
\ No newline at end of file diff --git a/src/how_to_run_a_journal.dj b/src/how_to_run_a_journal.dj index 03c9015..8599aeb 100644 --- a/src/how_to_run_a_journal.dj +++ b/src/how_to_run_a_journal.dj @@ -18,7 +18,6 @@ paragraph 1. list 2. list -3. list ``` The benefit of using djot is that it compiles directly to HTML, thus the jorunalists who have joined Compute don't need to learn HTML to write articles. They also don't need to learn a clunky slow website editor like Wix or Squarespace. diff --git a/templates/article.html b/templates/article.html index a365a50..65bcc57 100644 --- a/templates/article.html +++ b/templates/article.html @@ -5,8 +5,21 @@ {{title}} - + + + + + + + + + + {% for author in authors %} + + + + {% endfor %} @@ -55,4 +68,4 @@ - \ No newline at end of file +