Skip to content

Commit c7ddf13

Browse files
committed
changing to congo theme
1 parent 468754c commit c7ddf13

File tree

1,223 files changed

+10697
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,223 files changed

+10697
-1048
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

archetypes/default.md

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

assets/img/author.jpg

156 KB
Loading

assets/js/home.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
function switchHomeLayout() {
2+
const pageDiv = document.getElementById("page");
3+
const profileDiv = document.getElementById("profile");
4+
const layoutCode = document.querySelectorAll("code[id=layout]");
5+
if (pageDiv.style.display === "none") {
6+
pageDiv.style.display = "block";
7+
profileDiv.style.display = "none";
8+
layoutCode.forEach(function (el) {
9+
el.innerText = "page";
10+
});
11+
} else {
12+
pageDiv.style.display = "none";
13+
profileDiv.style.display = "block";
14+
layoutCode.forEach(function (el) {
15+
el.innerText = "profile";
16+
});
17+
}
18+
}
19+
20+
window.addEventListener("DOMContentLoaded", (event) => {
21+
document.querySelectorAll("#switch-layout-button").forEach((button) =>
22+
button.addEventListener("click", function (e) {
23+
e.preventDefault();
24+
switchHomeLayout();
25+
})
26+
);
27+
});

config.toml

Lines changed: 0 additions & 33 deletions
This file was deleted.

config/_default/config.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -- Site Configuration --
2+
# Refer to the theme docs for more details about each of these parameters.
3+
# https://jpanther.github.io/congo/docs/getting-started/
4+
5+
# baseURL = "https://your_domain.com/"
6+
defaultContentLanguage = "en"
7+
8+
enableRobotsTXT = true
9+
paginate = 10
10+
summaryLength = 0
11+
12+
[outputs]
13+
home = ["HTML", "RSS", "JSON"]

config/_default/languages.en.toml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
languageCode = "en"
2+
languageName = "English"
3+
languageDirection = "ltr"
4+
weight = 1
5+
6+
title = "dree.blog"
7+
# copyright = "Copy, _right?_ :thinking_face:"
8+
9+
[params]
10+
dateFormat = "2 January 2006"
11+
12+
# mainSections = ["section1", "section2"]
13+
# description = "My awesome website"
14+
15+
[params.author]
16+
name = "dree"
17+
image = "img/author.jpg"
18+
headline = "hacker girl"
19+
bio = "i hack things"
20+
links = [
21+
{ email = "mailto:[email protected]" },
22+
# { link = "https://link-to-some-website.com/" },
23+
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
24+
# { apple = "https://www.apple.com" },
25+
# { blogger = "https://username.blogspot.com/" },
26+
# { codepen = "https://codepen.io/username" },
27+
# { dev = "https://dev.to/username" },
28+
# { discord = "https://discord.gg/invitecode" },
29+
# { dribbble = "https://dribbble.com/username" },
30+
# { facebook = "https://facebook.com/username" },
31+
# { flickr = "https://www.flickr.com/photos/username/" },
32+
# { foursquare = "https://foursquare.com/username" },
33+
{ github = "https://github.com/dreeSec" },
34+
# { gitlab = "https://gitlab.com/username" },
35+
# { google = "https://www.google.com/" },
36+
# { google-scholar = "https://scholar.google.com/citations?user=user-id" },
37+
# { hashnode = "https://username.hashnode.dev" },
38+
# { instagram = "https://instagram.com/username" },
39+
# { keybase = "https://keybase.io/username" },
40+
# { kickstarter = "https://www.kickstarter.com/profile/username" },
41+
# { lastfm = "https://lastfm.com/user/username" },
42+
# { linkedin = "https://linkedin.com/in/username" },
43+
# { mastodon = "https://mastodon.instance/@username" },
44+
# { medium = "https://medium.com/username" },
45+
# { mendeley = "https://www.mendeley.com/" },
46+
# { microsoft = "https://www.microsoft.com/" },
47+
# { orcid = "https://orcid.org/userid" },
48+
# { patreon = "https://www.patreon.com/username" },
49+
# { pinterest = "https://pinterest.com/username" },
50+
# { reddit = "https://reddit.com/user/username" },
51+
# { researchgate = "https://www.researchgate.net/profile/username" },
52+
# { slack = "https://workspace.url/team/userid" },
53+
# { snapchat = "https://snapchat.com/add/username" },
54+
# { soundcloud = "https://soundcloud.com/username" },
55+
# { stack-overflow = "https://stackoverflow.com/users/userid/username" },
56+
# { steam = "https://steamcommunity.com/profiles/userid" },
57+
# { telegram = "https://t.me/username" },
58+
# { threads = "https://threads.net/@username" },
59+
# { tiktok = "https://tiktok.com/@username" },
60+
# { tumblr = "https://username.tumblr.com" },
61+
# { twitch = "https://twitch.tv/username" },
62+
# { whatsapp = "https://wa.me/phone-number" },
63+
# { x-twitter = "https://twitter.com/username" },
64+
# { youtube = "https://youtube.com/username" },
65+
]

config/_default/markup.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -- Markup --
2+
# These settings are required for the theme to function.
3+
4+
[goldmark]
5+
[goldmark.renderer]
6+
unsafe = true
7+
8+
[highlight]
9+
noClasses = false
10+
11+
[tableOfContents]
12+
startLevel = 2
13+
endLevel = 4

config/_default/menus.en.toml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# -- Main Menu --
2+
# The main menu is displayed in the header at the top of the page.
3+
# Acceptable parameters are name, pageRef, page, url, title, weight.
4+
#
5+
# The simplest menu configuration is to provide:
6+
# name = The name to be displayed for this menu link
7+
# pageRef = The identifier of the page or section to link to
8+
#
9+
# By default the menu is ordered alphabetically. This can be
10+
# overridden by providing a weight value. The menu will then be
11+
# ordered by weight from lowest to highest.
12+
13+
[[main]]
14+
name = "Blog"
15+
pageRef = "blog"
16+
weight = 10
17+
18+
[[main]]
19+
name = "Categories"
20+
pageRef = "categories"
21+
weight = 20
22+
23+
[[main]]
24+
name = "Tags"
25+
pageRef = "tags"
26+
weight = 30
27+
28+
[[main]]
29+
identifier = "search"
30+
weight = 99
31+
[main.params]
32+
action = "search"
33+
34+
[[main]]
35+
identifier = "locale"
36+
weight = 100
37+
[main.params]
38+
action = "locale"
39+
40+
# -- Footer Menu --
41+
# The footer menu is displayed at the bottom of the page, just before
42+
# the copyright notice. Configure as per the main menu above.
43+
44+
# [[footer]]
45+
# name = "Tags"
46+
# pageRef = "tags"
47+
# weight = 10

config/_default/module.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[[imports]]
2+
path = "github.com/jpanther/congo/v2"

0 commit comments

Comments
 (0)