parameterize git branch (#222)
* parameterize git branch * docs: add param to README.md, prettier lint
This commit is contained in:
parent
4270ad6bbf
commit
83f7946136
3 changed files with 15 additions and 5 deletions
11
README.md
11
README.md
|
@ -102,8 +102,9 @@ enableEmoji: true
|
||||||
|
|
||||||
# Site parameters
|
# Site parameters
|
||||||
params:
|
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
|
gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
|
||||||
|
gitBranch: main
|
||||||
|
|
||||||
# specify whether you want to write some blog posts or not
|
# specify whether you want to write some blog posts or not
|
||||||
enableBlogPost: true
|
enableBlogPost: true
|
||||||
|
@ -145,12 +146,14 @@ Here, are the current plan and progress of various components of this theme. The
|
||||||
### Sections
|
### Sections
|
||||||
|
|
||||||
- [x] **Home**
|
- [x] **Home**
|
||||||
|
|
||||||
- [x] Configurable Background
|
- [x] Configurable Background
|
||||||
- [x] Author Image
|
- [x] Author Image
|
||||||
- [x] Greeting
|
- [x] Greeting
|
||||||
- [x] Typing Carousel
|
- [x] Typing Carousel
|
||||||
|
|
||||||
- [x] **About**
|
- [x] **About**
|
||||||
|
|
||||||
- [x] Name and Designation
|
- [x] Name and Designation
|
||||||
- [x] Summary
|
- [x] Summary
|
||||||
- [x] Markdown Support
|
- [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] Soft Skills Indicator
|
||||||
|
|
||||||
- [x] **Skills**
|
- [x] **Skills**
|
||||||
|
|
||||||
- [x] Skill Cards
|
- [x] Skill Cards
|
||||||
- [x] Markdown Support
|
- [x] Markdown Support
|
||||||
|
|
||||||
- [x] **Experiences**
|
- [x] **Experiences**
|
||||||
|
|
||||||
- [x] Designation
|
- [x] Designation
|
||||||
- [x] Timeline
|
- [x] Timeline
|
||||||
- [x] Company Overview
|
- [x] Company Overview
|
||||||
- [x] Responsibilities
|
- [x] Responsibilities
|
||||||
|
|
||||||
- [ ] **Projects**
|
- [ ] **Projects**
|
||||||
|
|
||||||
- [x] Category Filter
|
- [x] Category Filter
|
||||||
- [ ] Project Card
|
- [ ] Project Card
|
||||||
- [x] Overview
|
- [x] Overview
|
||||||
|
@ -181,6 +187,7 @@ Here, are the current plan and progress of various components of this theme. The
|
||||||
- [x] **Recent Posts**
|
- [x] **Recent Posts**
|
||||||
|
|
||||||
- [ ] **Academic Career**
|
- [ ] **Academic Career**
|
||||||
|
|
||||||
- [ ] Degree
|
- [ ] Degree
|
||||||
- [ ] Institution
|
- [ ] Institution
|
||||||
- [ ] Timeline
|
- [ ] Timeline
|
||||||
|
@ -189,6 +196,7 @@ Here, are the current plan and progress of various components of this theme. The
|
||||||
- [ ] Extracurricular Activities
|
- [ ] Extracurricular Activities
|
||||||
|
|
||||||
- [ ] **Publications**
|
- [ ] **Publications**
|
||||||
|
|
||||||
- [ ] Category Filter
|
- [ ] Category Filter
|
||||||
- [ ] Card
|
- [ ] Card
|
||||||
- [ ] Abstract
|
- [ ] Abstract
|
||||||
|
@ -198,6 +206,7 @@ Here, are the current plan and progress of various components of this theme. The
|
||||||
- [ ] Gallery
|
- [ ] Gallery
|
||||||
|
|
||||||
- [ ] **Accomplishment / Courses**
|
- [ ] **Accomplishment / Courses**
|
||||||
|
|
||||||
- [ ] Overview
|
- [ ] Overview
|
||||||
- [ ] Certificate
|
- [ ] Certificate
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ params:
|
||||||
|
|
||||||
# GitHub repo URL of your site
|
# GitHub repo URL of your site
|
||||||
gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
|
gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
|
||||||
|
gitBranch: main
|
||||||
|
|
||||||
# specify whether you want to write some blog posts or not
|
# specify whether you want to write some blog posts or not
|
||||||
enableBlogPost: true
|
enableBlogPost: true
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<!--- Improve this page button --->
|
<!--- Improve this page button --->
|
||||||
{{ if site.Params.GitRepo }}
|
{{ if site.Params.GitRepo }}
|
||||||
<div class="btn-improve-page">
|
<div class="btn-improve-page">
|
||||||
<a href="{{ site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
|
<a href="{{ site.Params.GitRepo }}/edit/{{ site.Params.GitBranch }}/content/{{ .File.Path }}">
|
||||||
<i class="fas fa-code-branch"></i>
|
<i class="fas fa-code-branch"></i>
|
||||||
{{ i18n "improve_this_page" }}
|
{{ i18n "improve_this_page" }}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue