Skip to content

Commit

Permalink
[Core] BlogList updated to CS2Update
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc4tt committed Jan 26, 2025
1 parent 86c9d3c commit 3d8574f
Show file tree
Hide file tree
Showing 21 changed files with 410 additions and 141 deletions.
2 changes: 1 addition & 1 deletion cs2update/2024-08-25.md → cs2update/2024-aug-25.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update - 25th August
title: Pro CS2 - MatchZy Coach Multiple & Improvements
hide_table_of_contents: true
date: 2024/08/25
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-dec-02.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - MatchZy Match Settings
hide_table_of_contents: true
date: 2024-12-02 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-dec-03.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - MatchZy Improvements & Demo Recording Fixes
hide_table_of_contents: true
date: 2024-12-03 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-dec-31.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2 Free/Pro Update
title: Free/Pro CS2 - Map Commands & Improvements
hide_table_of_contents: true
date: 2024-12-31 10:46
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-11-10.md → cs2update/2024-nov-10.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - MatchZy Scrim Mode Enhancements
hide_table_of_contents: true
date: 2024-11-10 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-11-14.md → cs2update/2024-nov-14.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - New Map Pool Expansion
hide_table_of_contents: true
date: 2024-11-14 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-11-18.md → cs2update/2024-nov-18.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - MatchZy Ready System Fix
hide_table_of_contents: true
date: 2024-11-18 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-nov-23.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - Weapon Skins System Upgrade
hide_table_of_contents: true
date: 2024-11-23 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2024-nov-30.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2Pro Update
title: Pro CS2 - MatchZy Match Controls
hide_table_of_contents: true
date: 2024-11-30 09:18
---
Expand Down
10 changes: 0 additions & 10 deletions cs2update/2025-jan-15.md

This file was deleted.

2 changes: 1 addition & 1 deletion cs2update/2025-jan-16.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2 Pro Update
title: Pro CS2 - Core System Changes
hide_table_of_contents: true
date: 2025-01-16 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2025-jan-24.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2 Pro Update
title: Pro CS2 - Administrative Commands Enhancement
hide_table_of_contents: true
date: 2025-01-24 09:05
---
Expand Down
2 changes: 1 addition & 1 deletion cs2update/2025-jan-25.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: 🚀 CS2 Pro Update
title: "Pro CS2 - MatchZy configuration changes"
hide_table_of_contents: true
date: 2025-01-25 09:05
---
Expand Down
189 changes: 70 additions & 119 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,19 @@ const config = {
title: 'FSHOST Docs',
tagline: 'Get FREE game server hosting for CS2, CoD4, CoD2, CS 1.6, CSS, and more! Upgrade to Pro for premium paid server options.',
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: 'https://help.fshost.me',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'fshostme', // Usually your GitHub org/user name.
projectName: 'docs', // Usually your repo name.
organizationName: 'fshostme',
projectName: 'docs',
trailingSlash: false,

//onBrokenLinks: 'throw',
//onBrokenMarkdownLinks: 'throw',
//onDuplicateRoutes: 'throw',
//onBrokenAnchors: 'throw',

customFields: {
marketingSite: 'https://fshost.me',
},

// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en-GB',
locales: ['en-GB'],
},

