publish static pages

This commit is contained in:
spune 2023-08-14 21:46:29 -06:00
parent 2cca617c5a
commit 50f70b37c7
26 changed files with 1504 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.hugo_build.lock

36
public/404.html Normal file
View File

@ -0,0 +1,36 @@
<!DOCTYPE html>
<html class="no-js" 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">
<meta name="theme-color" content="#1b1b1b">
<title>404 Page not found | EFNet News</title>
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
<meta name="description" content="">
<link rel="stylesheet" href="/css/bundle.css">
<link rel="icon" href="/icons/16.png" sizes="16x16" type="image/png">
<link rel="icon" href="/icons/32.png" sizes="32x32" type="image/png">
</head>
<body class="body kind-404">
<header class="header">
<a class="logo" href="/">EFNet News</a>
</header>
<div class="primary">
<main class="main">
<div class="page404 block center">
<h1 class="page404__title">404 Page not found</h1>
<p class="page404__lead">Sorry, the page you were looking for doesn&#39;t exist.</p>
<a class="page404__link" href="/">Go back to main page</a>
</div>
</main>
</div>
<footer class="footer">
<div class="footer__copyright">© 2023 EFNet News. <span class="footer__copyright-credits">Powered by <a href="https://gohugo.io/" rel="nofollow noopener" target="_blank">Hugo</a> and <a href="https://github.com/vimux/binario" rel="nofollow noopener" target="_blank">Binario</a> theme.</span></div>
</footer>
</body>
</html>

BIN
public/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 B

View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html class="no-js" 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">
<meta name="theme-color" content="#1b1b1b">
<title>Categories | EFNet News</title>
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
<meta name="description" content="">
<link rel="stylesheet" href="/css/bundle.css">
<link rel="icon" href="/icons/16.png" sizes="16x16" type="image/png">
<link rel="icon" href="/icons/32.png" sizes="32x32" type="image/png">
<link rel="alternate" type="application/rss+xml" href="/categories/index.xml" title="EFNet News">
</head>
<body class="body kind-taxonomy">
<header class="header">
<a class="logo" href="/">EFNet News</a>
</header>
<div class="primary">
<main class="main">
<div class="page block">
<h1 class="page__title">Categories</h1>
</div>
<div class="cards">
</div>
</main>
</div>
<footer class="footer">
<div class="footer__copyright">© 2023 EFNet News. <span class="footer__copyright-credits">Powered by <a href="https://gohugo.io/" rel="nofollow noopener" target="_blank">Hugo</a> and <a href="https://github.com/vimux/binario" rel="nofollow noopener" target="_blank">Binario</a> theme.</span></div>
</footer>
</body>
</html>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on EFNet News</title>
<link>https://enn.efnot.org/categories/</link>
<description>Recent content in Categories on EFNet News</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://enn.efnot.org/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://enn.efnot.org/categories/</title>
<link rel="canonical" href="https://enn.efnot.org/categories/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://enn.efnot.org/categories/">
</head>
</html>

1149
public/css/bundle.css Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
a {
color: #77baff;
}
blockquote {
border-color: #77baff;
}
mark {
background-color: #77baff;
}
.logo:hover {
color: #77baff;
}
.main-nav__btn {
fill: #77baff;
}
.toc {
color: #77baff;
}
.share__icon {
fill: #77baff;
stroke: #77baff;
}

View File

@ -0,0 +1,28 @@
a {
color: #9ccc6c;
}
blockquote {
border-color: #9ccc6c;
}
mark {
background-color: #9ccc6c;
}
.logo:hover {
color: #9ccc6c;
}
.main-nav__btn {
fill: #9ccc6c;
}
.toc {
color: #9ccc6c;
}
.share__icon {
fill: #9ccc6c;
stroke: #9ccc6c;
}

View File

@ -0,0 +1,28 @@
a {
color: #ff5562;
}
blockquote {
border-color: #ff5562;
}
mark {
background-color: #ff5562;
}
.logo:hover {
color: #ff5562;
}
.main-nav__btn {
fill: #ff5562;
}
.toc {
color: #ff5562;
}
.share__icon {
fill: #ff5562;
stroke: #ff5562;
}

View File

@ -0,0 +1,28 @@
a {
color: #bc7de8;
}
blockquote {
border-color: #bc7de8;
}
mark {
background-color: #bc7de8;
}
.logo:hover {
color: #bc7de8;
}
.main-nav__btn {
fill: #bc7de8;
}
.toc {
color: #bc7de8;
}
.share__icon {
fill: #bc7de8;
stroke: #bc7de8;
}

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/icons/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

