Debian Codegraph @

closure-library/doc/_layouts/article.html

raw
1 <!DOCTYPE html>
2
3 <!-- Documentation licensed under CC BY 4.0 -->
4 <!-- License available at https://creativecommons.org/licenses/by/4.0/ -->
5
6 <meta charset="UTF-8">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 {% include favicon.html %}
9 <link rel="stylesheet" type="text/css"
10 href="https://fonts.googleapis.com/css?family=Roboto:500,400,300,100">
11 <link rel="stylesheet" type="text/css" href="{{site.baseurl}}/css/article.css">
12 <link rel="stylesheet" type="text/css" href="{{site.baseurl}}/css/syntax.css">
13
14 <title>{{page.title}}</title>
15
16 <body>
17 <header>
18 <a href="{{site.baseurl}}" class="closurelogo"><div></div></a>
19 <h1><a href="{{site.baseurl}}">
20 {{page.product_name}}
21 </a></h1>
22 <nav>
23 {% capture navbar %}{% include navbar.md %}{% endcapture %}
24 {{navbar|markdownify}}
25 </nav>
26 </header>
27
28 <div>
29 <nav class="side vertical">
30 {% if page.section %}
31 {% capture sidenav %}{% include {{page.section}}/sitemap.md %}{% endcapture %}
32 {{sidenav|markdownify}}
33 {% endif %}
34 </nav>
35 <nav class="toc vertical float">
36 <ul>
37 <li class="heading"><a href="#top_of_page">Contents</a>
38 </ul>
39 </nav>
40 <div id="_toc">
41 <p>[TOC]</p>
42 </div>
43
44 <article>
45 <h1 id="top_of_page">{{page.heading}}</h1>
46 <nav class="toc vertical inline">
47 <ul>
48 <li class="heading"><a href="#top_of_page">Contents</a>
49 </ul>
50 </nav>
51 {{content}}
52 </article>
53 </div>
54
55 <footer>
56 <!-- TODO(user): abstract this out if we add more buttons. -->
57 <a class="edit">
58 <div><div></div><div><div>Edit on GitHub</div></div></div>
59 </a>
60 </footer>
61
62 <script>
63 window['_JEKYLL_DATA'] = {
64 'page.ga': '{{page.ga}}',
65 'page.section': '{{page.section}}',
66 {% if page.toc.max %}'page.toc.max': {{page.toc.max}},{% endif %}
67 {% if page.toc.min %}'page.toc.min': {{page.toc.min}},{% endif %}
68 'site.baseurl': '{{site.baseurl}}',
69 '': ''
70 };
71 </script>
72 <script src="{{site.baseurl}}/js/article.js"></script>
73 <script>closure.docs.initialize();</script>
74 </body>