Commit 8c917a87 authored by Jaime Martinez's avatar Jaime Martinez

Update links in Pages settings

Updates the links in the Pages settings page to
point to the Pages documentation and to the sample
projects, as well as the CI templates for Pages.
parent bd3fe6d4
...@@ -4,7 +4,10 @@ ...@@ -4,7 +4,10 @@
= s_('GitLabPages|Configure pages') = s_('GitLabPages|Configure pages')
.card-body .card-body
%p.gl-mb-0 %p.gl-mb-0
- link_start = "<a href='#{help_page_path('user/project/pages/index.md')}' target='_blank' rel='noopener noreferrer'>".html_safe - docs_link_start = "<a href='#{help_page_path('user/project/pages/index.md')}' target='_blank' rel='noopener noreferrer'>".html_safe
- link_end = '</a>'.html_safe - docs_link_end = '</a>'.html_safe
= s_('GitLabPages|Learn how to upload your static site and have it served by GitLab by following the %{link_start}documentation on GitLab Pages%{link_end}.').html_safe % { link_start: link_start, - samples_link_start = "<a href='https://gitlab.com/pages' target='_blank' rel='noopener noreferrer'>".html_safe
link_end: link_end } - samples_link_end = '</a>'.html_safe
- templates_link_start = "<a href='https://gitlab.com/gitlab-org/project-templates' target='_blank' rel='noopener noreferrer'>".html_safe
- templates_link_end = '</a>'.html_safe
= s_('GitLabPages|See the %{docs_link_start}GitLab Pages documentation%{docs_link_end} to learn how to upload your static site and have it served by GitLab. You can also follow a %{samples_link_start}sample project%{samples_link_end} or use a %{templates_link_start}GitLab CI template%{templates_link_end}.').html_safe % { docs_link_start: docs_link_start, docs_link_end: docs_link_end, samples_link_start: samples_link_start, samples_link_end: samples_link_end, templates_link_start: templates_link_start, templates_link_end: templates_link_end }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment