-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.gohtml
More file actions
85 lines (77 loc) · 2.95 KB
/
index.gohtml
File metadata and controls
85 lines (77 loc) · 2.95 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="assets/css/style.css" />
<meta name="theme-color" content="#151515" />
<meta name="msapplication-navbutton-color" content="#151515" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="shortcut icon" type="image/x-icon" href="assets/images/favicon.ico">
<title>{{ .NumFeeds }} Security Blogs</title>
<meta property="og:title" content="Security Blogs" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="{{ .NumFeeds }} Security Blogs News Feed" />
<meta property="og:description" content="{{ .NumFeeds }} Security Blogs News Feed" />
<link rel="canonical" href="https://securityblogs.xyz/" />
<meta property="og:url" content="https://securityblogs.xyz/" />
<meta property="og:site_name" content="{{ .NumFeeds }} Security Blogs" />
<meta property="og:type" content="website" />
</head>
<body>
<header>
<div class="container">
<a id="a-title" href="/">
<!-- Add a count for number of blogs -->
<h1>{{ .NumFeeds }} Security Blogs</h1>
</a>
<br>
<br>
<h4>Last Updated: {{ .LastUpdated }}</h4>
<span><a href="https://github.com/CyberT17/secblogs/blob/main/rssFeeds.json/" target="_blank">Blog List</a></span>
|
<span><a href="https://github.com/CyberT17/secblogs/" target="_blank">Github</a></span>
|
<span><a href="https://securityblogs.xyz/securityblogs.opml" download="securityblogs.opml">OPML</a></span>
</div>
</header>
<div class="container">
<section id="main_content">
{{ range .DateBlogs}}
<div class="items">
<h2>{{ .Date }}</h2>
{{ range .Blogs }}
<div class="text-with-dashes">
<span>{{ .Blog }}</span>
<div class="dashes"></div>
<span><a href="{{ .Url }}" target="_blank">{{ .Title }}</a></span>
</div>
<br>
{{ end }}
<br>
</div>
{{ end }}
</section>
<footer class="footer">
<span>Made by <a href="https://kevinpatel.xyz/" target="_blank">Kevin Patel</a></span>
</footer>
<br>
<button onclick="topFunction()" id="top-link" title="Go to top" aria-label="Go to top"></button>
</div>
<script>
window.onscroll = function () { scrollFunction() };
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("top-link").style.display = "block";
} else {
document.getElementById("top-link").style.display = "none";
}
}
function topFunction() {
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE, and Opera
}
</script>
</body>
</html>