diff --git a/.gitignore b/.gitignore index 2a8645f..8dd6d56 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +public/ .hugo_build.lock diff --git a/assets/img/content/branding/banner.png b/assets/img/content/branding/banner.png new file mode 100644 index 0000000..e1d79d4 Binary files /dev/null and b/assets/img/content/branding/banner.png differ diff --git a/assets/img/content/branding/icon.png b/assets/img/content/branding/icon.png new file mode 100644 index 0000000..55848a6 Binary files /dev/null and b/assets/img/content/branding/icon.png differ diff --git a/assets/js/neoforge.js b/assets/js/neoforge.js index a5dcdb0..fbd7ae9 100644 --- a/assets/js/neoforge.js +++ b/assets/js/neoforge.js @@ -25,9 +25,11 @@ async function loadLatestVersions(minecraftVersions) { const installerUrl = `${DOWNLOAD_URL}/${encodeURIComponent(version)}/forge-${encodeURIComponent(version)}-installer.jar`; const changelogUrl = `${DOWNLOAD_URL}/${encodeURIComponent(version)}/forge-${encodeURIComponent(version)}-changelog.txt`; document.querySelector("#filelist").innerHTML = ` - Latest NeoForge Installer - neoforge-${version}-installer.jar - - Latest Changelog (${version}) +
NeoForge ${version}
+
+ Latest NeoForge Installerneoforge-${version}-installer.jar + Latest Changelog${version} +
`; } } diff --git a/data/authors/neoforgedteam.yaml b/data/authors/neoforgedteam.yaml index 613d825..3f07542 100644 --- a/data/authors/neoforgedteam.yaml +++ b/data/authors/neoforgedteam.yaml @@ -1,6 +1,6 @@ name: NeoForged Team bio: | We are the NeoForged team. -avatar: /img/authors/neoforgedteam.png +avatar: /img/branding/banner.png social: github: https://github.com/NeoForged/ diff --git a/hugo.toml b/hugo.toml index 531f8a2..cd7f101 100644 --- a/hugo.toml +++ b/hugo.toml @@ -14,8 +14,8 @@ theme = "mainroad" mainSections = ["news"] [Params.logo] - image = "img/logo.svg" - title = "The NeoForged Project" + image = "img/content/branding/banner.png" + alt = "The NeoForged Project logo" subtitle = "Files, News and information from the NeoForged Project" # Logo subtitle [Params.sidebar] @@ -28,3 +28,9 @@ theme = "mainroad" [Params.widgets] recent_num = 5 # Set the number of articles in the "Recent articles" widget tags_counter = false # Enable counter for each tag in "Tags" widget (disabled by default) + +[Params.style] + vars.highlightColor = "#d7742f" + vars.backgroundColor = "#d5e0df" + vars.boxColor = "#bdc7c7" + vars.borderColor = "#aab0b3" diff --git a/layouts/shortcodes/files.html b/layouts/shortcodes/files.html index cb7bd76..f2692a7 100644 --- a/layouts/shortcodes/files.html +++ b/layouts/shortcodes/files.html @@ -1,7 +1,11 @@ {{ $js:= resources.Get "js/neoforge.js" }} - +
- The latest file should appear here. +
NeoForge (loading version...)
+
+ Latest NeoForge Installerneoforge-0.00.00-00.00.00-installer.jar + Latest Changelog0.00.00-00.00.00 +