plugins: [
[
'@docusaurus/plugin-pwa',
Expand Down Expand Up @@ -101,33 +85,14 @@ const config = {
[
'@docusaurus/plugin-client-redirects',
{
fromExtensions: ['html', 'htm'], // /myPage.html -> /myPage
toExtensions: ['exe', 'zip'], // /myAsset -> /myAsset.zip (if latter exists)
redirects: [
// /docs/oldDoc -> /docs/newDoc
/*{
to: '/docs/contribution-guides',
from: '/docs/contribution-submission',
},
{
to: '/docs/contribution-guides-guidelines',
from: '/docs/contribution-guidelines',
},
{
to: '/docs/vserver-root-difference',
from: '/docs/vserver-root-unterschied',
},
// Redirect from multiple old paths to the new path
/*{
to: '/docs/newDoc2',
from: ['/docs/oldDocFrom2019', '/docs/legacyDocFrom2016'],
},*/
],
fromExtensions: ['html', 'htm'],
toExtensions: ['exe', 'zip'],
redirects: [],
},
],
[
{
languages: ['en'], // language codes
languages: ['en'],
}
]
],
Expand All @@ -139,24 +104,20 @@ const config = {
({
docs: {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/fshostme/docs/tree/main/',
showLastUpdateTime: true,
showLastUpdateAuthor: true,
},
blog: {
feedOptions: {
type: 'all',
title: 'FSHOST.me Update Blog',
description: 'Description of the updates behind FSHOST.me',
copyright: `Copyright © ${new Date().getFullYear()} FSHOST.me`,
},
feedOptions: {
type: 'all',
title: 'FSHOST.me Update Blog',
description: 'Description of the updates behind FSHOST.me',
copyright: `Copyright © ${new Date().getFullYear()} FSHOST.me`,
},
showReadingTime: false,
readingTime: ({content, frontMatter, defaultReadingTime}) =>
defaultReadingTime({content, options: {wordsPerMinute: 300}}),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
onUntruncatedBlogPosts: 'ignore',
},
theme: {
Expand All @@ -177,11 +138,13 @@ const config = {
blogDescription: 'A little blog for CS2 updates',
blogSidebarTitle: 'Recent Posts',
blogSidebarCount: 'ALL',
sortPosts: 'descending',
showReadingTime: true,
onUntruncatedBlogPosts: 'ignore',
feedOptions: {
type: 'rss',
title: 'CS2 Updates Blog',
copyright: `Copyright © ${new Date().getFullYear()}`,
description: 'Stay informed with the latest CS2 news from FSHOST.me, featuring updates and enhancements for our CS2 servers.',
},
},
Expand All @@ -208,30 +171,20 @@ const config = {
],
],


themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'undefined',
docs: {
sidebar: {
hideable: false,
autoCollapseCategories: false,
},
},
/*announcementBar: {
id: 'announcement-bar',
content:
'Welcome to our new Docs/FAQ page!',
backgroundColor: '#3949AB',
textColor: '#FFFFFF',
isCloseable: false,
},*/
colorMode: {
defaultMode: 'dark',
disableSwitch: true,
respectPrefersColorScheme: false,
disableSwitch: true,
respectPrefersColorScheme: false,
},
navbar: {
hideOnScroll: false,
Expand All @@ -255,68 +208,66 @@ const config = {
position: 'left',
label: 'Game Server Help',
},
{
// Dropdown menu in the navbar for "Learn" section
type: "dropdown",
position: "left",
label: "News",
items: [
{
label: "CS2 Server News",
to: `/cs2update`,
activeBaseRegex: 'cs2update',
{
type: "dropdown",
position: "left",
label: "News",
items: [
{
label: "CS2 Server News",
to: `/cs2update`,
activeBaseRegex: 'cs2update',
},
{
label: "Website News",
to: `/news`,
activeBaseRegex: 'blog',
},
],
},
{
label: "Website News",
to: `/news`,
activeBaseRegex: 'blog',
},
],
},
{
href: 'https://github.com/fshostme/docs',
label: 'GitHub',
position: 'right',
},
{
type: 'html',
position: 'right',
className: 'externalLink',
value: (() => {
switch (process.env.DOCUSAURUS_CURRENT_LOCALE) {
default: return '<a href="https://fshost.me/pro/pricing/">Rent Pro Server</a>';
}
})(),
},
{
type: 'html',
position: 'right',
className: 'externalLink',

value: (() => {
switch (process.env.DOCUSAURUS_CURRENT_LOCALE) {
default: return '<a href="https://fshost.me/">Back to Website ⤾</a>';
}
})(),
},
],
},
{
type: 'html',
position: 'right',
className: 'externalLink',
value: (() => {
switch (process.env.DOCUSAURUS_CURRENT_LOCALE) {
default: return '<a href="https://fshost.me/pro/pricing/">Rent Pro Server</a>';
}
})(),
},
{
type: 'html',
position: 'right',
className: 'externalLink',
value: (() => {
switch (process.env.DOCUSAURUS_CURRENT_LOCALE) {
default: return '<a href="https://fshost.me/">Back to Website ⤾</a>';
}
})(),
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Rent a Server',
items: [
{
label: 'Rent a Game Server',
href: 'https://fshost.me/pro/pricing',
},
{
label: 'Top-up your account',
href: 'https://fshost.me/pro/top-up',
},
],
},
title: 'Rent a Server',
items: [
{
label: 'Rent a Game Server',
href: 'https://fshost.me/pro/pricing',
},
{
label: 'Top-up your account',
href: 'https://fshost.me/pro/top-up',
},
],
},
{
title: 'Social',
items: [
Expand Down Expand Up @@ -358,9 +309,9 @@ const config = {
label: 'Refund Policy',
href: 'https://fshost.me/refund-policy',
},
],
},
],
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} FSHOST.me`,
},
prism: {
Expand Down
Loading

0 comments on commit 3d8574f

Please sign in to comment.