diff options
Diffstat (limited to 'website/_layouts')
-rw-r--r-- | website/_layouts/base.html | 9 | ||||
-rw-r--r-- | website/_layouts/blog.html | 17 | ||||
-rw-r--r-- | website/_layouts/default.html | 14 | ||||
-rw-r--r-- | website/_layouts/docs.html | 57 | ||||
-rw-r--r-- | website/_layouts/post.html | 10 |
5 files changed, 0 insertions, 107 deletions
diff --git a/website/_layouts/base.html b/website/_layouts/base.html deleted file mode 100644 index b30bee0dc..000000000 --- a/website/_layouts/base.html +++ /dev/null @@ -1,9 +0,0 @@ -<!DOCTYPE html> -<html lang="en" itemscope itemtype="https://schema.org/WebPage"> - {% include header.html %} - <body> - {% include header-links.html %} - {{ content }} - {% include footer.html %} - </body> -</html> diff --git a/website/_layouts/blog.html b/website/_layouts/blog.html deleted file mode 100644 index 6c371ab50..000000000 --- a/website/_layouts/blog.html +++ /dev/null @@ -1,17 +0,0 @@ ---- -layout: base ---- - -<div class="container"> - <div class="row"> - <div class="col-lg-2"></div> - <div class="col-lg-8"> - <h1>{{ page.title }}</h1> - {% if page.feed %} - <a class="btn-inverse" href="/blog/index.xml">Feed <i class="fas fa-rss ml-2"></i></a> - {% endif %} - {{ content }} - </div> - <div class="col-lg-2"></div> - </div> -</div> diff --git a/website/_layouts/default.html b/website/_layouts/default.html deleted file mode 100644 index e5523e3fc..000000000 --- a/website/_layouts/default.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: base ---- -{% if page.title %} -<div class="container"> - <div class="page-header"> - <h1>{{ page.title }}</h1> - </div> -</div> -{% endif %} - -<div class="container"> - {{ content }} -</div> diff --git a/website/_layouts/docs.html b/website/_layouts/docs.html deleted file mode 100644 index d45a781a4..000000000 --- a/website/_layouts/docs.html +++ /dev/null @@ -1,57 +0,0 @@ ---- -layout: base -categories: - - Project - - User Guide - - Architecture Guide - - Compatibility ---- - -<div class="container"> - <div class="row"> - <div class="col-md-3"> - <nav class="sidebar" id="sidebar-nav"> - {% for category in layout.categories %} - <h3>{{ category }}</h3> - <ul class="sidebar-nav"> - {% assign subcats = site.pages | where: 'layout', 'docs' | where: 'category', category | group_by: 'subcategory' | sort: 'name', 'first' %} - {% for subcategory in subcats %} - {% assign sorted_pages = subcategory.items | where: 'include_in_menu', true | sort: 'weight', 'last' %} - {% comment %}If all pages in the subcategory are excluded don't show it.{% endcomment %} - {% if sorted_pages.size > 0 %} - {% if subcategory.name != "" %} - {% assign ac = "aria-controls" %} - {% assign cid = category | remove: " " | downcase %} - {% assign sid = subcategory.name | remove: " " | downcase %} - <li> - <a class="sidebar-nav-heading" data-toggle="collapse" href="#{{ cid }}-{{ sid }}" aria-expanded="false" {{ ac }}="{{ cid }}-{{ sid }}">{{ subcategory.name }}<span class="caret"></span></a> - <ul class="collapse sidebar-nav sidebar-submenu" id="{{ cid }}-{{ sid }}"> - {% endif %} - {% for p in sorted_pages %} - <li><a href="{{ p.url }}">{{ p.title }}</a></li> - {% endfor %} - {% if subcategory.name != "" %} - </li> - </ul> - {% endif %} - {% endif %} - {% endfor %} - </ul> - {% endfor %} - </nav> - </div> - - <div class="col-md-9"> - <h1>{{ page.title }}</h1> - {% if page.editpath %} - <p> - <a href="https://github.com/google/gvisor/edit/master/{{page.editpath}}" target="_blank" rel="noopener"><i class="fa fa-edit fa-fw"></i> Edit this page</a> - <a href="https://github.com/google/gvisor/issues/new?title={{page.title | url_encode}}" target="_blank" rel="noopener"><i class="fab fa-github fa-fw"></i> Create issue</a> - </p> - {% endif %} - <div class="docs-content"> - {{ content }} - </div> - </div> - </div> -</div> diff --git a/website/_layouts/post.html b/website/_layouts/post.html deleted file mode 100644 index 640bee5af..000000000 --- a/website/_layouts/post.html +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: blog ---- - -<div class="blog-meta"> - {% include byline.html authors=page.authors date=page.date %} -</div> -<div class="blog-content"> - {{ content }} -</div> |