-
Notifications
You must be signed in to change notification settings - Fork 0
/
boilerplate.py
53 lines (45 loc) · 1.3 KB
/
boilerplate.py
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
writeTo = """
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Turrnut</title>
<link rel="stylesheet" href="../css/styles.css">
<link rel="icon" type="image/x-icon" href="../icon/turrnut.ico">
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<a href="../" class="logo">
<img src="../icon/turrnut.png" alt="Logo Icon" class="logo-icon">
Turrnut
</a>
<button class="hamburger" id="hamburger">
<span></span>
<span></span>
<span></span>
</button>
<ul class="nav-links" id="nav-links">
<li><a href="../">Home</a></li>
<li><a href="https://www.youtube.com/@turrnut" target="_blank">YouTube</a></li>
<li><a href="../blogs/">Blog</a></li>
<li><a href="../turrnesian/">Turrnesian</a></li>
<li><a href="../about/">About</a></li>
</ul>
</nav>
<!-- STUFF -->
<br/>
<br/>
<br/>
<br/>
<!-- Footer -->
<footer class="footer">
Copyright (c) Turrnut 2024
</footer>
<script src="../js/script.js"></script>
</body>
</html>
"""
with open("example.html", "w") as fobj:
fobj.write(writeTo)