Code Monkey home page Code Monkey logo

conf's Introduction

Deploy Website

ubucon-asia.github.io

Website that contains index of Ubucon Asia events Built with Hugo and Vanilla framework

Adding contents

You will need to install Hugo CLI to easily add contents.

To create new content, run the following command

# Create event content
hugo new --kind events events/<session-name>/_index.md
# Example: Create session content with title "Ubucon Asia 2021"
hugo new --kind events events/ubucon-asia-2021/_index.md

After that, You will find generated markdown file under content directory. Edit the markdown file to add details. To add photo files, put files on content item directory.(The same path where content item's _index.md exists.)

How to localize

  1. Add language info in config.yml under languages: section. And fill out translation for site title, description and navigation menu. After adding language in config.yml you will be able to see your new language in language chooser menu.
languages:
  ko: # Language code
    languageName: 한국어 # Language name
    title: 우부콘 아시아
    weight: 2
    params:
      description: >- # description for event period
        2021년 부터 매년 Ubuntu 아시아 지역 커뮤니티를 모으고 연결하는 Ubuntu 컨퍼런스
    menu:
      main: # site navigation fields
        - identifier: events
          name: 행사 # Make sure to translate only "name" field
          url: events
          weight: 1
        - identifier: wiki
          name: 위키
          url: https://wiki.ubuntu.com/UbuconAsia
          weight: 5
  1. UI localization
    You can see UI locale files in i18n directory. make a copy of en.toml And translate strings wraped with quotation marks. Below is an example.
[learn_more]
other = "Learn more"
[learn_more]
other = "더 알아보기"
  1. Markdown content localization

Most markdown files are name index.md or _index.md. To translate, Make a copy of markdown file on same path. with the filename index.<lang-code>.md or _index.<lang-code>.md (e.g. index.ko.md or _index.ko.md). Then, translate the copied file.

Ubucon Asia 2021 website uses hugo's i18n feature to support localization. To learn more, please refer to "Multilingual Mode"

License

Code: MIT, Contents: CC BY 4.0

conf's People

Contributors

cho2 avatar robbinespu avatar sukso96100 avatar youngbin-cm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.