Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2023-02-06 08:21:32 +0300
committerMarcel Amirault <mamirault@gitlab.com>2023-02-06 08:21:32 +0300
commit2425b55fbb159b2ddca5c548b5c8646b7fbdff08 (patch)
treeab4383be7587627b389fcc54c1f5ac659549671d /layouts
parentce1b7e34b3588202083ebf3bb044bfa741b42408 (diff)
parent295e4c74875ad4f0b464ae5df262c2b7ce004ba0 (diff)
Merge branch 'sarahg/template-metadata' into 'main'
Remove article metadata from page template See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/3513 Merged-by: Marcel Amirault <mamirault@gitlab.com> Approved-by: Marcel Amirault <mamirault@gitlab.com> Co-authored-by: Sarah German <sgerman@gitlab.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html24
1 files changed, 0 insertions, 24 deletions
diff --git a/layouts/default.html b/layouts/default.html
index d4bdd2c6..6aad0f8f 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -47,30 +47,6 @@
<main>
<div class="row">
<div class="col">
- <div class="article-metadata">
- <% if @item[:author] and @item[:author_gitlab] %>
- Article written by <a href="https://gitlab.com/<%= @item[:author_gitlab] %>" target="_blank"><%= @item[:author] %></a>
- &#8226;
- <% end %>
- <% if @item[:date] %>
- on <%= @item[:date] %>
- &#8226;
- <% end %>
- <% if @item[:article_type] %>
- Type: <%= @item[:article_type] %>
- <% end %>
- <% if @item[:level] %>
- Level: <%= @item[:level] %>
- &#8226;
- <% end %>
- <% if @item[:last_updated] %>
- Last updated: <%= @item[:last_updated] %>
- &#8226;
- <% end %>
- <% if @item[:reading_time] %>
- <%= reading_time(item.raw_content.split.size) %> to read
- <% end %>
- </div>
<div class="article-content js-article-content" role="main" itemscope itemprop="mainContentOfPage">
<%= yield %>
</div>