diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-01-30 18:03:16 +0300 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-01-30 18:03:16 +0300 |
commit | fa8e30a2730531d7c6f1efc73d3c7a251f6253fd (patch) | |
tree | cf879026c6c733d00c944b62723a8a12ee6befa6 /content | |
parent | 2d1cb56dc752e7e66fdf59b6b35961aa0ed9ab12 (diff) |
add schema.org "SiteNavigationElement" microdata
Diffstat (limited to 'content')
-rw-r--r-- | content/index.erb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/index.erb b/content/index.erb index 429c3d70..527f62fc 100644 --- a/content/index.erb +++ b/content/index.erb @@ -2,13 +2,13 @@ title: GitLab Documentation --- -<ul class="topics"> +<ul class="topics" itemscope itemtype="http://www.schema.org/SiteNavigationElement"> <% @config[:products].each do |name, product| %> <% if product[:expose] == true %> <li class="topic-<%= product[:slug] %>"> - <a href="<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>"> + <a href="<%= @items["/#{product[:slug]}/#{product[:index_file]}"].path %>" itemprop="url"> <div class="wrapper"> - <h2><%= product[:full_name] %></h2> + <h2 itemprop="name"><%= product[:full_name] %></h2> <p><%= product[:description] %></p> </div> </a> |