diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index 8fdff3c..512e346 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2.3.4 - name: Setup Node - uses: actions/setup-node@v2.1.4 + uses: actions/setup-node@v2.1.5 with: node-version: "15.x" @@ -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.2 with: branch: autoprefixer branch-suffix: timestamp 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 }} diff --git a/exampleSite/data/bn/sections/projects.yaml b/exampleSite/data/bn/sections/projects.yaml index 7e2b808..bb6d8a4 100644 --- a/exampleSite/data/bn/sections/projects.yaml +++ b/exampleSite/data/bn/sections/projects.yaml @@ -38,7 +38,7 @@ projects: repo: https://github.com/tensorflow/tensorflow #url: "" summary: An Open Source Machine Learning Framework for Everyone. - tags: ["professional", "machine-learning","academic"] + tags: ["professional", "machine-learning"] - name: A sample academic paper role: Team Lead diff --git a/exampleSite/data/cn/sections/projects.yaml b/exampleSite/data/cn/sections/projects.yaml index e72169c..849ffe8 100644 --- a/exampleSite/data/cn/sections/projects.yaml +++ b/exampleSite/data/cn/sections/projects.yaml @@ -37,7 +37,7 @@ projects: repo: https://github.com/tensorflow/tensorflow #url: "" summary: An Open Source Machine Learning Framework for Everyone. - tags: ["professional", "machine-learning","academic"] + tags: ["professional", "machine-learning"] - name: A sample academic paper role: Team Lead diff --git a/exampleSite/data/en/sections/projects.yaml b/exampleSite/data/en/sections/projects.yaml index 544efd8..fc3e4a8 100644 --- a/exampleSite/data/en/sections/projects.yaml +++ b/exampleSite/data/en/sections/projects.yaml @@ -37,7 +37,7 @@ projects: repo: https://github.com/tensorflow/tensorflow #url: "" summary: An Open Source Machine Learning Framework for Everyone. - tags: ["professional", "machine-learning","academic"] + tags: ["professional", "machine-learning"] - name: A sample academic paper role: Team Lead diff --git a/exampleSite/data/id/sections/projects.yaml b/exampleSite/data/id/sections/projects.yaml index 861eced..813f9e4 100644 --- a/exampleSite/data/id/sections/projects.yaml +++ b/exampleSite/data/id/sections/projects.yaml @@ -37,7 +37,7 @@ projects: repo: https://github.com/tensorflow/tensorflow #url: "" summary: An Open Source Machine Learning Framework for Everyone. - tags: ["professional", "machine-learning","academic"] + tags: ["professional", "machine-learning"] - name: A sample academic paper role: Team Lead diff --git a/i18n/bn.toml b/i18n/bn.toml index a39e5f9..15f4daf 100644 --- a/i18n/bn.toml +++ b/i18n/bn.toml @@ -70,3 +70,27 @@ other = "পাঠক্রম বহির্ভূত কার্যক্র [see_more] other = "আরো দেখুন" + +[responsibilities] +other = "দায়িত্বসমুহ:" + +[present] +other = "বর্তমান" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/cn.toml b/i18n/cn.toml index 59f133e..2b8faf1 100644 --- a/i18n/cn.toml +++ b/i18n/cn.toml @@ -73,3 +73,27 @@ other = "课外活动" [see_more] other = "查看更多" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/de.toml b/i18n/de.toml index 85f1a11..90d48b6 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -73,3 +73,27 @@ other = "Buitenschoolse activiteiten" [see_more] other = "Bekijk meer" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/en.toml b/i18n/en.toml index 3a7aaf2..4b600ee 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -73,3 +73,27 @@ other = "Extracurricular Activities" [see_more] other = "See More" + +[responsibilities] +other = "Responsibilities:" + +[present] +other = "Present" + +[comments_javascript] +other = "Please enable JavaScript to view the" + +[comments_by] +other = "comments powered by" + +[read] +other = "Read" + +[project_star] +other = "Star" + +[project_details] +other = "Details" + +[err_404] +other = "The page you are looking for is not there yet." \ No newline at end of file diff --git a/i18n/es.toml b/i18n/es.toml index a660c5d..4648daf 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -73,3 +73,27 @@ other = "Actividades extracurriculares" [see_more] other = "Ver más" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/fr.toml b/i18n/fr.toml index f8e543f..3a9c2e5 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -73,3 +73,27 @@ other = "Activités extra-scolaires" [see_more] other = "En savoir plus" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/hi.toml b/i18n/hi.toml index 6d504bd..ea0cd6c 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -73,3 +73,27 @@ other = "अतिरिक्त पाठयक्रम गतिविधि [see_more] other = "और देखें" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/id.toml b/i18n/id.toml index 244803f..f2fa405 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -73,3 +73,27 @@ other = "Kegiatan ekstrakulikuler" [see_more] other = "Lihat Selengkapnya" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/it.toml b/i18n/it.toml index bbfa747..1d8ad81 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -73,3 +73,27 @@ other = "Attività extracurriculari" [see_more] other = "Vedi altro" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/jp.toml b/i18n/jp.toml index 5676860..06f3f4d 100644 --- a/i18n/jp.toml +++ b/i18n/jp.toml @@ -70,3 +70,27 @@ other = "課外活動" [see_more] other = "続きを見る" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/ko.toml b/i18n/ko.toml index 83e7573..d4e3271 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -73,3 +73,27 @@ other = "기타 활동" [see_more] other = "더보기" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/ru.toml b/i18n/ru.toml index 2a525c9..6c02809 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -73,3 +73,27 @@ other = "Внеклассные занятия" [see_more] other = "Узнать больше" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/i18n/vn.toml b/i18n/vn.toml index 331b699..98b5fec 100644 --- a/i18n/vn.toml +++ b/i18n/vn.toml @@ -73,3 +73,27 @@ other = "Các hoạt động ngoại khóa" [see_more] other = "Xem thêm" + +# [responsibilities] +# other = "Responsibilities:" + +# [present] +# other = "Present" + +# [comments_javascript] +# other = "Please enable JavaScript to view the" + +# [comments_by] +# other = "comments powered by" + +# [read] +# other = "Read" + +# [project_star] +# other = "Star" + +# [project_details] +# other = "Details" + +# [err_404] +# other = "The page you are looking for is not there yet." diff --git a/layouts/404.html b/layouts/404.html index 17944c1..8fd4a16 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -22,7 +22,7 @@

