| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| {% if page.description %} | |
| <meta name="description" content="{{ page.description }}"> | |
| {% endif %} | |
| <meta name="author" content="{{ site.author }}"> | |
| {% if page.tags %} | |
| <meta name="keywords" content="{{ page.tags|join:','}}" /> | |
| {% else %} | |
| <meta name="keywords" content="{{ site.keywords|join:','}}" /> | |
| {% endif %} | |
| {% if page.title %} | |
| <title>{{ page.title }} | Apache Libcloud</title> | |
| {% else %} | |
| <title>{{ site.title }} | Apache Libcloud</title> | |
| {% endif %} | |
| <!-- fav icons --> | |
| <link rel="shortcut icon" href="/images/favicon.png" /> | |
| <link rel="apple-touch-icon" href="/images/apple-touch-icon.png" /> | |
| <link rel="apple-touch-icon-precomposed" href="/images/apple-touch-icon.png" /> | |
| <link href="/blog/atom.xml" type="application/atom+xml" rel="alternate" title="Apache Libcloud Blog Feed" /> | |
| <!-- Facebook OpenGraph tags --> | |
| <meta content="{{ site.title }}" property="og:site_name"> | |
| {% if page.title %} | |
| <meta content="{{ page.title }}" property="og:title"> | |
| {% else %} | |
| <meta content="{{ site.title }}" property="og:title"> | |
| {% endif %} | |
| {% if page.url == "/" or page.url == "/index.html" %} | |
| <meta content="{{ site.url }}/images/media/libcloud-logo-with-text-medium.png" property="og:image"> | |
| {% endif %} | |
| {% if page.description %} | |
| <meta content="{{ page.description }}" property="og:description"> | |
| {% endif %} | |
| {% if page.title and page.tags %} | |
| <meta content="article" property="og:type"> | |
| {% else %} | |
| <meta content="website" property="og:type"> | |
| {% endif %} | |
| {% if page.url %} | |
| <meta content="{{ site.url }}{{ page.url }}" property="og:url"> | |
| {% endif %} | |
| {% if page.date %} | |
| <meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time"> | |
| <meta content="{{ site.url }}/about.html" property="article:author"> | |
| {% endif %} | |
| {% if page.tags %} | |
| {% for tag in page.tags %} | |
| <meta content="{{ tag }}" property="article:tag"> | |
| {% endfor %} | |
| {% endif %} | |
| {% css_asset_tag global %} | |
| - /_assets/css/extern/bootstrap.css | |
| - /_assets/css/extern/syntax/colorful.css | |
| - /_assets/css/material-switch.css | |
| - /_assets/css/main.css | |
| {% endcss_asset_tag %} | |
| </head> | |
| <body data-spy="scroll" data-target=".sidebar-nav" data-offset="80"> | |
| <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation"> | |
| <div class="container"> | |
| <div class="navbar-header"> | |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> | |
| <span class="sr-only">Toggle navigation</span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| <span class="icon-bar"></span> | |
| </button> | |
| <a class="navbar-brand" href="/"><img src="/images/libcloud_logo.png" class="navbar-logo" /> Apache Libcloud</a> | |
| </div> | |
| <div class="collapse navbar-collapse navbar-ex1-collapse"> | |
| <ul class="nav navbar-nav"> | |
| {% assign url = page.url | remove:"index.html" | replace: ".html", "" %} | |
| {% for item in site.navigation %} | |
| {% assign item_url = item.url | remove:"index.html" | replace: ".html", "" %} | |
| <li {% if item.text != "Home" and url == item_url %}class="active"{% endif %}><a href="{{ item.url }}" {% if item.external %}target="_blank"{% endif %}>{{ item.text }}</a></li> | |
| {% endfor %} | |
| </ul> | |
| <div class="material-switch pull-right"> | |
| <input id="theme-switch" name="theme-switch" type="checkbox" onclick="modeSwitcher()"/> | |
| <label for="theme-switch" class="label-default"></label> | |
| <span id="theme-toggle" class="theme-switch">Dark mode</span> | |
| </div> | |
| </div><!-- /.navbar-collapse --> | |
| </div><!-- /.container --> | |
| </nav> | |
| <div class="container main-container"> | |
| {{ content }} | |
| <hr /> | |
| <footer> | |
| <div class="row"> | |
| <div class="col-lg-12 text-center"> | |
| {% include footer.html %} | |
| </div> | |
| </div> | |
| </footer> | |
| </div><!-- /.container --> | |
| <!-- JavaScript --> | |
| {% javascript_asset_tag global %} | |
| - _assets/js/extern/jquery-3.6.0.js | |
| - _assets/js/extern/bootstrap.js | |
| - _assets/js/main.js | |
| - _assets/js/mode-switcher.js | |
| {% endjavascript_asset_tag %} | |
| {% if page.url == "/" or page.url == "/index.html" %} | |
| {% javascript_asset_tag index %} | |
| - _assets/js/code-examples.js | |
| {% endjavascript_asset_tag %} | |
| {% endif %} | |
| {% include analytics.html %} | |
| {% include asf_events.html %} | |
| </body> | |
| </html> |