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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c20e1f8fa119251d28a2c0fdfd4c14c07a41679a10ea9d070df0c40720303239
4
- data.tar.gz: e7f466ced7714261754fccb398a3e0ff2d83cbf68024ed85084b7f59827c25a1
3
+ metadata.gz: bcd90636cfb8600e9520f84ed6f8442db5ede5ec2e40a52a9441ca59d8b34925
4
+ data.tar.gz: fbe2f3be5195e46253cb88a9326f678a824cb9813d0e6d97417a2dc45ba3fae6
5
5
  SHA512:
6
- metadata.gz: ec9849a821de54370d9f1fdf47a10713f060c0c7b3f69fa820b109641c4b9dddbd6d99c96bc8c24fca817859fe3745bc3c0ce77a74ae93d3319b04aa4149e19b
7
- data.tar.gz: 1e6dbaa8a00af6f3b703b04904044f19a3791bf756ca197746b0d0ba3f674ec55a85f62c0fa76ac8a0be70c01894dab827360afe07bf027ebfc40d56079d26ba
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 - Modern blogging platform" data-turbo-track="reload">
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 - Modern blogging platform" data-turbo-track="reload">
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 -->
@@ -3,6 +3,7 @@ de:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – Moderne Blogging-Plattform"
6
7
  blog_tagline: "Blog"
7
8
  blog_subtitle: "Entdecken Sie die neuesten Einblicke, Tutorials und Geschichten"
8
9
  blog_meta_title: "Blog – PostnHost"
@@ -36,6 +36,7 @@ en:
36
36
  public:
37
37
  site:
38
38
  schema_site_name: "PostnHost"
39
+ og_image_alt: "postnhost - Modern blogging platform"
39
40
  blog_tagline: "Blog"
40
41
  blog_subtitle: "Discover the latest insights, tutorials, and stories"
41
42
  blog_meta_title: "Blog — PostnHost"
@@ -6,6 +6,7 @@ es:
6
6
  public:
7
7
  site:
8
8
  schema_site_name: "PostnHost"
9
+ og_image_alt: "postnhost – Plataforma moderna de blogs"
9
10
  blog_tagline: "Blog"
10
11
  blog_subtitle: "Descubre las últimas perspectivas, tutoriales e historias"
11
12
  blog_meta_title: "Blog — PostnHost"
@@ -3,6 +3,7 @@ fr:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – Plateforme de blog moderne"
6
7
  blog_tagline: "Blog"
7
8
  blog_subtitle: "Découvrez les dernières idées, tutoriels et histoires"
8
9
  blog_meta_title: "Blog — PostnHost"
@@ -3,6 +3,7 @@ ja:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – モダンなブログプラットフォーム"
6
7
  blog_tagline: "ブログ"
7
8
  blog_subtitle: "最新の洞察、チュートリアル、ストーリーをご覧ください"
8
9
  blog_meta_title: "ブログ|PostnHost"
@@ -3,6 +3,7 @@ ko:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – 현대적인 블로그 플랫폼"
6
7
  blog_tagline: "블로그"
7
8
  blog_subtitle: "최신 인사이트, 튜토리얼, 스토리를 만나보세요"
8
9
  blog_meta_title: "블로그 — PostnHost"
@@ -3,6 +3,7 @@ pl:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – Nowoczesna platforma blogowa"
6
7
  blog_tagline: "Blog"
7
8
  blog_subtitle: "Odkryj najnowsze spostrzeżenia, tutoriale i historie"
8
9
  blog_meta_title: "Blog – PostnHost"
@@ -3,6 +3,7 @@ pt:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost – Plataforma moderna de blogs"
6
7
  blog_tagline: "Blog"
7
8
  blog_subtitle: "Descubra os últimos insights, tutoriais e histórias"
8
9
  blog_meta_title: "Blog — PostnHost"
@@ -3,6 +3,7 @@ ru:
3
3
  public:
4
4
  site:
5
5
  schema_site_name: "PostnHost"
6
+ og_image_alt: "postnhost — Современная платформа для блогов"
6
7
  blog_tagline: "Блог"
7
8
  blog_subtitle: "Последние статьи, учебные материалы и истории"
8
9
  blog_meta_title: "Блог — PostnHost"
@@ -1,3 +1,3 @@
1
1
  module Postnhost
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postnhost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Shevchenko