add templates

This commit is contained in:
cuqmbr 2025-05-17 13:57:48 +03:00
commit 0b839b3ec3
Signed by: cuqmbr
GPG Key ID: 0AA446880C766199
16 changed files with 432 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
public

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "themes/blowfish"]
path = themes/blowfish
url = https://github.com/nunocoracao/blowfish.git
[submodule "themes/hextra"]
path = themes/hextra
url = https://github.com/imfing/hextra.git

0
.hugo_build.lock Normal file
View File

5
archetypes/default.md Normal file
View File

@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

24
content/_index.uk.md Normal file
View File

@ -0,0 +1,24 @@
<div class="hx:mt-6 hx:mb-6">
{{< hextra/hero-headline >}}
Вітаємо на Бебрашилді -&nbsp;<br class="hx:sm:block hx:hidden" />не звичайному сервері
{{< /hextra/hero-headline >}}
</div>
<div class="hx:mb-12">
{{< hextra/hero-subtitle >}}
🦄 Ми це унікальна геймерська спільнота,&nbsp;<br class="hx:sm:block hx:hidden" />де ми не просто граємо, а отримуємо реальні емоції.
{{< /hextra/hero-subtitle >}}
</div>
<div class="hx:mb-12">
{{< hextra/hero-subtitle >}}
👌 Тут кожен знайде своє місце, будь то Minecraft, FPS-шутери,&nbsp;<br class="hx:sm:block hx:hidden" />кооперативні ігри або просто дружнє спілкування.
{{< /hextra/hero-subtitle >}}
</div>
<div class="hx:mb-6">
{{< hextra/hero-button text="Розпочати грати 💥" link="docs/info" >}}
</div>

View File

@ -0,0 +1,3 @@
---
title: Новини
---

154
content/blog/post1.uk.md Normal file
View File

