From 705aec8f0fe49600dd33d05d02e9285aab99a500 Mon Sep 17 00:00:00 2001 From: Matthias Zirnstein Date: Wed, 8 Jan 2025 12:59:32 +0100 Subject: [PATCH 1/3] Fix Alchemy Guides links - Change http to https - Remove /stable TODO - For /menues.html I didnt find an appropriate page to replace with --- app/views/alchemy/welcome.html.erb | 2 +- lib/generators/alchemy/install/files/alchemy.en.yml | 8 ++++---- lib/generators/alchemy/install/templates/menus.yml.tt | 2 +- .../alchemy/install/templates/page_layouts.yml.tt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/views/alchemy/welcome.html.erb b/app/views/alchemy/welcome.html.erb index b8a0839eb4..09ef6bda53 100644 --- a/app/views/alchemy/welcome.html.erb +++ b/app/views/alchemy/welcome.html.erb @@ -19,7 +19,7 @@

diff --git a/lib/generators/alchemy/install/files/alchemy.en.yml b/lib/generators/alchemy/install/files/alchemy.en.yml index 7f9ef34283..36a8aa8b3a 100644 --- a/lib/generators/alchemy/install/files/alchemy.en.yml +++ b/lib/generators/alchemy/install/files/alchemy.en.yml @@ -19,7 +19,7 @@ en: article_headline: "Welcome to your first Alchemy CMS page" article_text: |

How to get started.

-

First of all you should read about Alchemy and it's architecture in the guidelines.

+

First of all you should read about Alchemy and it's architecture in the guidelines.

The most important things to know about Alchemy are elements and page layouts.

Elements:

With Alchemy you can split pages into content parts, elements. These elements can be defined out of several base content types: ingredients. The ingredients are:

@@ -32,11 +32,11 @@ en:
  • Boolean - A checkbox
  • Elements get defined in config/alchemy/elements.yml.

    -

    Read more about elements and how to define them in the guidelines.

    +

    Read more about elements and how to define them in the guidelines.

    Page types:

    You can define several types of pages, called page layouts. You can assign elements to page layouts and control how elements and the page of a certain layout behave.

    Page layouts get defined in config/alchemy/page_layouts.yml.

    -

    Read more about defining page layouts in the guidelines.

    +

    Read more about defining page layouts in the guidelines.

    # Hint texts for elements element_hints: @@ -46,4 +46,4 @@ en: ingredient_hints: headline: "This is a single line of unformatable Text" picture: "Pictures are stored in the library. You can assign a picture multiple times throughout your site. Alchemy has an image cropper build right in." - text: "This is a rich text block powered by TinyMCE editor. You can change the configuration of the editor. See http://guides.alchemy-cms.com/customize_tinymce.html" + text: "This is a rich text block powered by TinyMCE editor. You can change the configuration of the editor. See https://guides.alchemy-cms.com/customize_tinymce.html" diff --git a/lib/generators/alchemy/install/templates/menus.yml.tt b/lib/generators/alchemy/install/templates/menus.yml.tt index e5a9b67d9c..790237da4a 100644 --- a/lib/generators/alchemy/install/templates/menus.yml.tt +++ b/lib/generators/alchemy/install/templates/menus.yml.tt @@ -1,6 +1,6 @@ # == In this configuration, you set up Alchemy's menu names. # -# For further information please see http://guides.alchemy-cms.com/stable/menus.html +# For further information please see https://guides.alchemy-cms.com/menus.html <%- unless @options[:skip_demo_files] -%> - main_menu diff --git a/lib/generators/alchemy/install/templates/page_layouts.yml.tt b/lib/generators/alchemy/install/templates/page_layouts.yml.tt index 858e2441da..45a73a3907 100644 --- a/lib/generators/alchemy/install/templates/page_layouts.yml.tt +++ b/lib/generators/alchemy/install/templates/page_layouts.yml.tt @@ -1,6 +1,6 @@ # == This file defines the page layouts for new pages. # -# For further information please see http://guides.alchemy-cms.com/stable/page_layouts.html +# For further information please see https://guides.alchemy-cms.com/pages.html <%- unless @options[:skip_demo_files] -%> - name: <%= Alchemy::Config.get(:default_language)['page_layout'] %> From 3438084d3233545411f82ceb1d6eea2993017897 Mon Sep 17 00:00:00 2001 From: Matthias Zirnstein Date: Wed, 8 Jan 2025 13:15:32 +0100 Subject: [PATCH 2/3] Add noopener to Guides links --- lib/generators/alchemy/install/files/alchemy.en.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/generators/alchemy/install/files/alchemy.en.yml b/lib/generators/alchemy/install/files/alchemy.en.yml index 36a8aa8b3a..b148fe6040 100644 --- a/lib/generators/alchemy/install/files/alchemy.en.yml +++ b/lib/generators/alchemy/install/files/alchemy.en.yml @@ -19,7 +19,7 @@ en: article_headline: "Welcome to your first Alchemy CMS page" article_text: |

    How to get started.

    -

    First of all you should read about Alchemy and it's architecture in the guidelines.

    +

    First of all you should read about Alchemy and it's architecture in the guidelines.

    The most important things to know about Alchemy are elements and page layouts.

    Elements:

    With Alchemy you can split pages into content parts, elements. These elements can be defined out of several base content types: ingredients. The ingredients are:

    @@ -32,11 +32,11 @@ en:
  • Boolean - A checkbox
  • Elements get defined in config/alchemy/elements.yml.

    -

    Read more about elements and how to define them in the guidelines.

    +

    Read more about elements and how to define them in the guidelines.

    Page types:

    You can define several types of pages, called page layouts. You can assign elements to page layouts and control how elements and the page of a certain layout behave.

    Page layouts get defined in config/alchemy/page_layouts.yml.

    -

    Read more about defining page layouts in the guidelines.

    +

    Read more about defining page layouts in the guidelines.

    # Hint texts for elements element_hints: From 68f5b1d8880f3461fce0cdbfd992c2ca7c57a9b5 Mon Sep 17 00:00:00 2001 From: Matthias Zirnstein Date: Wed, 8 Jan 2025 13:15:47 +0100 Subject: [PATCH 3/3] Change Guides link inside menus.yml.tt /menus.html does'nt exist anymore --- lib/generators/alchemy/install/templates/menus.yml.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/alchemy/install/templates/menus.yml.tt b/lib/generators/alchemy/install/templates/menus.yml.tt index 790237da4a..7a6a3a85a8 100644 --- a/lib/generators/alchemy/install/templates/menus.yml.tt +++ b/lib/generators/alchemy/install/templates/menus.yml.tt @@ -1,6 +1,6 @@ # == In this configuration, you set up Alchemy's menu names. # -# For further information please see https://guides.alchemy-cms.com/menus.html +# For further information please see https://guides.alchemy-cms.com/ <%- unless @options[:skip_demo_files] -%> - main_menu