Skip to content

Commit a32a4a7

Browse files
committed
first commit
1 parent 3016921 commit a32a4a7

28 files changed

+1765
-0
lines changed

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
+++
2+
date = '{{ .Date }}'
3+
draft = true
4+
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
5+
+++

content/_index.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Hi there! 👋
2+
3+
<img class="avatar" src="https://avataaars.io/?avatarStyle=Circle&topType=ShortHairShortCurly&accessoriesType=Prescription02&hairColor=Black&facialHairType=Blank&clotheType=BlazerShirt&eyeType=Happy&eyebrowType=DefaultNatural&mouthType=Default&skinColor=Pale" alt="avatar">
4+
5+
Hey, I'm Maverick - a minimal template. Maverick is a minimal Hugo blog theme base on Listed by Ronalds Vilciņš.
6+
7+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam finibus ipsum ac erat aliquam dapibus. Vestibulum vehicula placerat ex, a consectetur odio pharetra quis. Mauris id urna ante. Fusce pharetra diam ac nisi aliquet, vel egestas ex iaculis. Pellentesque laoreet cursus tellus sed pellentesque. Praesent a rhoncus elit. Nunc ipsum nisl, consequat sit amet pretium quis, gravida id ipsum.
8+
9+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Sit amet consectetur adipiscing elit ut aliquam purus. Massa tempor nec feugiat nisl pretium fusce id velit. Morbi quis commodo odio aenean sed adipiscing. Senectus et netus et malesuada fames ac. Tortor condimentum lacinia quis vel eros donec ac odio. Risus in hendrerit gravida rutrum quisque. Posuere ac ut consequat semper. Sodales ut etiam sit amet
10+
11+
- 📺 Demo: https://maverick.canhtran.me
12+
- ❤️ Github: https://github.com/canhtran/maverick
13+
14+
Thanks in advance
15+
16+
[<img src="https://images.squarespace-cdn.com/content/v1/5cf6ec742e677c000119beb3/1559871045027-2XSVXYWSZD9POBO0QOVD/buy-me-a-coffee-button.png" width="100"/>](https://www.buymeacoffee.com/canh)

content/pages/about.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: About
3+
---
4+
5+
**Maverick** is a minimalistic Hugo blogging theme. The theme is inspired from [Poole](https://getpoole.com) and [Listed](https://github.com/ronv/listed)
6+
7+
### Features
8+
9+
- Minimalistic, clean and simple design
10+
- Responsive design
11+
- Inline CSS
12+
- Anchor headings
13+
- Tags
14+
- 404 page
15+
- Compressed CSS and HTML
16+
- 100/100 score on Lighthouse, Page Speed Insights & Webpagetest
17+
- Robots.txt
18+
- Ultra fast
19+
- Github comment

content/posts/firstpost.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
+++
2+
author = "Hugo Authors"
3+
title = "Markdown Syntax Guide"
4+
date = "2022-03-20"
5+
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
6+
tags = [
7+
"markdown",
8+
"css",
9+
"html",
10+
]
11+
+++
12+
13+
Donec lorem urna, condimentum sit amet suscipit sit amet, varius sed ipsum. Phasellus sem leo, elementum in ultricies nec, aliquam a dolor. Pellentesque et lectus nulla. Vestibulum risus quam, porta nec erat eu, laoreet consectetur metus. Proin lacinia ultrices faucibus. Aliquam erat volutpat. Vivamus nisl urna, tristique sed tortor non, condimentum rhoncus lectus. Quisque venenatis a neque in mollis. Ut molestie ligula nec felis condimentum, eu imperdiet sapien facilisis. Morbi in consectetur lacus, non placerat arcu.
14+
15+
Maecenas laoreet magna ut ullamcorper aliquet. Cras vulputate aliquet libero, pharetra ultricies felis tempor ut. Vivamus et rhoncus tellus, nec sagittis odio. Nam sit amet dolor massa. Etiam in velit sapien. Nullam ullamcorper justo lacus, et sollicitudin felis euismod vitae. Morbi eget massa sit amet tellus mollis euismod vitae in urna. Phasellus commodo, est at varius feugiat, nibh leo molestie massa, vitae venenatis neque nibh sed lectus. Donec ut massa tortor.

hugo.toml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
baseURL = '/'
2+
languageCode = 'en-us'
3+
title = 'My New Hugo Site'
4+
theme = 'maverick'
5+
6+
[permalinks]
7+
pages = "/:slug"
8+
9+
[params]
10+
logo = '/assets/favicon.ico'
11+
description = "A minimal hugo theme focus on content"
12+
author = 'Calvin Tran'
13+
items = 10
14+
15+
[params.comments]
16+
enabled = true
17+
githubRepo = 'canhtran/maverick'
18+
theme = 'github-light'
19+
20+
21+
[menu]
22+
[[menu.main]]
23+
identifier = "about"
24+
name = "About"
25+
url = "/about/"
26+
weight = "-110"
27+
[[menu.main]]
28+
identifier = "posts"
29+
name = "Post"
30+
url = "/posts/"
31+
weight = -200
32+
33+
[markup]
34+
[markup.goldmark.renderer]
35+
unsafe = true
36+
[markup.highlight]
37+
anchorLineNos = false
38+
codeFences = true
39+
guessSyntax = false
40+
hl_Lines = ''
41+
hl_inline = false
42+
lineAnchors = ''
43+
lineNoStart = 1
44+
lineNos = false
45+
lineNumbersInTable = true
46+
noClasses = true
47+
noHl = false
48+
style = 'monokailight'
49+
tabWidth = 4
50+
51+
[taxonomies]
52+
tag = "tags"
53+
54+
[outputs]
55+
home = ["HTML", "RSS", "JSON"]
56+
section = ["HTML"]
57+
58+
[outputFormats.RSS]
59+
mediatype = "application/rss"
60+
baseName = "atom"
61+
62+
[outputFormats.JSON]
63+
mediatype = "application/json"
64+
baseName = "feed"
65+
66+
ignoreErrors = ["error-remote-getjson"]

public/404.html

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="author" content="Liste - //localhost:1313/">
8+
<title>404 Page not found | My New Hugo Site</title>
9+
<meta name="description" content="A minimal hugo theme focus on content">
10+
<meta property="og:url" content="//localhost:1313/404.html">
11+
<meta property="og:site_name" content="My New Hugo Site">
12+
<meta property="og:title" content="404 Page not found">
13+
<meta property="og:description" content="A minimal hugo theme focus on content">
14+
<meta property="og:locale" content="en_us">
15+
<meta property="og:type" content="website">
16+
17+
18+
<meta itemprop="name" content="404 Page not found">
19+
<meta itemprop="description" content="A minimal hugo theme focus on content">
20+
21+
<link rel="canonical" href="//localhost:1313/404.html">
22+
<link rel="icon" href="//localhost:1313//assets/favicon.ico">
23+
<link rel="dns-prefetch" href="https://www.google-analytics.com">
24+
<link href="https://www.google-analytics.com" rel="preconnect" crossorigin>
25+
<link rel="alternate" type="application/atom+xml" title="My New Hugo Site" href="//localhost:1313//atom.xml" />
26+
<link rel="alternate" type="application/json" title="My New Hugo Site" href="//localhost:1313//feed.json" />
27+
<link rel="shortcut icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=">
28+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Bricolage+Grotesque">
29+
30+
<style>*,:after,:before{box-sizing:border-box;padding:0}body{font:1rem/1.5 bricolage grotesque,-apple-system,BlinkMacSystemFont,segoe ui,Helvetica,Arial,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding:2rem;background:#fffdfa;color:#000}.skip-link{position:absolute;top:-40px;left:0;background:#eee;z-index:100}.skip-link:focus{top:0}header{display:flex;justify-content:space-between;align-items:center;position:relative;padding-bottom:1rem}header .burger{display:none;background:0 0;border:none;padding:0;cursor:pointer}header .burger span{display:block;width:25px;height:3px;background:#000;margin:5px 0;transition:all .3s ease}@media(max-width:768px){header .burger{display:block;z-index:2}header .nav-menu{position:fixed;top:0;right:-100%;width:100%;height:100vh;background:#fffdfa;padding:2rem;transition:.3s ease;z-index:1}header .nav-menu.active{right:0}header .nav-menu ul{flex-direction:column;align-items:center;width:100%}header .nav-menu ul li{display:block;font-size:1.2rem;border-bottom:1px dotted #000;height:50px;display:flex;justify-content:center;align-items:center}header.menu-open .burger span:first-child{transform:rotate(45deg)translate(5px,6px)}header.menu-open .burger span:nth-child(2){opacity:0}header.menu-open .burger span:last-child{transform:rotate(-45deg)translate(5px,-6px)}}header a{text-decoration:none}header ul{list-style-type:none;padding:0}header li,header a{display:inline}.link{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.time{font-variant-numeric:tabular-nums;white-space:nowrap}blockquote{border-left:5px solid #eee;padding-left:1rem;margin:0}a,a:visited{color:inherit}a:hover,a.heading-link{text-decoration:none}pre{padding:.5rem;overflow:auto;overflow-x:scroll;overflow-wrap:normal}code,pre{font-family:San Francisco Mono,Monaco,consolas,lucida console,dejavu sans mono,bitstream vera sans mono,monospace;font-size:normal;font-size:small;background:#eee}code{margin:.1rem;border:none;overflow:visible;overflow-wrap:anywhere}ul{list-style-type:square}ul,ol{padding-left:1.2rem}.list{line-height:2;list-style-type:none;padding-left:0}.list li{padding-bottom:.1rem}.meta{color:#777}.content{max-width:70ch;margin:0 auto}h2.post{padding-top:.5rem}header ul a:first-child{padding-left:1rem}.nav{height:1px;background:#000;content:'';max-width:10%}.list li{display:flex;align-items:baseline}.list li time{flex:initial}.hr-list{margin-top:0;margin-bottom:0;margin-right:.5rem;margin-left:.5rem;height:1px;border:0;border-bottom:1px dotted #ccc;flex:1 0 1rem}.m,hr{border:0;margin:3rem 0}img{max-width:100%;height:auto}.post-date{margin:5% 0}.index-date{color:#9a9a9a}.animate-blink{animation:opacity 1s infinite;opacity:1}@keyframes opacity{0%{opacity:1}50%{opacity:.5}100%{opacity:0}}.tags{display:flex;justify-content:space-between}.tags ul{padding:0;margin:0}.tags li{display:inline}.avatar{height:120px;width:120px;position:relative;margin:-10px 0 0 15px;float:right;border-radius:50%}table{width:100%;border-collapse:collapse}th,td{border:1px solid #ddd;text-align:left;padding:8px}th{background-color:#f2f2f2}</style>
31+
32+
33+
34+
<script>
35+
document.addEventListener('DOMContentLoaded', () => {
36+
const burger = document.querySelector('.burger');
37+
const nav = document.querySelector('.nav-menu');
38+
const header = document.querySelector('header');
39+
40+
if (burger) {
41+
burger.addEventListener('click', () => {
42+
nav.classList.toggle('active');
43+
header.classList.toggle('menu-open');
44+
});
45+
46+
47+
document.addEventListener('click', (e) => {
48+
if (!header.contains(e.target) && nav.classList.contains('active')) {
49+
nav.classList.remove('active');
50+
header.classList.remove('menu-open');
51+
}
52+
});
53+
}
54+
});
55+
</script>
56+
</head>
57+
58+
<body>
59+
<a class="skip-link" href="#main">Skip to main</a>
60+
<main id="main">
61+
<div class="content">
62+
63+
<header>
64+
<p style="padding: 0;margin: 0;">
65+
<a href="//localhost:1313/">
66+
<b>My New Hugo Site</b>
67+
<span class="text-stone-500 animate-blink"></span>
68+
</a>
69+
</p>
70+
71+
72+
<button class="burger" aria-label="Toggle menu">
73+
<span></span>
74+
<span></span>
75+
<span></span>
76+
</button>
77+
<nav class="nav-menu">
78+
<ul style="padding: 0;margin: 0;">
79+
80+
81+
<li class="">
82+
<a href="/posts/"><span>Post</span></a>
83+
</li>
84+
85+
<li class="">
86+
<a href="/about/"><span>About</span></a>
87+
</li>
88+
89+
</ul>
90+
</nav>
91+
92+
</header>
93+
<hr class="hr-list" style="padding: 0;margin: 0;">
94+
<p>The page you requested doesn't exist.</p>
95+
</div>
96+
</main>
97+
</body>
98+
</html>
99+

0 commit comments

Comments
 (0)