-
Notifications
You must be signed in to change notification settings - Fork 0
/
themew1in.html
60 lines (53 loc) · 1.96 KB
/
themew1in.html
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
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-indigo.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>{{ site.title | default: site.github.repository_name }}</title>
<style>
t1 { white-space: pre-wrap;}
</style>
</head>
<body>
<!-- Sidebar -->
<div class="w3-sidebar w3-light-grey w3-bar-block w3-large w3-collapse w3-card-2 w3-animate-left"
style="width:200px;" id="mySidebar">
<button class="w3-bar-item w3-button w3-large w3-hide-large" onclick="w3_close()">Close ×</button>
{% for item in site.webpages %}
{% assign bs = "" %}
{% if page.url == item.url %}
{% assign bs = " w3-gray" %}
{% endif %}
<a href='{{ item.url | relative_url }}' class='w3-bar-item w3-button{{ bs }}'>{{ item.title }}</a>
{% endfor %}
</div>
<!-- Page Content -->
<div class="w3-main" style="margin-left:200px">
<div class="w3-theme-dark">
<button class="w3-button w3-theme-dark w3-xlarge w3-hide-large" onclick="w3_open()">☰</button>
</div>
<div class="w3-container w3-theme">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
</div>
{% if page.image_url %}
<img class='w3-image' src='{{ page.image_url | relative url }}' style='width:100%'>
{% endif %}
<div class="w3-container">
{{ content }}
</div>
<div class="w3-container w3-theme-dark">
<center><h6>This theme along with others can be found on <a href="https://github.com/emrickj/jekyll-themes">GITHUB</a>.</h6></center>
</div>
</div>
<script>
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
}
</script>
</body>
</html>