@ -0,0 +1,154 @@
---
title: Markdown Syntax Guide
date: 2020-01-01
authors:
- name: cuqmbr
link: https://cuqmbr.xyz
image: https://cuqmbr.xyz/favicon.png
tags:
- Markdown
- Example
- Guide
excludeSearch: true
---
This article offers a sample of basic Markdown syntax that can be used in Hugo content files.
<!--more-->
## Basic Syntax
### Headings
```
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
```
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
### Emphasis
```text
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
```
*This text will be italic*
_This will also be italic_
**This text will be bold**
__This will also be bold__
_You **can** combine them_
### Lists
#### Unordered
```
* Item 1
* Item 2
* Item 2a
* Item 2b
```
* Item 1
* Item 2
* Item 2a
* Item 2b
#### Ordered
```
1. Item 1
2. Item 2
3. Item 3
1. Item 3a
2. Item 3b
```
### Images
```markdown
![GitHub Logo](https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png)
```
![GitHub Logo](https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png)
### Links
```markdown
[Hugo](https://gohugo.io)
```
[Hugo](https://gohugo.io)
### Blockquotes
```markdown
As Newton said:
> If I have seen further it is by standing on the shoulders of Giants.
```
> If I have seen further it is by standing on the shoulders of Giants.
### Inline Code
```markdown
Inline `code` has `back-ticks around` it.
```
Inline `code` has `back-ticks around` it.
### Code Blocks
#### Syntax Highlighting
````markdown
```go
func main() {
fmt.Println("Hello World")
}
```
````
```go
func main() {
fmt.Println("Hello World")
}
```
### Tables
```markdown
| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |
```
| Syntax | Description |
| --------- | ----------- |
| Header | Title |
| Paragraph | Text |
## References
- [Markdown Syntax](https://www.markdownguide.org/basic-syntax/)
- [Hugo Markdown](https://gohugo.io/content-management/formats/#markdown)

11
content/docs/_index.uk.md Normal file
View File

@ -0,0 +1,11 @@
---
title: Головна
---
{{< cards >}}
{{< card link="info" title="💻 Інформація" icon="document-duplicate" >}}
{{< card link="rules" title="📖 Правила" icon="document-duplicate" >}}
{{< card link="mods" title="💼 Моди" icon="document-duplicate" >}}
{{< card link="guides" title="📑 Гайди" icon="document-duplicate" >}}
{{< card link="donate" title="💵 Підтримати" icon="document-duplicate" >}}
{{< /cards >}}

View File

@ -0,0 +1,4 @@
---
title: 💵 Підтримати
weight: 50
---

View File

@ -0,0 +1,8 @@
---
title: 📑 Гайди
weight: 40
---
{{< cards >}}
{{< card link="install" title="🎮 Встановлення гри та модів" icon="document-duplicate" >}}
{{< /cards >}}

View File

@ -0,0 +1,4 @@
---
title: 🎮 Встановлення гри та модів
weight: 10
---

View File

@ -0,0 +1,20 @@
---
title: 💻 Інформація
weight: 10
---
### Bebrashield це не звичайний сервер
Ми це унікальна геймерська спільнота, де ми не просто граємо, а отримуємо реальні емоції. Тут кожен знайде своє місце, будь то Minecraft, FPS-шутери, кооперативні ігри або просто дружнє спілкування.
### Мінімум цензури максимум емоцій
Ми поважаємо різні погляди, не нав'язуємо правила "стерильної" мови і дозволяємо чорний гумор.
### Меми, сарказм і чорний гумор частина атмосфери
Якщо тобі подобається вільне спілкування, без страху бути "забаненим" за неправильне слово ти у правильному місці.
### Ми не просто "бездушний" сервер!
Ми не просто запустили черговий сервер Minecraft — ми створили цілу екосистему, де кожен сезон приносить нові механіки, випробування та можливості.

View File

@ -0,0 +1,4 @@
---
title: 💼 Моди
weight: 30
---

View File

@ -0,0 +1,4 @@
---
title: 📖 Правила
weight: 20
---

183
hugo.yaml Normal file
View File

@ -0,0 +1,183 @@
baseURL: https://bebrashield.net/
title: Bebrashield
theme: hextra
enableRobotsTXT: true
# enableGitInfo: true
hasCJKLanguage: true
# services:
# googleAnalytics:
# ID: G-MEASUREMENT_ID
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: uk
defaultContentLanguageInSubdir: true
languages:
uk:
languageName: 🇺🇦 Українська
languageCode: uk
weight: 10
title: Бебрашилд
menu:
main:
- identifier: docs
name: Головна
pageRef: /docs/info
weight: 10
- identifier: blog
name: Новини
pageRef: /blog
weight: 20
- name: Пошук
weight: 50
params:
type: search
- name: Discord
weight: 60
url: "https://discord.gg/xsyy7d8RfG"
params:
icon: discord
- name: Telegram
weight: 61
url: "https://t.me/+zKf1rr9YclxkNjIy"
params:
icon: telegram
# sidebar:
# - identifier: more
# name: More
# params:
# type: separator
# weight: 1
# - identifier: about
# name: "About"
# pageRef: "/about"
# weight: 2
# - identifier: hugoDocs
# name: "Hugo Docs ↗"
# url: "https://gohugo.io/documentation/"
# weight: 3
ru:
languageName: 🇷🇺 Русский
languageCode: ru
weight: 20
title: Бебрашилд
menu:
main:
- identifier: docs
name: Главная
pageRef: /docs/info
weight: 10
- identifier: blog
name: Новости
pageRef: /blog
weight: 20
- name: Поиск
weight: 50
params:
type: search
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
extensions:
passthrough:
delimiters:
block: [['\[', '\]'], ['$$', '$$']]
inline: [['\(', '\)']]
enable: true
enableInlineShortcodes: true
params:
# description: Modern, responsive, batteries-included Hugo theme for creating beautiful static websites.
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
dark: images/logo-dark.svg
# width: 40
# height: 20
# link: /
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: wide
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: false
displayPoweredBy: false
width: wide
# Display the last modification date
displayUpdatedDate: true
dateFormat: "02-01-2006"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
# full | forward | reverse | strict
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
tokenize: forward
# editURL:
# enable: false
# base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
blog:
list:
displayTags: false
# date | lastmod | publishDate | title | weight
sortBy: date
sortOrder: desc # or "asc"
article:
displayPagination: true
highlight:
copy:
enable: true
# hover | always
display: hover
# comments:
# enable: false
# type: giscus
#
# # https://giscus.app/
# giscus:
# repo: imfing/hextra
# repoId: R_kgDOJ9fJag
# category: General
# categoryId: DIC_kwDOJ9fJas4CY7gW
# # mapping: pathname
# # strict: 0
# # reactionsEnabled: 1
# # emitMetadata: 0
# # inputPosition: top
# # lang: en
# # theme: noborder_dark

1
themes/hextra Submodule

@ -0,0 +1 @@
Subproject commit f194bc64e4818acc5d3458b26f2f656d4259391a