From 83f79461362bd958eb42506915144b68812adea7 Mon Sep 17 00:00:00 2001 From: Nicholas Santiago Date: Thu, 21 Jan 2021 02:03:37 -0500 Subject: [PATCH 01/17] parameterize git branch (#222) * parameterize git branch * docs: add param to README.md, prettier lint --- README.md | 17 +++++++++++++---- exampleSite/config.yaml | 1 + layouts/_default/single.html | 2 +- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3df4437..85968b5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Toha -[![Netlify Status](https://api.netlify.com/api/v1/badges/b1b93b02-f278-440b-ae1b-304e9f4c4ab5/deploy-status)](https://app.netlify.com/sites/toha/deploys) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fhugo-toha%2Ftoha%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/hugo-toha/toha/goto?ref=master) ![Repository Size](https://img.shields.io/github/repo-size/hugo-toha/toha) ![Lines of Codes](https://img.shields.io/tokei/lines/github/hugo-toha/toha) ![Contributor](https://img.shields.io/github/contributors/hugo-toha/toha) ![Latest Release](https://img.shields.io/github/v/release/hugo-toha/toha?include_prereleases) ![Last Commit](https://img.shields.io/github/last-commit/hugo-toha/toha) ![Open Issues](https://img.shields.io/github/issues/hugo-toha/toha?color=important) ![Open Pull Requests](https://img.shields.io/github/issues-pr/hugo-toha/toha?color=yellowgreen) ![License](https://img.shields.io/github/license/hugo-toha/toha) ![Security Headers](https://img.shields.io/security-headers?url=https%3A%2F%2Fhugo-toha.github.io%2F) [![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/b7cb60ab/hugo-toha.github.io) +[![Netlify Status](https://api.netlify.com/api/v1/badges/b1b93b02-f278-440b-ae1b-304e9f4c4ab5/deploy-status)](https://app.netlify.com/sites/toha/deploys) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fhugo-toha%2Ftoha%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/hugo-toha/toha/goto?ref=master) ![Repository Size](https://img.shields.io/github/repo-size/hugo-toha/toha) ![Lines of Codes](https://img.shields.io/tokei/lines/github/hugo-toha/toha) ![Contributor](https://img.shields.io/github/contributors/hugo-toha/toha) ![Latest Release](https://img.shields.io/github/v/release/hugo-toha/toha?include_prereleases) ![Last Commit](https://img.shields.io/github/last-commit/hugo-toha/toha) ![Open Issues](https://img.shields.io/github/issues/hugo-toha/toha?color=important) ![Open Pull Requests](https://img.shields.io/github/issues-pr/hugo-toha/toha?color=yellowgreen) ![License](https://img.shields.io/github/license/hugo-toha/toha) ![Security Headers](https://img.shields.io/security-headers?url=https%3A%2F%2Fhugo-toha.github.io%2F) [![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/b7cb60ab/hugo-toha.github.io) A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist design and responsiveness. @@ -68,7 +68,7 @@ At first, add [Toha](https://github.com/hugo-toha/toha) theme as git submodule t $ git submodule add https://github.com/hugo-toha/toha.git themes/toha ``` ->Don't use SSH URL of the theme during adding as git sub-module. Also, don't clone the theme in your `themes` directory using `git clone`. They don't work well with Github Action or Netlify. +> Don't use SSH URL of the theme during adding as git sub-module. Also, don't clone the theme in your `themes` directory using `git clone`. They don't work well with Github Action or Netlify. If you don't already have a hugo site, create one by following the step by step guide from [here](https://toha-guides.netlify.app/posts/getting-started/prepare-site/). @@ -102,8 +102,9 @@ enableEmoji: true # Site parameters params: - # GitHub repo URL of your site + # GitHub repo URL and branch of your site gitRepo: https://github.com/hugo-toha/hugo-toha.github.io + gitBranch: main # specify whether you want to write some blog posts or not enableBlogPost: true @@ -145,12 +146,14 @@ Here, are the current plan and progress of various components of this theme. The ### Sections - [x] **Home** + - [x] Configurable Background - [x] Author Image - [x] Greeting - [x] Typing Carousel - [x] **About** + - [x] Name and Designation - [x] Summary - [x] Markdown Support @@ -160,16 +163,19 @@ Here, are the current plan and progress of various components of this theme. The - [x] Soft Skills Indicator - [x] **Skills** + - [x] Skill Cards - [x] Markdown Support - [x] **Experiences** + - [x] Designation - [x] Timeline - [x] Company Overview - [x] Responsibilities - [ ] **Projects** + - [x] Category Filter - [ ] Project Card - [x] Overview @@ -181,6 +187,7 @@ Here, are the current plan and progress of various components of this theme. The - [x] **Recent Posts** - [ ] **Academic Career** + - [ ] Degree - [ ] Institution - [ ] Timeline @@ -189,6 +196,7 @@ Here, are the current plan and progress of various components of this theme. The - [ ] Extracurricular Activities - [ ] **Publications** + - [ ] Category Filter - [ ] Card - [ ] Abstract @@ -198,6 +206,7 @@ Here, are the current plan and progress of various components of this theme. The - [ ] Gallery - [ ] **Accomplishment / Courses** + - [ ] Overview - [ ] Certificate @@ -246,7 +255,7 @@ Pull requests are most welcome and I will be happy to review. Just follow the fo - Use as few dependencies as possible. - Have patience. ->I am not a web developer. I have created this theme for my personal needs. So, it is reasonable to have some flaws in the codes. Feel free to open issues and PRs acknowledging the problems. +> I am not a web developer. I have created this theme for my personal needs. So, it is reasonable to have some flaws in the codes. Feel free to open issues and PRs acknowledging the problems. ## Local Development diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 1d1fd7f..670c99c 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -69,6 +69,7 @@ params: # GitHub repo URL of your site gitRepo: https://github.com/hugo-toha/hugo-toha.github.io + gitBranch: main # specify whether you want to write some blog posts or not enableBlogPost: true diff --git a/layouts/_default/single.html b/layouts/_default/single.html index a83c6b3..1751c09 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -57,7 +57,7 @@ {{ if site.Params.GitRepo }}
- + {{ i18n "improve_this_page" }} From e9736adc0d7db57171c498b57654abcf9d7480a7 Mon Sep 17 00:00:00 2001 From: Juhong Date: Thu, 21 Jan 2021 16:04:46 +0900 Subject: [PATCH 02/17] Add Korean i18n (#220) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- i18n/ko.toml | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 i18n/ko.toml diff --git a/i18n/ko.toml b/i18n/ko.toml new file mode 100644 index 0000000..83e7573 --- /dev/null +++ b/i18n/ko.toml @@ -0,0 +1,75 @@ +# More documentation here: https://github.com/nicksnyder/go-i18n +[home] +other = "Home" + +[posts] +other = "게시글" + +[toc_heading] +other = "목차" + +[at] +other = "at" + +[resume] +other = "이력서" + +[navigation] +other = "바로가기" + +[contact_me] +other = "Contact me:" + +[email] +other = "Email" + +[phone] +other = "Phone" + +[newsletter_text] +other = "이메일 알림으로 최신 상태를 유지해보세요" + +[newsletter_input_placeholder] +other = "이메일을 입력하세요" + +[newsletter_warning] +other = "이메일을 다른 목적으로 사용하지 않습니다." + +[submit] +other = "제출" + +[hugoAttributionText] +other = "Powered by" + +[prev] +other = "이전" + +[next] +other = "다음" + +[improve_this_page] +other = "이 페이지를 개선" + +[out_of] +other = "out of" + +[publications] +other = "Publications" + +[taken_courses] +other = "이수 과목" + +[course_name] +other = "과목명" + +[total_credit] +other = "총 수익" + +[obtained_credit] +other = "획득한 수익" + +[extracurricular_activities] +other = "기타 활동" + +[see_more] +other = "더보기" From 946a8bd4d5a007db6354e00cedf790ac904b52e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 26 Jan 2021 06:34:04 +0000 Subject: [PATCH 03/17] Bump peter-evans/create-pull-request from v3.6.0 to v3.7.0 (#225) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from v3.6.0 to v3.7.0. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.6.0...2455e1596942c2902952003bbb574afbbe2ab2e6) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/autoprefixer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 15878d7..8fdff3c 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -21,7 +21,7 @@ jobs: npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.6.0 + uses: peter-evans/create-pull-request@v3.7.0 with: branch: autoprefixer branch-suffix: timestamp From 631a3b46dc3d8923045b94dc40f98d88a1e4cf42 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Feb 2021 07:15:56 +0000 Subject: [PATCH 04/17] Bump peter-evans/create-pull-request from v3.7.0 to v3.8.1 (#228) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from v3.7.0 to v3.8.1. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.7.0...34371f09e5a05dadd212d0bc451d4c1fa456c646) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/autoprefixer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 8fdff3c..1403659 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -21,7 +21,7 @@ jobs: npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.7.0 + uses: peter-evans/create-pull-request@v3.8.1 with: branch: autoprefixer branch-suffix: timestamp From f5aebb3cdd0c0f3c566aae5e35b6120179565e4b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Feb 2021 06:17:33 +0000 Subject: [PATCH 05/17] Bump peter-evans/create-pull-request from v3.8.1 to v3.8.2 (#229) Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from v3.8.1 to v3.8.2. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3.8.1...052fc72b4198ba9fbc81b818c6e1859f747d49a8) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/autoprefixer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 1403659..65cb048 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -21,7 +21,7 @@ jobs: npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.8.1 + uses: peter-evans/create-pull-request@v3.8.2 with: branch: autoprefixer branch-suffix: timestamp From b1e1b7c5d621b6045e1c61c6b6ead82fa3520d5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Feb 2021 07:19:13 +0000 Subject: [PATCH 06/17] Bump release-drafter/release-drafter from v5.13.0 to v5.14.0 (#230) Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from v5.13.0 to v5.14.0. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](https://github.com/release-drafter/release-drafter/compare/v5.13.0...e5ccf147077e46b0225a80bbe314d795d77bb7a2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/draft-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 06c4a5d..26b97b3 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: # Create/Update release draft - - uses: release-drafter/release-drafter@v5.13.0 + - uses: release-drafter/release-drafter@v5.14.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a15f7364f897e1df8021ee3f7ba5ea23059f85a5 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Tue, 16 Feb 2021 05:56:21 +0100 Subject: [PATCH 07/17] Add i18n to experiences section (#232) --- i18n/en.toml | 6 ++++++ layouts/partials/sections/experiences/single-position.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/en.toml b/i18n/en.toml index 3a7aaf2..f880f81 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -73,3 +73,9 @@ other = "Extracurricular Activities" [see_more] other = "See More" + +[responsibilities] +other = "Responsibilities:" + +[present] +other = "Present" \ No newline at end of file diff --git a/layouts/partials/sections/experiences/single-position.html b/layouts/partials/sections/experiences/single-position.html index dda35ef..2300755 100644 --- a/layouts/partials/sections/experiences/single-position.html +++ b/layouts/partials/sections/experiences/single-position.html @@ -5,14 +5,14 @@
{{ $position.designation }}
{{ if .company.url }}{{ .company.name }}{{ else }}{{ .company.name }}{{ end }}
-

{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}Present{{ end }}, +

{{ $position.start }} - {{ if $position.end }}{{ $position.end }}{{ else }}{{ i18n "present" }}{{ end }}, {{ .company.location }}

{{ .company.overview | markdownify }}

-
Responsibilities:
+
{{ i18n "responsibilities" }}