404

-

The page you are looking for is not there yet.

+

{{ i18n "err_404" }}

diff --git a/layouts/partials/cards/post.html b/layouts/partials/cards/post.html index 766f9dc..7bfe722 100644 --- a/layouts/partials/cards/post.html +++ b/layouts/partials/cards/post.html @@ -13,7 +13,7 @@ Read{{ i18n "read" }} diff --git a/layouts/partials/cards/project.html b/layouts/partials/cards/project.html index 6b4f959..45e63bd 100644 --- a/layouts/partials/cards/project.html +++ b/layouts/partials/cards/project.html @@ -26,25 +26,39 @@

{{ .summary | markdownify }}

- - {{ if .repo }} - Star - {{ else if .url }} - Details + +
diff --git a/layouts/partials/cards/recent-post.html b/layouts/partials/cards/recent-post.html index 5288b9f..c5db57f 100644 --- a/layouts/partials/cards/recent-post.html +++ b/layouts/partials/cards/recent-post.html @@ -12,7 +12,7 @@ diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html index 57eb960..71fef21 100644 --- a/layouts/partials/disqus.html +++ b/layouts/partials/disqus.html @@ -17,11 +17,11 @@ })(); comments powered by Disqus{{ i18n "comments_by" }} Disqus diff --git a/layouts/partials/helpers/get-hero.html b/layouts/partials/helpers/get-hero.html index 0a10d0a..d253f85 100644 --- a/layouts/partials/helpers/get-hero.html +++ b/layouts/partials/helpers/get-hero.html @@ -1,5 +1,10 @@ {{/* check if there is any hero image in the same folder as the markdown file */}} {{ $heroImage := .Page.Resources.GetMatch "hero.{jpg,png,svg}"}} + +{{/* if hero image is specified in the page front-matter, then use that */}} +{{ if .Params.hero }} + {{ $heroImage = .Page.Resources.GetMatch .Params.hero }} +{{ end }} {{ .Scratch.Set "heroScratch" $heroImage }} {{/* if hero image is not provided, then use the default hero image */}} diff --git a/layouts/partials/sections/about.html b/layouts/partials/sections/about.html index df9702d..30055ea 100644 --- a/layouts/partials/sections/about.html +++ b/layouts/partials/sections/about.html @@ -30,6 +30,8 @@
  • {{ if eq .name "Email" }} + {{ else if eq .name "Phone" }} + {{ else }} {{ end }} diff --git a/layouts/partials/sections/education-alt.html b/layouts/partials/sections/education-alt.html index 7d9597f..5ba1059 100644 --- a/layouts/partials/sections/education-alt.html +++ b/layouts/partials/sections/education-alt.html @@ -51,18 +51,19 @@ {{ if .takenCourses }}
    {{ i18n "taken_courses" }}
    - {{ if .takenCourses.showGrades }} + {{ if .takenCourses.showGrades }} + {{ $hideScale := .takenCourses.hideScale }} - + {{ if not $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - + {{ if not $hideScale }}{{ end }} {{ end }} diff --git a/layouts/partials/sections/education.html b/layouts/partials/sections/education.html index b6b5aee..21c195c 100644 --- a/layouts/partials/sections/education.html +++ b/layouts/partials/sections/education.html @@ -51,18 +51,19 @@ {{ if .takenCourses }}
    {{ i18n "taken_courses"}}
    - {{ if .takenCourses.showGrades }} + {{ if .takenCourses.showGrades }} + {{ $hideScale := .takenCourses.hideScale }}
    {{ i18n "course_name" }}{{ i18n "total_credit" }}{{ i18n "total_credit" }}{{ i18n "obtained_credit" }}
    {{ $course.name }}{{ $course.outOf }}{{ $course.outOf }}{{ $course.achieved }}
    - + {{ if not $hideScale }}{{ end }} {{ range $index,$course := .takenCourses.courses }} - + {{ if not $hideScale }}{{ end }} {{ end }} diff --git a/layouts/partials/sections/experiences/multiple-positions.html b/layouts/partials/sections/experiences/multiple-positions.html index aae5f3d..1156fe6 100644 --- a/layouts/partials/sections/experiences/multiple-positions.html +++ b/layouts/partials/sections/experiences/multiple-positions.html @@ -7,7 +7,7 @@ {{ $oldestPosition := index (last 1 .positions) 0}} {{ $mostRecentPosition := index (first 1 .positions) 0}}

    - {{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}Present{{ end }}, + {{ $oldestPosition.start }} - {{ if $mostRecentPosition.end }}{{ $mostRecentPosition.end }}{{ else }}{{ i18n "present" }}{{ end }}, {{ .company.location }}

    @@ -17,7 +17,7 @@
    {{ range $index,$position:= .positions }}
    {{ $position.designation }}
    -

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

    +

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

      {{ range $position.responsibilities }} 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" }}
    {{ i18n "course_name"}}{{ i18n "total_credit"}}{{ i18n "total_credit"}}{{ i18n "obtained_credit"}}
    {{ $course.name }}{{ $course.outOf }}{{ $course.outOf }}{{ $course.achieved }}