Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
128 changes: 74 additions & 54 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,66 +1,86 @@
title = "Kubuntu"
baseURL = 'https://kubuntu.org/'
languageCode = "en-us"
theme = 'ananke'
DefaultContentLanguage = "en"
#SectionPagesMenu = "main"
defaultContentLanguage = "en"
# SectionPagesMenu = "main"

[pagination]
pagerSize = 3
googleAnalytics = ""
enableRobotsTXT = true
pagerSize = 3
googleAnalytics = ""
enableRobotsTXT = true

[languages]
[languages.en]
title = "Kubuntu"
weight = 1
contentDir = "content/en"
# languageDirection = 'rtl' for Right-To-Left languages
[languages.en]
title = "Kubuntu"
weight = 1
contentDir = "content/en"
# languageDirection = 'rtl' for Right-To-Left languages

# [languages.fr]
# title = "Kubuntu Fr"
# weight = 2
# contentDir = "content/fr"
# [languages.fr]
# title = "Kubuntu Fr"
# weight = 2
# contentDir = "content/fr"

# [languages.es]
# title = "Kubuntu Es"
# weight = 2
# contentDir = "content/es"
# [languages.es]
# title = "Kubuntu Es"
# weight = 2
# contentDir = "content/es"

[sitemap]
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"
changefreq = "monthly"
priority = 0.5
filename = "sitemap.xml"

[params]
text_color = "#333333"
favicon = "images/favicon.ico"
site_logo = "images/kubuntu-logo.png"
description = "Kubuntu - A friendly computing community"
apple_touch_icon = "images/apple-touch-icon.png"
webmanifest = "images/site.webmanifest"
custom_css = ["css/custom.css"]
background_color_class = "header-background"
cover_dimming_class = "main-background"
recent_posts_number = 3
body_classes = "ubuntu"
post_content_classes = "ubuntu"
post_header_classes = "avenir"
# [[params.social]]
# name = "twitter"
# url = "https://x.com/kubuntu"
# label = "TND Twitter"
[[params.social]]
name = "github"
url = "https://github.com/kubuntu-team"
label = "TND GitHub Account"
color = "#ff6800"
[[params.social]]
name = "facebook"
url = "https://www.facebook.com/kubuntu.org"
[[params.social]]
name = "youtube"
url = "https://www.youtube.com/@KubuntuPodcast"
[[params.social]]
name = "mastodon"
url = "https://fosstodon.org/@kubuntu"
rel = "me noopener"
text_color = "#333333"
favicon = "images/favicon.ico"
site_logo = "images/kubuntu-logo.png"
description = "Kubuntu - A friendly computing community"
apple_touch_icon = "images/apple-touch-icon.png"
webmanifest = "images/site.webmanifest"
custom_css = ["css/custom.css"]
background_color_class = "header-background"
cover_dimming_class = "main-background"
recent_posts_number = 3
body_classes = "ubuntu"
post_content_classes = "ubuntu"
post_header_classes = "avenir"
# [[params.social]]
# name = "twitter"
# url = "https://x.com/kubuntu"
# label = "TND Twitter"
[[params.social]]
name = "github"
url = "https://github.com/kubuntu-team"
label = "TND GitHub Account"
color = "#ff6800"
[[params.social]]
name = "facebook"
url = "https://www.facebook.com/kubuntu.org"
[[params.social]]
name = "youtube"
url = "https://www.youtube.com/@KubuntuPodcast"
[[params.social]]
name = "mastodon"
url = "https://fosstodon.org/@kubuntu"
rel = "me noopener"

