diff --git a/config.toml b/config.toml index b380368..d6c2292 100755 --- a/config.toml +++ b/config.toml @@ -57,55 +57,7 @@ DefaultContentLanguage = "ru" # set title for the table of contents # can be overridden in a page's front-matter - # TocTitle = "Table of Contents" # default - -[languages] - [languages.en] - languageCode= 'en' - languageName = 'EN' - title = "Sadium" - # subtitle = "A simple, retro theme for Hugo" - [languages.en.params] - owner = "Sysadmin Link" - keywords = "" - copyright = "" - menuMore = "Show more" - readMore = "Read more" - readOtherPosts = "Read other posts" - newerPosts = "Newer posts" - olderPosts = "Older posts" - missingContentMessage = "Page not found..." - missingBackButtonLabel = "Back to home page" - - [languages.en.params.logo] - logoText = "Sadium" - logoHomeLink = "/en" - - [languages.en.menu] - [[languages.en.menu.main]] - identifier = "about" - name = "About" - url = "/en/about" - [[languages.en.menu.main]] - identifier = "services" - name = "Services" - url = "/en/services" - [[languages.en.menu.main]] - identifier = "posts" - name = "Posts" - url = "/en/posts" - [[languages.en.menu.main]] - identifier = "contacts" - name = "Contacts" - url = "/en/contacts" - [[languages.en.menu.main]] - identifier = "live" - name = "[🔼] Owncast" - url = "https://live.sadium.cyou" - [[languages.en.menu.main]] - identifier = "uptime" - name = "[🔼] Uptime" - url = "https://up.sadium.cyou" + # TocTitle = "Table of Contents" # default [languages.ru] languageCode = 'ru' @@ -151,10 +103,9 @@ DefaultContentLanguage = "ru" url = "/donate" [[languages.ru.menu.main]] identifier = "live" - name = "[🔼] Owncast" + name = "[🔼]Owncast" url = "https://live.sadium.cyou" [[languages.ru.menu.main]] identifier = "uptime" - name = "[🔼] Статус" - url = "https://up.sadium.cyou" - + name = "[🔼]Статус" + url = "https://up.sadium.cyou" \ No newline at end of file diff --git a/content/about/_index.en.md b/content/about/_index.en.md deleted file mode 100755 index e20ebab..0000000 --- a/content/about/_index.en.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: "About" ---- diff --git a/content/about/_index.ru.md b/content/about/_index.md similarity index 100% rename from content/about/_index.ru.md rename to content/about/_index.md diff --git a/content/about/about.en.md b/content/about/about.en.md deleted file mode 100755 index d72153d..0000000 --- a/content/about/about.en.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "" -showFullContent: true -description: "" ---- - -{{< avatar >}} - -# Sup! - -Name is **Sysadmin Link**, man, 23 y.o., I am the creator of this site and hoster of some **open source** [services](/en/services). - -I work as sysadmin in some college unit. - -Thats all... for now -{{< mastodon-owner >}} - diff --git a/content/about/about.ru.md b/content/about/about.md similarity index 100% rename from content/about/about.ru.md rename to content/about/about.md diff --git a/content/contacts/_index.en.md b/content/contacts/_index.en.md deleted file mode 100644 index 8fdbc8e..0000000 --- a/content/contacts/_index.en.md +++ /dev/null @@ -1,3 +0,0 @@ -+++ -title = "Contacts" -+++ diff --git a/content/contacts/_index.ru.md b/content/contacts/_index.md similarity index 100% rename from content/contacts/_index.ru.md rename to content/contacts/_index.md diff --git a/content/contacts/contacts.en.md b/content/contacts/contacts.md similarity index 100% rename from content/contacts/contacts.en.md rename to content/contacts/contacts.md diff --git a/content/contacts/contacts.ru.md b/content/contacts/contacts.ru.md deleted file mode 100755 index 596b25e..0000000 --- a/content/contacts/contacts.ru.md +++ /dev/null @@ -1,13 +0,0 @@ -+++ -showFullContent = true -+++ - -**`Email`**\ -[sadml[at]disroot.org](mailto:sadml@disroot.org)\ -[sadml[at]sadium.cyou](mailto:sadml@sadium.cyou) - -**`Fediverse`**\ -[@sl@social.exo.icu](https://social.exo.icu/@sl) - -**`Matrix`**\ -[@sl:sadium.cyou](https://matrix.to/#/@sl:sadium.cyou) diff --git a/content/donate.ru.md b/content/donate.md similarity index 100% rename from content/donate.ru.md rename to content/donate.md diff --git a/content/posts/_index.en.md b/content/posts/_index.en.md deleted file mode 100755 index 6c432cb..0000000 --- a/content/posts/_index.en.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: "Posts" ---- diff --git a/content/posts/_index.ru.md b/content/posts/_index.md similarity index 100% rename from content/posts/_index.ru.md rename to content/posts/_index.md diff --git a/content/posts/codeberg_x_nextcloud.en.md b/content/posts/codeberg_x_nextcloud.en.md deleted file mode 100644 index cd089a1..0000000 --- a/content/posts/codeberg_x_nextcloud.en.md +++ /dev/null @@ -1,39 +0,0 @@ -+++ -title = "Setup Codeberg as custom Oauth2 provider in Nexcloud" -date = "2023-12-10" -author = "Sysadmin Link" -cover = "" -tags = ["codeberg", "nextcloud"] -description = "via Nextcloud Social Login" -showFullContent = false -readingTime = false -hideComments = false -+++ - -I couldn't find any info about it via search engines, so I decided to put information here. \ -What is helped - https://forgejo.codeberg.page/docs/latest/user/oauth2-provider/ - -`1.` [Create app in Codeberg](https://codeberg.org/user/settings/applications) and copy Client ID and Client secret somewhere. \ -`2.` Go to your Nextcloud Admin settings,`Social Login` section, and create Custom Oauth2 provider. - -| Section | What to enter | -| --- | --- | -| Local/inner name | Codeberg | -| Name | Codeberg | -| API Base URL | https://codeberg.org | -| Authorize url | https://codeberg.org/login/oauth/authorize | -| Token url | https://codeberg.org/login/oauth/access_token | -| Profile url | https://codeberg.org/login/oauth/userinfo | -| Logout url | leave empty | -| Client ID and Client secret | paste from step 1 | -| Scope | read:user | -| Other after | leave empty if not sure | - -`3.` Tick `Allow users to attach/connect their social logins` box and click `Save` in the bottom of page. \ -`4.` Go in Incognito/Private window of your browser, go to your Nextcloud login page and copy path of Codeberg provider - Right click, copy link, save somewhere. \ -Must look like this - `https://cloud.example.org(/index.php)/apps/sociallogin/custom_oauth2/Codeberg` \ -`5.` Go back to your created earlier [Codeberg application](https://codeberg.org/user/settings/applications), click `Edit` button and paste link from step 4 into `Redirection URI` section, click `Save`. - -And you done! Try connect your Codeberg account to Nextcloud account from user settings `Social Login` section, it must work. In theory, it's also appliable to `Gitea`, because [Forgejo](https://forgejo.org) is [Gitea's](https://gitea.com) fork. - -I've created related Github issue: https://github.com/zorn-v/nextcloud-social-login/issues/440 diff --git a/content/posts/codeberg_x_nextcloud.ru.md b/content/posts/codeberg_x_nextcloud.md similarity index 100% rename from content/posts/codeberg_x_nextcloud.ru.md rename to content/posts/codeberg_x_nextcloud.md diff --git a/content/posts/ricoh_config.ru.md b/content/posts/ricoh_config.md similarity index 100% rename from content/posts/ricoh_config.ru.md rename to content/posts/ricoh_config.md diff --git a/content/posts/rpi-rip-nvme.ru.md b/content/posts/rpi-rip-nvme.md similarity index 100% rename from content/posts/rpi-rip-nvme.ru.md rename to content/posts/rpi-rip-nvme.md diff --git a/content/posts/walls.en.md b/content/posts/walls.en.md deleted file mode 100644 index 8eab25f..0000000 --- a/content/posts/walls.en.md +++ /dev/null @@ -1,23 +0,0 @@ -+++ -title = "Wallpapers Collection" -date = "2023-07-01" -author = "Sysadmin Link" -cover = "" -tags = ["wallpapers"] -description = "My collection of wallpapers" -showFullContent = false -readingTime = false -hideComments = false -+++ - -I bring to your attention my collection of wallpapers, which has already reached more than 1500 wallpapers. - -You can view them and pick it up [here](https://cloud.sadium.cyou/s/walls). - -About collection: -- Most of the wallpapers are taken from [wallhaven.cc](https://wallhaven.cc) -- Have some NSFW (~3-10%) -- Expanded and supplemented at least weekly. - -Some wallpapers may have a quality lower than FullHD (1920x1080), coz I couldn't find them in a better quality. If anyone can find it, I would appreciate it if you send me a link -{{< mastodon-owner >}} diff --git a/content/posts/walls.ru.md b/content/posts/walls.md similarity index 100% rename from content/posts/walls.ru.md rename to content/posts/walls.md diff --git a/content/services/_index.en.md b/content/services/_index.en.md deleted file mode 100755 index 43e694a..0000000 --- a/content/services/_index.en.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: "Services" ---- diff --git a/content/services/_index.ru.md b/content/services/_index.md similarity index 100% rename from content/services/_index.ru.md rename to content/services/_index.md diff --git a/content/services/services.en.md b/content/services/services.en.md deleted file mode 100755 index 2241e6d..0000000 --- a/content/services/services.en.md +++ /dev/null @@ -1,79 +0,0 @@ -+++ -showFullContent = true -+++ - -# Public ---- -### [Forgejo](https://git.sadium.cyou/) -[Website](https://forgejo.org) | [Source code](https://codeberg.org/forgejo/forgejo) | `Registration open` | `Nextcloud OIDC` - ->**Forgejo**, **[Gitea](https://gitea.com)** fork - Self-hosted lightweight software forge. - -### [Matrix Admin UI](https://ma.sadium.cyou/) -[Source code](https://github.com/Awesome-Technologies/synapse-admin) - -> **Matrix Admin UI** - Matrix Admin UI. `¯\_(ツ)_/¯` - -### [Matrix Element](https://mw.sadium.cyou/) -[Website](https://element.io/) | [Source code](https://github.com/element-hq/element-web/) - -> **Element-web** - A glossy Matrix collaboration client for the web. - -### Matrix Synapse | `sadium.cyou` -[Website](https://matrix.org) | [Source code](https://github.com/matrix-org/synapse) | `Registration closed` | `Nextcloud OIDC` - -> **Synapse** - open-source Matrix homeserver written and maintained by the Matrix.org Foundation. Briefly, Matrix is an open standard for communications on the internet, supporting federation, encryption and VoIP. - -### [Nextcloud](https://cloud.sadium.cyou) -[Website](https://nextcloud.com) | [Source code](https://github.com/nextcloud/server) | `Registration by pre-moderation` | `OIDC` - ->**Nextcloud** - suite of client-server software for creating and using file hosting services. ->Alternative for Google Suite, Dropbox, OneDrive, etc. - -If you want an account, fill a form [here](https://l.sadium.cyou/nc_reg_form). - -### [Owncast](https://live.sadium.cyou/) -[Website](https://owncast.online) | [Source code](https://github.com/owncast/owncast) - ->**Owncast** - self-hosted live video and web chat server for use with existing popular broadcasting software. - -### [RSS-Bridge](https://rss.sadium.cyou/) -[Website](https://rss-bridge.github.io/rss-bridge) | [Source code](https://github.com/rss-bridge/rss-bridge) - ->**RSS-Bridge** - free and open source software for generating Atom or RSS feeds from websites which don't have one. - -### [Shlink](https://shlink.sadium.cyou/) -[Website](https://shlink.io) | [Server source code](https://github.com/shlinkio/shlink) | [WebUI source code](https://github.com/shlinkio/shlink-web-client) - ->**Shlink** - PHP-based self-hosted URL shortener that can be used to serve shortened URLs under your own domain. - -### [Vaultwarden](https://vault.sadium.cyou/) -[Server source code](https://github.com/dani-garcia/vaultwarden) | [WebUI source code](https://github.com/dani-garcia/bw_web_builds) | `Registration open` - ->**Vaultwarden**, **[Bitwarden](https://bitwarden.com)** fork - free and open-source password management service that stores sensitive information such as website credentials in an encrypted vault. - -### [Uptime Kuma](https://up.sadium.cyou) -[Source code](https://github.com/louislam/uptime-kuma) - ->**Uptime Kuma** - A fancy self-hosted monitoring tool. ---- -# Personal/Private - -### Adguard Home -[Website](https://adguard.com/adguard-home.html) | [Source code](https://github.com/AdguardTeam/AdGuardHome/) - ->**Adguard Home** - Network-wide ads & trackers blocking DNS server. - -### Maddy Email -[Website](https://maddy.email) | [Source code](https://github.com/foxcpp/maddy) - ->**Maddy** - Composable all-in-one mail server. - -### qBittorrent -[Website](https://www.qbittorrent.org/) | [Source code](https://github.com/qbittorrent/qBittorrent) - ->**qBittorrent** - Open source torrent client. - ---- - -The source code of the services listed in this article (and not only them) is stored on my [Forgejo](https://git.sadium.cyou/mirrors) instance. diff --git a/content/services/services.ru.md b/content/services/services.md similarity index 100% rename from content/services/services.ru.md rename to content/services/services.md diff --git a/themes/hugo-theme-terminal/layouts/partials/footer.html b/themes/hugo-theme-terminal/layouts/partials/footer.html index ab2d6e1..c52aeec 100644 --- a/themes/hugo-theme-terminal/layouts/partials/footer.html +++ b/themes/hugo-theme-terminal/layouts/partials/footer.html @@ -5,13 +5,9 @@ {{ $.Site.Copyright | safeHTML }} {{ else }}