This commit is contained in:
naoufal zerai 2022-08-17 16:36:54 -04:00
parent 166f250430
commit afa605b9aa
25 changed files with 542 additions and 0 deletions

0
.hugo_build.lock Normal file
View File

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

4
config.toml Normal file
View File

@ -0,0 +1,4 @@
baseURL = 'http://example.org/'
languageCode = 'en-us'
title = 'Zerai.xyz'
theme = 'lugo'

8
content/about.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "About"
date: 2022-08-16T23:05:07-04:00
tags: ['personal','test']
# draft: true
---
Hello 👋

View File

@ -0,0 +1,6 @@
---
title: "Hello World"
date: 2022-08-16T23:13:10-04:00
# draft: true
---
hello world

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
command = "hugo"
publish = "public"

31
public/about/index.html Normal file
View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>About | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="Hello 👋">
<meta name="keywords" content="personal, test">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1>About</h1></header>
<article>
<p>Hello 👋</p>
<div id="nextprev"><a href="/blog/hello-world/"><div id="nextart">Next:<br>Hello World</div></a>
</div>
<div style="clear:both" class=taglist><a id="tag_personal" href="http://example.org/tags/personal">Personal</a> &middot; <a id="tag_test" href="http://example.org/tags/test">Test</a></div>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

View File

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="hello world">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1>Hello World</h1></header>
<article>
<p>hello world</p>
<div id="nextprev">
<a href="/about/"><div id="prevart">Previous:<br>About</div></a>
</div>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

30
public/blog/index.html Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Blogs | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_Blogs">Blogs</h1></header>
<article>
<ul>
<li><time datetime="2022-08-16T23:13:10-04:00">2022 Aug 16</time> &ndash; <a href="/blog/hello-world/">Hello World</a></li>
</ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

24
public/blog/index.xml Normal file
View File

@ -0,0 +1,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/blog/</link>
<description>Recent content in Blogs on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2022 23:13:10 -0400</lastBuildDate>
<atom:link href="http://example.org/blog/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Hello World</title>
<link>http://example.org/blog/hello-world/</link>
<pubDate>Tue, 16 Aug 2022 23:13:10 -0400</pubDate>
<guid>http://example.org/blog/hello-world/</guid>
<description>&lt;p&gt;hello world&lt;/p&gt;
</description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Categories | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_Categories">Categories</h1></header>
<article>
<ul></ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

View File

@ -0,0 +1,13 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/categories/</link>
<description>Recent content in Categories on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

33
public/index.html Normal file
View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.92.2" />
<title>Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_Zerai.xyz">Zerai.xyz</h1></header>
<article>
<ul>
<li><time datetime="2022-08-16T23:13:10-04:00">2022 Aug 16</time> &ndash; <a href="/blog/">Blogs</a></li>
<li><time datetime="2022-08-16T23:05:07-04:00">2022 Aug 16</time> &ndash; <a href="/about/">About</a></li>
</ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

33
public/index.xml Normal file
View File

@ -0,0 +1,33 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/</link>
<description>Recent content on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2022 23:13:10 -0400</lastBuildDate>
<atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Blogs</title>
<link>http://example.org/blog/</link>
<pubDate>Tue, 16 Aug 2022 23:13:10 -0400</pubDate>
<guid>http://example.org/blog/</guid>
<description></description>
</item>
<item>
<title>About</title>
<link>http://example.org/about/</link>
<pubDate>Tue, 16 Aug 2022 23:05:07 -0400</pubDate>
<guid>http://example.org/about/</guid>
<description>&lt;p&gt;Hello 👋&lt;/p&gt;
</description>
</item>
</channel>
</rss>

1
public/rss.svg Normal file
View File

@ -0,0 +1 @@
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 455.731 455.731" style="enable-background:new 0 0 455.731 455.731;" xml:space="preserve"><g><rect x="0" y="0" style="fill:#F78422;" width="455.731" height="455.731"/><g><path style="fill:#FFFFFF;" d="M296.208,159.16C234.445,97.397,152.266,63.382,64.81,63.382v64.348 c70.268,0,136.288,27.321,185.898,76.931c49.609,49.61,76.931,115.63,76.931,185.898h64.348 C391.986,303.103,357.971,220.923,296.208,159.16z"/><path style="fill:#FFFFFF;" d="M64.143,172.273v64.348c84.881,0,153.938,69.056,153.938,153.939h64.348 C282.429,270.196,184.507,172.273,64.143,172.273z"/><circle style="fill:#FFFFFF;" cx="109.833" cy="346.26" r="46.088"/></g></g></svg>

After

Width:  |  Height:  |  Size: 920 B

28
public/sitemap.xml Normal file
View File

@ -0,0 +1,28 @@
<?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>http://example.org/blog/</loc>
<lastmod>2022-08-16T23:13:10-04:00</lastmod>
</url><url>
<loc>http://example.org/blog/hello-world/</loc>
<lastmod>2022-08-16T23:13:10-04:00</lastmod>
</url><url>
<loc>http://example.org/</loc>
<lastmod>2022-08-16T23:13:10-04:00</lastmod>
</url><url>
<loc>http://example.org/about/</loc>
<lastmod>2022-08-16T23:05:07-04:00</lastmod>
</url><url>
<loc>http://example.org/tags/personal/</loc>
<lastmod>2022-08-16T23:05:07-04:00</lastmod>
</url><url>
<loc>http://example.org/tags/</loc>
<lastmod>2022-08-16T23:05:07-04:00</lastmod>
</url><url>
<loc>http://example.org/tags/test/</loc>
<lastmod>2022-08-16T23:05:07-04:00</lastmod>
</url><url>
<loc>http://example.org/categories/</loc>
</url>
</urlset>

