Skip to content

Commit 03b84d9

Browse files
Sayo / JellySayo / Jelly
authored andcommitted
Basic customisation added
1 parent 96972d6 commit 03b84d9

File tree

14 files changed

+87
-24
lines changed

14 files changed

+87
-24
lines changed

.hugo_build.lock

Whitespace-only changes.

archetypes/default.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
title: "{{ replace .Name "-" " " | title }}"
33
date: {{ .Date }}
44
draft: true
5-
---
6-
5+
---

config.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
title = "Website Name"
2-
baseURL = 'https://example.org'
1+
title = "Randy"
2+
baseURL = 'https://randy.gg'
33
languageCode = 'en-us'
44
theme = 'lugo'
55

66
[params]
77
# "relatedtext" is the text that appears above the tag list at the bottom of pages.
88
#relatedtext = "Related:"
99
#favicon = "/favicon.ico"
10-
showrss = true
10+
showrss = true
11+
12+
[markup.goldmark.renderer]
13+
unsafe= true

content/2022-W47.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
2-
date: 2022-11-13
32
title: "Sunday the 13th of November, 2022"
4-
tags:
3+
date: 2023-01-11
54
---
65

76
- [x] proof of concept for modern day .plan system

content/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
title: "home"
2+
title: "Randy"
33
---
4-
5-
BALLS LMAO

content/showcase_page.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Showcase deez knuts"
3-
date: 13-11-2022
3+
date: 2022-01-12
44
---
55

66
## Header 2
@@ -13,7 +13,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam nec interdum met
1313

1414
Nulla libero turpis, lacinia vitae cursus ut, auctor dictum nisl. Fusce varius felis nec sem ullamcorper, at convallis nisi vestibulum. Duis risus odio, porta sit amet placerat mollis, tincidunt non mauris. Suspendisse fringilla, `odio a dignissim pharetra`, est urna sollicitudin urna, eu scelerisque magna ex vitae tellus.
1515

16-
```css
16+
```css {linenos=table,hl_lines=[8,"15-17"]}
1717
/* PostCSS code */
1818

1919
pre {
@@ -36,8 +36,9 @@ pre {
3636
}
3737
}
3838
```
39+
Testing her
3940

40-
```js
41+
```js {linenos=table,hl_lines=[8,"15-17"]}
4142
// JS code
4243

4344
const menuTrigger = document.querySelector('.menu-trigger')
@@ -56,7 +57,7 @@ menuTrigger.addEventListener('click', () => menu.classList.toggle('hidden'))
5657
window.addEventListener('resize', isMobileMenu)
5758
```
5859

59-
```html
60+
```html {linenos=table,hl_lines=[8,"15-17"]}
6061
<!-- HTML code -->
6162

6263
<section id="main">

layouts/_default/single.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{{ define "main" }}
2+
<section id="main">
3+
<h1 id="title">{{ .Title }}</h1>
4+
<div>
5+
<article id="content">
6+
{{ .Content }}
7+
</article>
8+
</div>
9+
</section>
10+
<aside id="meta">
11+
<div>
12+
<section>
13+
<h4 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </h4>
14+
<h5 id="wordcount"> {{ .WordCount }} Words </h5>
15+
</section>
16+
{{ with .GetTerms "topics" }}
17+
<ul id="topics">
18+
{{ range . }}
19+
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
20+
{{ end }}
21+
</ul>
22+
{{ end }}
23+
{{ with .GetTerms "tags" }}
24+
<ul id="tags">
25+
{{ range . }}
26+
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
27+
{{ end }}
28+
</ul>
29+
{{ end }}
30+
</div>
31+
<div class="pages spaced">
32+
{{ with .PrevInSection }}
33+
<a class="previous" href="{{ .Permalink }}">Previous: {{ .Title }}</a>
34+
{{ end }}
35+
{{ with .NextInSection }}
36+
<a class="next" href="{{ .Permalink }}"> Next: {{ .Title }}</a>
37+
{{ end }}
38+
</div>
39+
</aside>
40+
{{ end }}

layouts/shortcodes/pagedate.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{{ .Page.Date.Format "January 2, 2006" }}

static/fonts/randy-gg-bold.ttf

15.3 KB
Binary file not shown.

static/fonts/randy-gg.ttf

26.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)