diff options
author | Sarah German <sgerman@gitlab.com> | 2023-02-03 19:52:42 +0300 |
---|---|---|
committer | Sarah German <sgerman@gitlab.com> | 2023-02-03 19:52:42 +0300 |
commit | 295e4c74875ad4f0b464ae5df262c2b7ce004ba0 (patch) | |
tree | 4165500460fdbdbe88c7a30e3994bd7fd86eac54 /layouts | |
parent | 504e764254a006be6b623a1b72d89e65707cc02f (diff) |
Remove article metadata from page template
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.html | 24 |
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> - • - <% end %> - <% if @item[:date] %> - on <%= @item[:date] %> - • - <% end %> - <% if @item[:article_type] %> - Type: <%= @item[:article_type] %> - <% end %> - <% if @item[:level] %> - Level: <%= @item[:level] %> - • - <% end %> - <% if @item[:last_updated] %> - Last updated: <%= @item[:last_updated] %> - • - <% 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> |