Translations and i18n (#60)
* Managing i18n * Fix absolute path * Config files * Home link manage langage * Fixing footer i18n * Implemented i18n on newsletter * Implemented two languages in example * Removed old section directory * Using yaml in data to organize home summary * Fully working for old versions without i18n * Integrating language menu CSS * Fix language dropdown CSS * Refactor translation codes * Remove duplicate code * Fix URL issues * Move customMenus and other site related config into data section * Fix error during language toggle * Only show the available translation for the posts * Handle navbar brand URL properly * Fix responsiveness Co-authored-by: Hugo MARTIN <hugo.martin.69@gmail.com> Co-authored-by: hossainemruz <emruz@appscode.com>
This commit is contained in:
parent
6c2cca0127
commit
46b21e028c
56 changed files with 1116 additions and 190 deletions
48
exampleSite/data/en/sections/skills.yaml
Normal file
48
exampleSite/data/en/sections/skills.yaml
Normal file
|
@ -0,0 +1,48 @@
|
|||
# section information
|
||||
section:
|
||||
name: Skills
|
||||
enable: true
|
||||
weight: 2
|
||||
showOnNavbar: true
|
||||
# Can optionally hide the title in sections
|
||||
# hideTitle: true
|
||||
|
||||
# Your Skills.
|
||||
# Give a summary of you each skill in the summary section.
|
||||
skills:
|
||||
- name: Kubernetes
|
||||
icon: "images/skills/kubernetes.png"
|
||||
summary: "Capable of deploying, managing application on Kubernetes. Experienced in writing Kubernetes controllers for CRDs."
|
||||
url: "https://kubernetes.io/"
|
||||
|
||||
- name: Go Development
|
||||
icon: "images/skills/go.png"
|
||||
summary: "Using as the main language for professional development. Capable of writing scalable, testable, and maintainable program."
|
||||
url: "https://golang.org/"
|
||||
|
||||
- name: Cloud Computing
|
||||
icon: "images/skills/cloud.png"
|
||||
summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc."
|
||||
|
||||
- name: Docker
|
||||
icon: "images/skills/docker.svg"
|
||||
summary: "Write most of the programs as dockerized container. Experienced with multi-stage, multi-arch build process."
|
||||
url: "https://www.docker.com/"
|
||||
|
||||
- name: Prometheus
|
||||
icon: "images/skills/prometheus.png"
|
||||
summary: "Capable of setup, configure Prometheus metrics. Experienced with PromQL, AlertManager. Also, experienced with writing metric exporters."
|
||||
url: "https://prometheus.io/"
|
||||
|
||||
- name: Linux
|
||||
icon: "images/skills/linux.png"
|
||||
summary: "Using as the main operating system. Capable of writing bash/shell scripts."
|
||||
|
||||
- name: Git
|
||||
icon: "images/skills/git.png"
|
||||
summary: "Experienced with git-based development. Mostly, use Github. Also, have experience in working with GitLab."
|
||||
url: "https://git-scm.com/"
|
||||
|
||||
- name: C++
|
||||
icon: "images/skills/c++.png"
|
||||
summary: "Know basic C/C++ programming. Used for contest programming and problem solving."
|
Loading…
Add table
Add a link
Reference in a new issue