-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathheader.empy
More file actions
96 lines (86 loc) · 2.57 KB
/
header.empy
File metadata and controls
96 lines (86 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
@# -*- html -*-
@# Globals that must be set before including this file:
@#
@# page_id (without .empy or .html)
@# page_title
@#####################################################################
@{import re}
@[def nav_link(id, name, link=None)]
@[if link is None]
@{link = "/" + id + ".html"}
@[end if]
@[if id == page_id]
@{cl = ' class="current"'}
@[else]
@{cl = ""}
@[end if]
<a@cl href="@link">@name</a>
@[end def]
@[def ext_link(name, link)]
<a href="@link">@name</a>
@[end def]
@{latest_version = "4.13.5"}
@#####################################################################
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ccache — @page_title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="ccache.css">
</head>
<body>
<header>
<div class="container">
<h1>
<a href="/">
<span style="font-size: 150%; ">Ccache</span> — a fast C/C++ compiler cache
</a>
</h1>
<button class="sidebar-toggle" aria-label="Toggle menu">☰</button>
</div>
</header>
<div class="layout">
<div class="overlay"></div>
<aside class="sidebar">
<nav>
<ul>
<li>@nav_link("overview", "Overview", "/")</li>
<li>@nav_link("download", "Download")</li>
<li>
@nav_link("documentation", "Documentation")
<ul>
<li>
@nav_link("platform-compiler-language-support", "Supported platforms and compilers")
</li>
<li>@nav_link("storage-helpers", "Storage helpers")</li>
<li>@nav_link("performance", "Performance")</li>
</ul>
</li>
<li>
@nav_link("contribution", "Contribution")
<ul>
<li>
@nav_link("bugs", "Bug report")
</li>
<li>
@nav_link("repo", "Source repository")
</li>
<li>
@ext_link("Discussions", "https://github.com/ccache/ccache/discussions")
</li>
<li>
@ext_link("Mailing list", "https://lists.samba.org/mailman/listinfo/ccache/")
</li>
</ul>
</li>
<li>@nav_link("news", "News")</li>
<li>@nav_link("credits", "Credits")</li>
<li>@nav_link("license", "License")</li>
</ul>
</nav>
</aside>
<main class="content">
@[if page_title != "Compiler cache"]
<h1>@page_title</h1>
@[end if]