45
public/style.css Normal file
View File

@ -0,0 +1,45 @@
body {
font-family: sans-serif ;
background: #110000 ;
color: #ccc ;
}
main {
max-width: 800px ;
margin: auto ;
}
img {
max-width: 100% ;
}
header h1 {
text-align: center ;
}
footer {
text-align: center ;
clear: both ;
}
/* For TAGLIST.HTML */
.taglist {
text-align: center ;
clear: both ;
}
/* For NEXTPREV.HTML */
#nextprev {
/* The container for both the previous and next articles. */
}
#prevart {
float: left ;
text-align: left ;
}
#nextart {
float: right ;
text-align: right ;
}
#nextart,#prevart {
max-width: 33% ;
}

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

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tags | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_Tags">Tags</h1></header>
<article>
<ul>
<li><time datetime="2022-08-16T23:05:07-04:00">2022 Aug 16</time> &ndash; <a href="/tags/personal/">personal</a></li>
<li><time datetime="2022-08-16T23:05:07-04:00">2022 Aug 16</time> &ndash; <a href="/tags/test/">test</a></li>
</ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

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

@ -0,0 +1,32 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/tags/</link>
<description>Recent content in Tags on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2022 23:05:07 -0400</lastBuildDate>
<atom:link href="http://example.org/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>personal</title>
<link>http://example.org/tags/personal/</link>
<pubDate>Tue, 16 Aug 2022 23:05:07 -0400</pubDate>
<guid>http://example.org/tags/personal/</guid>
<description></description>
</item>
<item>
<title>test</title>
<link>http://example.org/tags/test/</link>
<pubDate>Tue, 16 Aug 2022 23:05:07 -0400</pubDate>
<guid>http://example.org/tags/test/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Personal | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_personal">Personal</h1></header>
<article>
<ul>
<li><time datetime="2022-08-16T23:05:07-04:00">2022 Aug 16</time> &ndash; <a href="/about/">About</a></li>
</ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

View File

@ -0,0 +1,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/tags/personal/</link>
<description>Recent content in personal on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2022 23:05:07 -0400</lastBuildDate>
<atom:link href="http://example.org/tags/personal/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>About</title>
<link>http://example.org/about/</link>
<pubDate>Tue, 16 Aug 2022 23:05:07 -0400</pubDate>
<guid>http://example.org/about/</guid>
<description>&lt;p&gt;Hello 👋&lt;/p&gt;
</description>
</item>
</channel>
</rss>

View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test | Zerai.xyz</title>
<link rel="canonical" href="http://example.org/">
<link rel='alternate' type='application/rss+xml' title="Zerai.xyz RSS" href='/index.xml'>
<link rel='stylesheet' type='text/css' href='/style.css'>
<link rel="icon" href="/favicon.ico">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="index, follow">
<meta charset="utf-8">
</head>
<body>
<main>
<header><h1 id="tag_test">Test</h1></header>
<article>
<ul>
<li><time datetime="2022-08-16T23:05:07-04:00">2022 Aug 16</time> &ndash; <a href="/about/">About</a></li>
</ul>
</article>
</article>
</main>
<footer>
<a href="http://example.org/">http://example.org/</a><br><br>
<a href="/index.xml"><img src="/rss.svg" style="max-height:1.5em" alt="RSS Feed" title="Subscribe via RSS for updates."></a>
</footer>
</body>
</html>

View File

@ -0,0 +1,24 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Zerai.xyz</title>
<link>http://example.org/tags/test/</link>
<description>Recent content in test on Zerai.xyz</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Tue, 16 Aug 2022 23:05:07 -0400</lastBuildDate>
<atom:link href="http://example.org/tags/test/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>About</title>
<link>http://example.org/about/</link>
<pubDate>Tue, 16 Aug 2022 23:05:07 -0400</pubDate>
<guid>http://example.org/about/</guid>
<description>&lt;p&gt;Hello 👋&lt;/p&gt;
</description>
</item>
</channel>
</rss>

45
static/style.css Normal file
View File

@ -0,0 +1,45 @@
body {
font-family: sans-serif ;
background: #110000 ;
color: #ccc ;
}
main {
max-width: 800px ;
margin: auto ;
}
img {
max-width: 100% ;
}
header h1 {
text-align: center ;
}
footer {
text-align: center ;
clear: both ;
}
/* For TAGLIST.HTML */
.taglist {
text-align: center ;
clear: both ;
}
/* For NEXTPREV.HTML */
#nextprev {
/* The container for both the previous and next articles. */
}
#prevart {
float: left ;
text-align: left ;
}
#nextart {
float: right ;
text-align: right ;
}
#nextart,#prevart {
max-width: 33% ;
}

1
themes/lugo Submodule

@ -0,0 +1 @@
Subproject commit 75810cd2908c96ffed43e6c4646daf2413c4b3b1