[security]
allowContent = ['^text/html$', '^text/markdown$']
enableInlineShortcodes = false
[security.exec]
allow = ['^(dart-)?sass(-embedded)?$', '^go$', '^git$', '^node$', '^postcss$', '^tailwindcss$']
osEnv = ['(?i)^((HTTPS?|NO)_PROXY|PATH(EXT)?|APPDATA|TE?MP|TERM|GO\w+|(XDG_CONFIG_)?HOME|USERPROFILE|SSH_AUTH_SOCK|DISPLAY|LANG|SYSTEMDRIVE|PROGRAMDATA)$']
[security.funcs]
getenv = ['^HUGO_', '^CI$']
[security.http]
methods = ['(?i)GET|POST']
urls = ['(?i)^https?://[a-z0-9]', '! ^https?://\d+\.', '! (?i)localhost', '! (?i)^https?://[^/?#]*@']
[security.node]
[security.node.permissions]
allowAddons = ['tailwindcss']
allowChildProcess = ['tailwindcss']
allowRead = ['.']
allowWorker = ['tailwindcss']
allowWrite = []
disable = false
4 changes: 2 additions & 2 deletions layouts/partials/site-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<div class="flex-l items-center">
{{ partial "i18nlist.html" . }}
{{ if .Site.Menus.main }}
<ul class="{{ cond (eq $.Site.Language.LanguageDirection "rtl") "pr0 ml3" "pl0 mr3" }}">
<ul class="{{ cond (eq $.Site.Language.Direction "rtl") "pr0 ml3" "pl0 mr3" }}">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="list f5 f4-ns fw4 dib pv2 {{ cond (eq $.Site.Language.LanguageDirection "rtl") "pl3" "pr3" }}">
<li class="list f5 f4-ns fw4 dib pv2 {{ cond (eq $.Site.Language.Direction "rtl") "pl3" "pr3" }}">
<a class="hover-white no-underline white-90 {{ if $currentPage.IsMenuCurrent "main" . }}is-active{{ end }} {{ .Params.class }}" href="{{ .URL }}" title="{{ i18n "pageTitle" . }}">
{{ .Name }}
</a>
Expand Down
25 changes: 25 additions & 0 deletions themes/ananke/.coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

# see https://docs.coderabbit.ai/reference/configuration for details
language: "en"
early_access: false

enable_free_tier: true

reviews:
profile: "chill"
request_changes_workflow: true
high_level_summary: true
high_level_summary_in_walkthrough: true
poem: false
review_status: false
collapse_walkthrough: true
auto_review:
enabled: true
drafts: false

chat:
auto_reply: true

# validate at https://docs.coderabbit.ai/configuration/yaml-validator
9 changes: 9 additions & 0 deletions themes/ananke/.github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# These owners will be the default owners for everything in the repo.
# * <@insert_github_username>
#
# Order is important. The last matching pattern has the most precedence.

# This file is also being managed automatically by the gitown tool.
* @davidsneighbour
100 changes: 100 additions & 0 deletions themes/ananke/.github/ISSUE_TEMPLATE/bugs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
---
name: Report a bug
about: Use this template to report a bug.
title: "bug: "
labels: status:unconfirmed
assignees: davidsneighbour
---

<!---

This issue tracker is **ONLY** used for reporting bugs.

New features should be discussed [in the ideas section of our discussion forum](/discussions/categories/3-ideas).

Build and deploy issues should be discussed [in the Q&A section of our discussion forum](/discussions/categories/2-q-a-support).

Please read through these comments and add your responses and remove the comments when you are done.

Provide a general summary of the issue in the Title above and prefix it with `bug: `

-->

## Expected Behavior

<!---

Could you tell us what you did and what you expected to happen?

-->

## Current Behavior

<!---

Could you tell us what happens instead of the expected behavior?

-->

## Possible Solution

<!---

It's not mandatory, but please let us know if you know the reason for this issue or if you see a fix.

-->

## Steps to Reproduce

<!---

Provide a link to a live example or an unambiguous set of steps to reproduce this bug.
Include code to reproduce, if relevant.
Could you add screenshots if they help?
Could you make us understand what is going on?

-->

1.
2.
3.
4.

## The bigger picture (we need context)

<!---

What is your operating system (Name, Version, is everything up to date?)

-->

<!---

What is the output of the following commands:

- `hugo version`
- `go version`
- `git submodule status` (if you are running Ananke as a submodule)
- `hugo mod graph` (if you are running Ananke as a module)

-->

<!---

Keep the following HTML

-->

<details><summary>Hugo Config</summary>
<p>

<!---

Run `hugo config --format toml` inside of your repository (where you would
run `hugo server`) and copy the _complete_ output right after this closing
comment tag, between <p> and </p>.

-->

</p>
</details>
8 changes: 8 additions & 0 deletions themes/ananke/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Build and deployment issues
url: https://github.com/gohugo-ananke/ananke/discussions/categories/2-q-a-support
about: Please ask and answer questions here. Open a bug report only if you are sure it is a bug.
- name: Feature requests and problem solutions
url: https://github.com/gohugo-ananke/ananke/discussions/categories/3-ideas
about: Please ask and answer questions here. Open a bug report only if you are sure it is a bug.
Loading