|
6 | 6 | <head> |
7 | 7 | <meta charset="utf-8"> |
8 | 8 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
9 | | - <title> » Overview</title> |
10 | | - <meta name="description" content=""> |
| 9 | + <title>{{ meta['title'] if meta and meta['title'] else title }} - Deis Documentation</title> |
| 10 | + <meta name="description" content="{{ meta['description'] if meta }}"> |
| 11 | + <meta name="keywords" content="{{ meta['keywords'] if meta }}" /> |
11 | 12 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
12 | | - <link rel="stylesheet" href="http://deis.io/wp-content/themes/deis/css/bootstrap.css"> |
13 | | - <link rel="stylesheet" href="http://deis.io/wp-content/themes/deis/css/bootstrap-responsive.css"> |
14 | | - <link rel="stylesheet" href="http://deis.io/wp-content/themes/deis/css/main.css"> |
15 | | - <link rel="pingback" href="http://deis.io/xmlrpc.php" /> |
16 | | - <link rel="shortcut icon" href="http://deis.io/wp-content/themes/deis/img/favicon.ico"/> |
17 | | - |
18 | | - |
19 | | - <script src="http://deis.io/wp-content/themes/deis/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script> |
| 13 | + <link rel="stylesheet" href="{{ pathto('_static/css/bootstrap.min.css', 1) }}" type="text/css"> |
| 14 | + <link rel="stylesheet" href="{{ pathto('_static/css/main.css', 1) }}" type="text/css"> |
| 15 | + <link rel="stylesheet" href="{{ pathto('_static/css/bootstrap-responsive.min.css', 1) }}" type="text/css"> |
| 16 | + <link rel="shortcut icon" href="{{ pathto('_static/favicon.ico', 1) }}"> |
| 17 | + <script |
| 18 | + <script src="{{ pathto('_static/js/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}"></script> |
20 | 19 | <meta name='robots' content='noindex,nofollow' /> |
21 | | -<link rel="alternate" type="application/rss+xml" title="Deis » Overview Comments Feed" href="http://deis.io/overview/feed/" /> |
22 | | -<link rel='stylesheet' id='admin-bar-css' href='http://deis.io/wp-includes/css/admin-bar.min.css?ver=3.5.2' type='text/css' media='all' /> |
23 | | -<link rel='stylesheet' id='core3.0-css' href='http://deis.io/wp-content/plugins/wp-syntaxhighlighter/syntaxhighlighter3/styles/shCore.css?ver=3.0' type='text/css' media='all' /> |
24 | | -<link rel='stylesheet' id='core-Default3.0-css' href='http://deis.io/wp-content/plugins/wp-syntaxhighlighter/syntaxhighlighter3/styles/shCoreDefault.css?ver=3.0' type='text/css' media='all' /> |
25 | | -<link rel='stylesheet' id='theme-Default3.0-css' href='http://deis.io/wp-content/plugins/wp-syntaxhighlighter/syntaxhighlighter3/styles/shThemeDefault.css?ver=3.0' type='text/css' media='all' /> |
26 | | -<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://deis.io/xmlrpc.php?rsd" /> |
27 | | -<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://deis.io/wp-includes/wlwmanifest.xml" /> |
28 | | -<link rel='prev' title='Home' href='http://deis.io/' /> |
29 | | -<link rel='next' title='Get Deis' href='http://deis.io/get-deis/' /> |
30 | | -<link rel='canonical' href='http://deis.io/overview/' /> |
| 20 | + {%- if pagename == 'index' %} |
| 21 | + <link rel="canonical" href="http://deis.io/docs/latest/"> |
| 22 | + {% else %} |
| 23 | + <link rel="canonical" href="http://deis.io/docs/latest/{{ pagename }}/"> |
| 24 | + {% endif %} |
31 | 25 | <style type="text/css" media="print">#wpadminbar { display:none; }</style> |
32 | 26 | <style type="text/css" media="screen"> |
33 | 27 | html { margin-top: 28px !important; } |
34 | 28 | * html body { margin-top: 28px !important; } |
35 | 29 | </style> |
| 30 | + {% block extrahead %}{% endblock %} |
36 | 31 | </head> |
37 | 32 | <body style="zoom: 1;"> |
38 | 33 | <!--[if lt IE 7]> |
39 | 34 | <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p> |
40 | 35 | <![endif]--> |
41 | 36 |
|
42 | | - <a class="fork" href="http://github.com/opdemand/deis"><img src="http://deis.io/wp-content/themes/deis/img/fork.png" alt="GitHub Fork Button"></a> |
| 37 | + <a class="fork" href="http://github.com/opdemand/deis"><img src="{{ pathto('_static/img/fork.png', 1) }}" alt="GitHub Fork Button"></a> |
43 | 38 | <div class="container"> |
44 | 39 | <div class="row"> |
45 | 40 | <div class="span3 hoop"> |
46 | 41 | <div class="nav-border top-spacing"> |
47 | 42 | <ul class="nav nav-list menu"> |
48 | | - <li><a href="/"><img class="logo" src="http://deis.io/wp-content/themes/deis/img/menu-logo.png" alt="deis logo"></a></li> |
| 43 | + <li><a href="/"><img class="logo" src="{{ pathto('_static/img/menu-logo.png', 1) }}" alt="deis logo"></a></li> |
49 | 44 | <li class="divider"></li> |
50 | 45 | <li class="navitem"><a href="http://deis.io/overview/">Overview</a></li> |
51 | 46 | <li class="divider"></li> |
|
0 commit comments