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:
authorSarah German <sgerman@gitlab.com>2023-02-03 19:52:42 +0300
committerSarah German <sgerman@gitlab.com>2023-02-03 19:52:42 +0300
commit295e4c74875ad4f0b464ae5df262c2b7ce004ba0 (patch)
tree4165500460fdbdbe88c7a30e3994bd7fd86eac54 /layouts
parent504e764254a006be6b623a1b72d89e65707cc02f (diff)
Remove article metadata from page template
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>