diff options
author | Mark Otto <markdotto@gmail.com> | 2017-07-03 01:38:07 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-07-03 01:38:07 +0300 |
commit | 6c24c687ee9f5a8646ff06b4d29a626d4cdb6acb (patch) | |
tree | 07c3064bc921353afff7745da1574217b3695da0 /docs | |
parent | 1e91bc2119d19f96b6e5ff8187d032692b5780e5 (diff) |
move skippy and v4 notice to partials
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_includes/skippy.html | 1 | ||||
-rw-r--r-- | docs/_includes/v4.html | 1 | ||||
-rw-r--r-- | docs/_layouts/default.html | 7 | ||||
-rw-r--r-- | docs/_layouts/home.html | 7 |
4 files changed, 6 insertions, 10 deletions
diff --git a/docs/_includes/skippy.html b/docs/_includes/skippy.html new file mode 100644 index 0000000000..65be98a547 --- /dev/null +++ b/docs/_includes/skippy.html @@ -0,0 +1 @@ +<a id="skippy" class="sr-only sr-only-focusable" href="#content"><div class="container"><span class="skiplink-text">Skip to main content</span></div></a> diff --git a/docs/_includes/v4.html b/docs/_includes/v4.html new file mode 100644 index 0000000000..9171930d02 --- /dev/null +++ b/docs/_includes/v4.html @@ -0,0 +1 @@ +<a href="http://getbootstrap.com/" class="v4-tease">Looking for Bootstrap 4?</a> diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 670f538f2d..dd2b850db4 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -1,17 +1,14 @@ <!DOCTYPE html> <html lang="en"> <head> - <!-- Meta, title, CSS, favicons, etc. --> {% include header.html %} </head> <body> - <a id="skippy" class="sr-only sr-only-focusable" href="#content"><div class="container"><span class="skiplink-text">Skip to main content</span></div></a> - <a href="http://blog.getbootstrap.com/2016/07/27/bootstrap-4-alpha-3/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a> + {% include skippy.html %} + {% include v4.html %} - <!-- Docs master nav --> {% include nav/main.html %} - <!-- Docs page layout --> <div class="bs-docs-header" id="content" tabindex="-1"> <div class="container"> <h1>{{ page.title }}</h1> diff --git a/docs/_layouts/home.html b/docs/_layouts/home.html index 8ec943e254..011b533650 100644 --- a/docs/_layouts/home.html +++ b/docs/_layouts/home.html @@ -1,17 +1,14 @@ <!DOCTYPE html> <html lang="en"> <head> - <!-- Meta, title, CSS, favicons, etc. --> {% include header.html %} </head> <body class="bs-docs-home"> - <a id="skippy" class="sr-only sr-only-focusable" href="#content"><div class="container"><span class="skiplink-text">Skip to main content</span></div></a> - <a href="http://blog.getbootstrap.com/2016/07/27/bootstrap-4-alpha-3/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a> + {% include skippy.html %} + {% include v4.html %} - <!-- Docs master nav --> {% include nav/main.html %} - <!-- Page content of course! --> {{ content }} {% include footer.html %} |