BIN
public/icons/192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 B

BIN
public/icons/32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

BIN
public/icons/48.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 B

BIN
public/icons/512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

BIN
public/img/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

40
public/index.html Normal file
View File

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html class="no-js" lang="en-us">
<head>
<meta name="generator" content="Hugo 0.117.0">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#1b1b1b">
<title>EFNet News</title>
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
<meta name="description" content="">
<link rel="stylesheet" href="/css/bundle.css">
<link rel="icon" href="/icons/16.png" sizes="16x16" type="image/png">
<link rel="icon" href="/icons/32.png" sizes="32x32" type="image/png">
<link rel="alternate" type="application/rss+xml" href="/index.xml" title="EFNet News">
</head>
<body class="body kind-home">
<header class="header">
<a class="logo" href="/">EFNet News</a>
</header>
<div class="primary">
<main class="main">
<div class="empty block center">
<div class="empty__icon">¯\_(ツ)_/¯</div>
<h3 class="empty__title">You don&#39;t have any posts yet!</h3>
<p class="empty__text">As posts are added in your <code>mainSections</code> folders (), they&#39;ll appear here.</p>
<p class="empty__tip"><b>Tip:</b> You could change <code>mainSections</code> folders in site config file.</p>
</div>
</main>
</div>
<footer class="footer">
<div class="footer__copyright">© 2023 EFNet News. <span class="footer__copyright-credits">Powered by <a href="https://gohugo.io/" rel="nofollow noopener" target="_blank">Hugo</a> and <a href="https://github.com/vimux/binario" rel="nofollow noopener" target="_blank">Binario</a> theme.</span></div>
</footer>
</body>
</html>

10
public/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>EFNet News</title>
<link>https://enn.efnot.org/</link>
<description>Recent content on EFNet News</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://enn.efnot.org/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

13
public/js/menu.js Normal file
View File

@ -0,0 +1,13 @@
const toggle = document.getElementById('toggle');
const menu = document.getElementById('menu');
function toggleMenu() {
menu.classList.toggle('main-nav__list--active');
this.classList.toggle('main-nav__btn--active');
this.setAttribute(
'aria-expanded',
this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true'
);
}
toggle.addEventListener('click', toggleMenu, false);

10
public/page/1/index.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://enn.efnot.org/</title>
<link rel="canonical" href="https://enn.efnot.org/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://enn.efnot.org/">
</head>
</html>

11
public/sitemap.xml Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://enn.efnot.org/categories/</loc>
</url><url>
<loc>https://enn.efnot.org/</loc>
</url><url>
<loc>https://enn.efnot.org/tags/</loc>
</url>
</urlset>

41
public/tags/index.html Normal file
View File

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html class="no-js" 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">
<meta name="theme-color" content="#1b1b1b">
<title>Tags | EFNet News</title>
<script>(function(d,e){d[e]=d[e].replace("no-js","js");})(document.documentElement,"className");</script>
<meta name="description" content="">
<link rel="stylesheet" href="/css/bundle.css">
<link rel="icon" href="/icons/16.png" sizes="16x16" type="image/png">
<link rel="icon" href="/icons/32.png" sizes="32x32" type="image/png">
<link rel="alternate" type="application/rss+xml" href="/tags/index.xml" title="EFNet News">
</head>
<body class="body kind-taxonomy">
<header class="header">
<a class="logo" href="/">EFNet News</a>
</header>
<div class="primary">
<main class="main">
<div class="page block">
<h1 class="page__title">Tags</h1>
</div>
<div class="cards">
</div>
</main>
</div>
<footer class="footer">
<div class="footer__copyright">© 2023 EFNet News. <span class="footer__copyright-credits">Powered by <a href="https://gohugo.io/" rel="nofollow noopener" target="_blank">Hugo</a> and <a href="https://github.com/vimux/binario" rel="nofollow noopener" target="_blank">Binario</a> theme.</span></div>
</footer>
</body>
</html>

10
public/tags/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on EFNet News</title>
<link>https://enn.efnot.org/tags/</link>
<description>Recent content in Tags on EFNet News</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://enn.efnot.org/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>https://enn.efnot.org/tags/</title>
<link rel="canonical" href="https://enn.efnot.org/tags/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=https://enn.efnot.org/tags/">
</head>
</html>