Удаление английской локали (лень поддерживать)
This commit is contained in:
parent
b94e7062bd
commit
33c3db2978
23 changed files with 6 additions and 242 deletions
57
config.toml
57
config.toml
|
@ -57,55 +57,7 @@ DefaultContentLanguage = "ru"
|
||||||
|
|
||||||
# set title for the table of contents
|
# set title for the table of contents
|
||||||
# can be overridden in a page's front-matter
|
# can be overridden in a page's front-matter
|
||||||
# TocTitle = "Table of Contents" # default
|
# 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"
|
|
||||||
|
|
||||||
[languages.ru]
|
[languages.ru]
|
||||||
languageCode = 'ru'
|
languageCode = 'ru'
|
||||||
|
@ -151,10 +103,9 @@ DefaultContentLanguage = "ru"
|
||||||
url = "/donate"
|
url = "/donate"
|
||||||
[[languages.ru.menu.main]]
|
[[languages.ru.menu.main]]
|
||||||
identifier = "live"
|
identifier = "live"
|
||||||
name = "[🔼] Owncast"
|
name = "[🔼]Owncast"
|
||||||
url = "https://live.sadium.cyou"
|
url = "https://live.sadium.cyou"
|
||||||
[[languages.ru.menu.main]]
|
[[languages.ru.menu.main]]
|
||||||
identifier = "uptime"
|
identifier = "uptime"
|
||||||
name = "[🔼] Статус"
|
name = "[🔼]Статус"
|
||||||
url = "https://up.sadium.cyou"
|
url = "https://up.sadium.cyou"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
title: "About"
|
|
||||||
---
|
|
|
@ -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 >}}
|
|
||||||
<!-- date: "2023-02-12" -->
|
|
|
@ -1,3 +0,0 @@
|
||||||
+++
|
|
||||||
title = "Contacts"
|
|
||||||
+++
|
|
|
@ -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)
|
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
title: "Posts"
|
|
||||||
---
|
|
|
@ -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
|
|
|
@ -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 >}}
|
|
|
@ -1,3 +0,0 @@
|
||||||
---
|
|
||||||
title: "Services"
|
|
||||||
---
|
|
|
@ -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.
|
|
|
@ -5,13 +5,9 @@
|
||||||
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
<span>{{ $.Site.Copyright | safeHTML }}</span>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<span>Powered by <a href="https://gohugo.io">Hugo</a> ::</span>
|
<span> <a href="https://git.sadium.cyou/SadmL/sadium">Исходный код</a> ::</span>
|
||||||
<span><a href="https://github.com/panr/hugo-theme-terminal" target="_blank">Theme</a> by <a href="https://github.com/panr" target="_blank">panr</a> ::</span>
|
<span><a href="/tos">Условия использования</a> ::</span>
|
||||||
<span> <a href="https://git.sadium.cyou/SadmL/sadium">Mod</a>. by <a href="https://git.sadium.cyou/SadmL">SL</a> ::</span>
|
|
||||||
<span> <a href="/tos">ToS</a> ::</span>
|
|
||||||
<span> <a href="https://choosealicense.com/licenses/cc-by-4.0/">CC-BY-4.0</a> ::</span>
|
|
||||||
<span> {{ now.Year }}</span>
|
<span> {{ now.Year }}</span>
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue