| 1 |
{% extends "!layout.html" %} |
| 2 |
{% set html5_doctype = True %} |
| 3 |
{% set script_files = script_files + ['_static/instaloaderdoc.js'] %} |
| 4 |
{% block htmltitle %} |
| 5 |
{% if pagename == "index" %} |
| 6 |
<title>{{ title|striptags|e }}</title> |
| 7 |
{% else %} |
| 8 |
<title>{{ title|striptags|e }}{{ titlesuffix }}</title> |
| 9 |
{% endif %} |
| 10 |
{% endblock %} |
| 11 |
{% block extrahead %} |
| 12 |
{{ super() }} |
| 13 |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 14 |
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8"/> |
| 15 |
{% if pagename == "index" %} |
| 16 |
<link rel="canonical" href="https://instaloader.github.io/"/> |
| 17 |
{% else %} |
| 18 |
<link rel="canonical" href="https://instaloader.github.io/{{ pagename }}.html"/> |
| 19 |
{% endif %} |
| 20 |
{% endblock %} |
| 21 |
{% block header %} |
| 22 |
<nav class="navbar navbar-light navbar-expand bg-light border-bottom"> |
| 23 |
<a class="navbar-brand" href="{{ pathto(master_doc) }}"> |
| 24 |
<img src="{{ pathto('_static/logo.png', 1) }}" width="30" height="30" class="d-inline-block align-top" alt="logo"> |
| 25 |
<span class="ml-3">Instaloader</span> |
| 26 |
</a> |
| 27 |
<ul class="navbar-nav mr-auto"> |
| 28 |
<li class="nav-item ml-0 ml-sm-2"> |
| 29 |
<a class="nav-link" |
| 30 |
href="https://github.com/instaloader/instaloader/releases/tag/v{{ current_release }}" |
| 31 |
title="Released on {{ current_release_date }}" data-toggle="tooltip"> |
| 32 |
v<b>{{ current_release }}</b> |
| 33 |
</a> |
| 34 |
</li> |
| 35 |
</ul> |
| 36 |
<ul class="navbar-nav ml-auto d-none d-sm-flex"> |
| 37 |
<li class="nav-item"> |
| 38 |
<a class="nav-link" href="https://github.com/instaloader/instaloader/issues"> |
| 39 |
Issues |
| 40 |
</a> |
| 41 |
</li> |
| 42 |
<li class="nav-item"> |
| 43 |
<a class="nav-link" href="https://github.com/instaloader/instaloader/releases"> |
| 44 |
Releases |
| 45 |
</a> |
| 46 |
</li> |
| 47 |
<li class="nav-item"> |
| 48 |
<a class="nav-link" href="https://github.com/instaloader/instaloader"> |
| 49 |
GitHub |
| 50 |
</a> |
| 51 |
</li> |
| 52 |
</ul> |
| 53 |
<button class="d-inline-block d-md-none btn btn-outline-primary btn-sm" type="button" |
| 54 |
data-toggle="collapse" data-target="#instaloaderdocSidebar" aria-controls="instaloaderdocSidebar" |
| 55 |
aria-expanded="false" aria-label="Toggle navigation"> |
| 56 |
<span class="navbar-toggler-icon"></span> |
| 57 |
</button> |
| 58 |
</nav> |
| 59 |
{% endblock %} |
| 60 |
{% block relbar1 %}{% endblock %} |
| 61 |
{% block relbar2 %}{% endblock %} |
| 62 |
{% block footer %}{% endblock %} |
| 63 |
{% block content %} |
| 64 |
<div class="container-fluid"> |
| 65 |
<div class="row"> |
| 66 |
<div class="instaloaderdoc-sidebar collapse d-md-block col-md-3 col-xl-2 bg-light" |
| 67 |
id="instaloaderdocSidebar"> |
| 68 |
<nav role="navigation" aria-label="Table of Contents"> |
| 69 |
<form action="{{ pathto('search') }}" method="get" role="search" class="border-bottom mr-2 pb-2 mb-2 px-1"> |
| 70 |
<label class="sr-only" for="searchQueryInput">Search</label> |
| 71 |
<input type="search" name="q" id="searchQueryInput" class="form-control my-2" |
| 72 |
placeholder="Search..." aria-label="Search"> |
| 73 |
</form> |
| 74 |
<h4>Contents</h4> |
| 75 |
{{ toctree(maxdepth=-1) }} |
| 76 |
</nav> |
| 77 |
</div> |
| 78 |
<main class="col-12 col-md-9 col-xl-10 pt-2" role="main"> |
| 79 |
{% block body %}{% endblock %} |
| 80 |
</main> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
{% endblock %} |