postnhost 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/app/helpers/postnhost/settings_helper.rb +2 -1
- data/app/views/postnhost/shared/_seo_meta_tags.html.erb +2 -2
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fr.yml +1 -0
- data/config/locales/ja.yml +1 -0
- data/config/locales/ko.yml +1 -0
- data/config/locales/pl.yml +1 -0
- data/config/locales/pt.yml +1 -0
- data/config/locales/ru.yml +1 -0
- data/lib/postnhost/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bcd90636cfb8600e9520f84ed6f8442db5ede5ec2e40a52a9441ca59d8b34925
|
|
4
|
+
data.tar.gz: fbe2f3be5195e46253cb88a9326f678a824cb9813d0e6d97417a2dc45ba3fae6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da095a00b5375c846045b5c776b04a088085d016fd5a1aab9ecc6cb1acd884f13497144f012711caaf4d1ec4cd715a8a3b3790048825ebd8783a5a8fb7bda383
|
|
7
|
+
data.tar.gz: 06c8dcd184ae2088969d3aaee053c8a199ec3c4bed5fee1dcd8d5cac1b5388ed8477395f49fca60162bf536c6b7c3b64f46dbe80fc668e00c93161a071e52b64
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to PostnHost are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.3] - 2026-11-18
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Use `postnhost.public.site.og_image_alt` for default Open Graph and Twitter image alt text instead of hardcoded branding. The key is translated in all shipped locales and editable in Settings → I18n as Default OG Image Alt Text.
|
|
10
|
+
- Preserve article-specific cover image alt text.
|
|
11
|
+
|
|
12
|
+
### Upgrading existing blogs
|
|
13
|
+
|
|
14
|
+
Update any exact Gemfile pin to PostnHost 0.2.3, run `bundle update postnhost`, and deploy. No database migration is required. Host applications can also override the new key in their locale files. Copied `postnhost/shared/_seo_meta_tags.html.erb` partials must use the translation key to receive this change.
|
|
15
|
+
|
|
5
16
|
## [0.2.2] - 2026-11-17
|
|
6
17
|
|
|
7
18
|
### Fixed
|
|
@@ -7,7 +7,8 @@ module Postnhost
|
|
|
7
7
|
"postnhost.public.site.blog_tagline" => "Tagline",
|
|
8
8
|
"postnhost.public.site.blog_subtitle" => "Subtitle",
|
|
9
9
|
"postnhost.public.site.blog_meta_title" => "Meta Title",
|
|
10
|
-
"postnhost.public.site.blog_meta_description" => "Meta Description"
|
|
10
|
+
"postnhost.public.site.blog_meta_description" => "Meta Description",
|
|
11
|
+
"postnhost.public.site.og_image_alt" => "Default OG Image Alt Text"
|
|
11
12
|
}.freeze
|
|
12
13
|
|
|
13
14
|
def setting_site_logo_src
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<meta property="og:image:secure_url" content="<%= setting_og_image_absolute_url %>" data-turbo-track="reload">
|
|
30
30
|
<meta property="og:image:width" content="1200" data-turbo-track="reload">
|
|
31
31
|
<meta property="og:image:height" content="630" data-turbo-track="reload">
|
|
32
|
-
<meta property="og:image:alt" content="postnhost
|
|
32
|
+
<meta property="og:image:alt" content="<%= t("postnhost.public.site.og_image_alt") %>" data-turbo-track="reload">
|
|
33
33
|
<% end %>
|
|
34
34
|
|
|
35
35
|
<!-- Twitter Card data -->
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<% end %>
|
|
47
47
|
<% else %>
|
|
48
48
|
<meta name="twitter:image" content="<%= setting_og_image_absolute_url %>" data-turbo-track="reload">
|
|
49
|
-
<meta name="twitter:image:alt" content="postnhost
|
|
49
|
+
<meta name="twitter:image:alt" content="<%= t("postnhost.public.site.og_image_alt") %>" data-turbo-track="reload">
|
|
50
50
|
<% end %>
|
|
51
51
|
|
|
52
52
|
<!-- Article specific meta tags -->
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/ko.yml
CHANGED
data/config/locales/pl.yml
CHANGED
data/config/locales/pt.yml
CHANGED
data/config/locales/ru.yml
CHANGED
data/lib/postnhost/version.rb
CHANGED