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
|
||||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
<!--- Improve this page button --->
|
||||
{{ if site.Params.GitRepo }}
|
||||
<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>
|
||||
{{ i18n "improve_this_page" }}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue