Commit graph

16 commits

Author SHA1 Message Date
51e507e649 Update mixin.rb 2024-06-21 19:04:17 -03:00
29993663d7 Add ability to cache-bust opengraph images 2024-06-21 06:14:23 -03:00
fea1d737f2 Add server.base_url, audio.base_url
With this change the website can be hosted on
any domain (up to being entirely independent of
al-quran.reflectslight.io) by configuring a
couple of variables.
2024-06-02 03:11:48 -03:00
76bb19e3ac Fix opengraph.rb 2024-05-25 23:18:41 -03:00
09365dd283 Add opengraph to /<locale>/random/ 2024-05-25 23:12:42 -03:00
5b10986d22 Update opengraph.rb 2024-05-25 23:08:37 -03:00
4d5ddcbfe0 Shorten opengraph description
Shorten the opengraph description to be just
the surah's name. The page's meta description
remains the same.
2024-05-19 18:01:16 -03:00
d299621488 Add opengraph to root path
Default to the canonical (/en/) for the
title, description, and images.
2024-05-16 17:02:35 -03:00
fe32825e2b src/html/*.html.erb => src/html/main/*.html.erb 2024-05-15 00:35:45 -03:00
d7cb6f62be images/opengraph/ -> images/og/
But most importantly, for src/og/0.png:

* resize to 512x512
* apply a white background
* similar to the format for og/1.png, og/2.png, etc
2024-05-02 07:32:11 -03:00
cc3b8f27a9 quran.png -> 0.png 2024-05-02 07:15:01 -03:00
f544be4144 Fix / improve render of meta tags (stream.html.erb) 2024-05-01 00:00:45 -03:00
84b44f081c Set surah_name within opengraph.rb 2024-02-26 18:20:38 -03:00
d0b046431d Add opengraph support to /en/, /ar/ 2023-11-12 17:09:57 -03:00
88630bae1b 'erb' is relative to the html directory 2023-10-07 19:29:52 -03:00
4850546eb1 Add 'Mixin' 2023-10-07 19:29:52 -03:00
Renamed from nanoc/lib/mixins/opengraph.rb (Browse further)