diff options
author | gurusabarish <gurusabarisha@gmail.com> | 2022-03-23 03:58:13 +0300 |
---|---|---|
committer | gurusabarish <gurusabarisha@gmail.com> | 2022-03-23 03:58:13 +0300 |
commit | 8e608c1cc23ee22efbb6c6f67b19a9dc916b2115 (patch) | |
tree | e0729ff91b50aac94bffb3ec5d90a89a0c10cc26 | |
parent | 767636198355f4b3b281933b7a86ed62e968bb58 (diff) |
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.md | 38 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/custom.md | 10 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/feature_request.md | 20 | ||||
-rw-r--r-- | .github/stale.yml | 19 | ||||
-rw-r--r-- | .github/workflows/deploy.yml | 36 | ||||
-rw-r--r-- | README.md | 29 | ||||
-rw-r--r-- | exampleSite/config.yaml (renamed from website/config.yaml) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/emoji-support.md (renamed from website/content/blog/emoji-support.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/markdown-syntax.md (renamed from website/content/blog/markdown-syntax.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/placeholder-text.md (renamed from website/content/blog/placeholder-text.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/blog/rich-content.md (renamed from website/content/blog/rich-content.md) | 0 | ||||
-rw-r--r-- | exampleSite/content/project/example.md (renamed from website/content/project/example.md) | 0 | ||||
-rw-r--r-- | exampleSite/static/images/achiv.jpg (renamed from website/static/images/achiv.jpg) | bin | 54535 -> 54535 bytes | |||
-rw-r--r-- | exampleSite/static/images/education.png (renamed from website/static/images/education.png) | bin | 57759 -> 57759 bytes | |||
-rw-r--r-- | exampleSite/static/images/fav.png (renamed from website/static/images/fav.png) | bin | 7993 -> 7993 bytes | |||
-rw-r--r-- | exampleSite/static/images/profile.png (renamed from website/static/images/profile.png) | bin | 5207 -> 5207 bytes | |||
-rw-r--r-- | exampleSite/static/images/profile.webp (renamed from website/static/images/profile.webp) | bin | 2278 -> 2278 bytes | |||
-rw-r--r-- | exampleSite/static/images/project.jpg (renamed from website/static/images/project.jpg) | bin | 254205 -> 254205 bytes | |||
-rw-r--r-- | exampleSite/static/images/v1/avatar.webp (renamed from website/static/images/v1/avatar.webp) | bin | 16994 -> 16994 bytes | |||
-rw-r--r-- | exampleSite/static/style.css (renamed from website/static/style.css) | 0 | ||||
-rw-r--r-- | exampleSite/v1.yaml (renamed from website/v1.yaml) | 0 | ||||
-rw-r--r-- | exampleSite/v2.yaml (renamed from website/v2.yaml) | 0 | ||||
-rw-r--r-- | exampleSite/v3.yaml (renamed from website/v3.yaml) | 0 | ||||
-rw-r--r-- | images/screenshot.png | bin | 150976 -> 0 bytes | |||
-rw-r--r-- | images/tn.png | bin | 67460 -> 0 bytes | |||
-rw-r--r-- | images/v1-demo.png | bin | 195354 -> 0 bytes | |||
-rw-r--r-- | images/v2-demo.png | bin | 91542 -> 0 bytes | |||
-rw-r--r-- | images/v3-demo.png | bin | 508993 -> 0 bytes | |||
-rw-r--r-- | netlify.toml | 18 |
29 files changed, 14 insertions, 156 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 48d5f81..0000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index f9b2acb..0000000 --- a/.github/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 120 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 30 -# Issues with these labels will never be considered stale -exemptLabels: - - Keep -# Label to use when marking an issue as stale -staleLabel: Stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. - If this is a **bug** and you can still reproduce this error on the <code>master</code> branch, please reply with all of the information you have about it in order to keep the issue open. - If this is a **feature request**, and you feel that it is still relevant and valuable, please tell us why. - This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions. - -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 8a00f09..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Deployment
-
-on:
- push:
- branches:
- - master
- workflow_dispatch:
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
- with:
- submodules: true
- fetch-depth: 0
-
- - name: Install Hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "0.79.0"
-
- - name: Build
- run: cd website && hugo --gc --minify --themesDir .
-
- - name: Deploy website to the branch
- uses: peaceiris/actions-gh-pages@v3
- with:
- personal_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./website/public
- #external_repository: gurusabarish/hugo-profile-demo
- publish_branch: demo
- user_name: hugo-profile bot
- user_email: githubactionsbot@users.noreply.github.com
@@ -4,29 +4,10 @@ [![Twitter](https://img.shields.io/twitter/url?label=Tweet&style=social&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fgurusabarish%2Fhugo-profile) [![GitHub forks](https://img.shields.io/github/forks/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/network) [![GitHub stars](https://img.shields.io/github/stars/gurusabarish/hugo-profile?style=plastic)](https://github.com/gurusabarish/hugo-profile/stargazers) -[![Netlify Status](https://api.netlify.com/api/v1/badges/5c1dcb34-cada-4c80-82b7-cfdbdbd7c774/deploy-status)](https://app.netlify.com/sites/hugo-profile/deploys) -![Repository Size](https://img.shields.io/github/repo-size/gurusabarish/hugo-profile) -![Latest Release](https://img.shields.io/github/v/release/gurusabarish/hugo-profile?include_prereleases) -![Last Commit](https://img.shields.io/github/last-commit/gurusabarish/hugo-profile) -![Open Issues](https://img.shields.io/github/issues/gurusabarish/hugo-profile?color=important) -![Open Pull Requests](https://img.shields.io/github/issues-pr/gurusabarish/hugo-profile?color=yellowgreen) -![License](https://img.shields.io/github/license/gurusabarish/hugo-profile) - </div> A high performance and mobile first hugo template for personal portfolio and blog -### Credit - -I spent an amount of effort building this template. It's always disheartening whenever I find that someone use this template without giving me credit. Please, give me proper credit in footer. - -### Demo - -- [Live demo V1](https://hugo-profile-1.netlify.app) -- [Live demo V2](https://hugo-profile-2.netlify.app) -- [Live demo V3 (latest)](https://hugo-profile.netlify.app) -- [Github pages demo](https://gurusabarish.github.io/hugo-profile) - ## Requirements - Hugo Version 0.68.0 or higher @@ -41,7 +22,7 @@ I spent an amount of effort building this template. It's always disheartening wh ### Hugo theme format - Install Hugo and create a site using `hugo new site my-site -f=yaml` -- Clone this repo inside your themes folder and create config.yaml (_I am not much aware about toml. So, I am using yaml format._) inside root folder and use one of these [v1config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v1.yaml), [v2config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v2.yaml), [v3config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v3.yaml) as base template. +- Clone this repo inside your themes folder and create config.yaml (_I am not much aware about toml. So, I am using yaml format._) inside root folder and use one of these [v1config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v1.yaml), [v2config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v2.yaml), [v3config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v3.yaml) as base template. ``` cd themes @@ -59,22 +40,22 @@ git clone https://github.com/gurusabarish/hugo-profile.git cd hugo-profile ``` -- Now create config.yaml file in your root folder and use one of these [v1config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v1.yaml), [v2config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v2.yaml), [v3config](https://github.com/gurusabarish/hugo-profile/blob/master/website/v3.yaml) as base template. +- Now create config.yaml file in your root folder and use one of these [v1config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v1.yaml), [v2config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v2.yaml), [v3config](https://github.com/gurusabarish/hugo-profile/blob/version3/exampleSite/v3.yaml) as base template. - Run your site using `hugo serve` commend ### Direct deployment using netlify - Fork this repo or create new repo using `use this template` button and connect repo to netlify. -- You can customize the config file, content and everything inside website folder. Netlify will automatically deploy your changes every time you modify the repo. +- You can customize the config file, content and everything inside exampleSite folder. Netlify will automatically deploy your changes every time you modify the repo. **[What is netlify?](https://www.netlify.com/about/)** An intuitive Git-based workflow and powerful serverless platform to build, deploy, and collaborate on web apps ### Direct deployment using Github Pages and action - Fork this repo or create new repo using `use this template` button. Github action will generate all files and push to demo branch. Now, you have to connect your github pages to that `demo` branch. _No need to create demo branch. Github action will take care of it_ -- You can customize the config file, content and everything inside website folder. Github action will automatically deploy your changes to demo branch every time you modify the repo. +- You can customize the config file, content and everything inside exampleSite folder. Github action will automatically deploy your changes to demo branch every time you modify the repo. - When using your own domain create a file in the static dir called `CNAME' and put your domain in it. -- If you clone the repo locally, you can veiw the local change with `hugo --gc --minify --themesDir . serve` from within the website dir. +- If you clone the repo locally, you can view the local change with `hugo --gc --minify --themesDir . serve` from within the exampleSite dir. ## Deployment diff --git a/website/config.yaml b/exampleSite/config.yaml index b7ee644..b7ee644 100644 --- a/website/config.yaml +++ b/exampleSite/config.yaml diff --git a/website/content/blog/emoji-support.md b/exampleSite/content/blog/emoji-support.md index f305bae..f305bae 100644 --- a/website/content/blog/emoji-support.md +++ b/exampleSite/content/blog/emoji-support.md diff --git a/website/content/blog/markdown-syntax.md b/exampleSite/content/blog/markdown-syntax.md index d2746c1..d2746c1 100644 --- a/website/content/blog/markdown-syntax.md +++ b/exampleSite/content/blog/markdown-syntax.md diff --git a/website/content/blog/placeholder-text.md b/exampleSite/content/blog/placeholder-text.md index 19012bf..19012bf 100644 --- a/website/content/blog/placeholder-text.md +++ b/exampleSite/content/blog/placeholder-text.md diff --git a/website/content/blog/rich-content.md b/exampleSite/content/blog/rich-content.md index dbe56a8..dbe56a8 100644 --- a/website/content/blog/rich-content.md +++ b/exampleSite/content/blog/rich-content.md diff --git a/website/content/project/example.md b/exampleSite/content/project/example.md index 8af690a..8af690a 100644 --- a/website/content/project/example.md +++ b/exampleSite/content/project/example.md diff --git a/website/static/images/achiv.jpg b/exampleSite/static/images/achiv.jpg Binary files differindex b598af8..b598af8 100644 --- a/website/static/images/achiv.jpg +++ b/exampleSite/static/images/achiv.jpg diff --git a/website/static/images/education.png b/exampleSite/static/images/education.png Binary files differindex 664eaa2..664eaa2 100644 --- a/website/static/images/education.png +++ b/exampleSite/static/images/education.png diff --git a/website/static/images/fav.png b/exampleSite/static/images/fav.png Binary files differindex 50e23ce..50e23ce 100644 --- a/website/static/images/fav.png +++ b/exampleSite/static/images/fav.png diff --git a/website/static/images/profile.png b/exampleSite/static/images/profile.png Binary files differindex beee22d..beee22d 100644 --- a/website/static/images/profile.png +++ b/exampleSite/static/images/profile.png diff --git a/website/static/images/profile.webp b/exampleSite/static/images/profile.webp Binary files differindex cea1a4d..cea1a4d 100644 --- a/website/static/images/profile.webp +++ b/exampleSite/static/images/profile.webp diff --git a/website/static/images/project.jpg b/exampleSite/static/images/project.jpg Binary files differindex 792ffa4..792ffa4 100644 --- a/website/static/images/project.jpg +++ b/exampleSite/static/images/project.jpg diff --git a/website/static/images/v1/avatar.webp b/exampleSite/static/images/v1/avatar.webp Binary files differindex 1b0d57b..1b0d57b 100644 --- a/website/static/images/v1/avatar.webp +++ b/exampleSite/static/images/v1/avatar.webp diff --git a/website/static/style.css b/exampleSite/static/style.css index faf2138..faf2138 100644 --- a/website/static/style.css +++ b/exampleSite/static/style.css diff --git a/website/v1.yaml b/exampleSite/v1.yaml index 9eaff8a..9eaff8a 100644 --- a/website/v1.yaml +++ b/exampleSite/v1.yaml diff --git a/website/v2.yaml b/exampleSite/v2.yaml index 29367ee..29367ee 100644 --- a/website/v2.yaml +++ b/exampleSite/v2.yaml diff --git a/website/v3.yaml b/exampleSite/v3.yaml index a5188ef..a5188ef 100644 --- a/website/v3.yaml +++ b/exampleSite/v3.yaml diff --git a/images/screenshot.png b/images/screenshot.png Binary files differdeleted file mode 100644 index addab3d..0000000 --- a/images/screenshot.png +++ /dev/null diff --git a/images/tn.png b/images/tn.png Binary files differdeleted file mode 100644 index 0c3c83c..0000000 --- a/images/tn.png +++ /dev/null diff --git a/images/v1-demo.png b/images/v1-demo.png Binary files differdeleted file mode 100644 index a34ba0f..0000000 --- a/images/v1-demo.png +++ /dev/null diff --git a/images/v2-demo.png b/images/v2-demo.png Binary files differdeleted file mode 100644 index f8f59ca..0000000 --- a/images/v2-demo.png +++ /dev/null diff --git a/images/v3-demo.png b/images/v3-demo.png Binary files differdeleted file mode 100644 index 630c56c..0000000 --- a/images/v3-demo.png +++ /dev/null diff --git a/netlify.toml b/netlify.toml index f8e3575..eb299d1 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,33 +1,33 @@ [build] -publish = "website/public" -command = "cd website && hugo --gc --minify --themesDir ../.." +publish = "exampleSite/public" +command = "cd exampleSite && hugo --gc --minify --themesDir ../.." [context.production.environment] -HUGO_VERSION = "0.76.5" +HUGO_VERSION = "0.92.0" HUGO_ENV = "production" HUGO_ENABLEGITINFO = "true" HUGO_THEME = "repo" [context.split1] -command = "cd website && hugo --gc --minify --enableGitInfo --themesDir ../.." +command = "cd exampleSite && hugo --gc --minify --enableGitInfo --themesDir ../.." [context.split1.environment] -HUGO_VERSION = "0.76.5" +HUGO_VERSION = "0.92.0" HUGO_ENV = "production" HUGO_THEME = "repo" [context.deploy-preview] -command = "cd website && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL" +command = "cd exampleSite && hugo --gc --minify --buildFuture --themesDir ../.. -b $DEPLOY_PRIME_URL" [context.deploy-preview.environment] -HUGO_VERSION = "0.76.5" +HUGO_VERSION = "0.92.0" HUGO_THEME = "repo" [context.branch-deploy] -command = "cd website && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL" +command = "cd exampleSite && hugo --gc --minify --themesDir ../.. -b $DEPLOY_PRIME_URL" [context.branch-deploy.environment] -HUGO_VERSION = "0.76.5" +HUGO_VERSION = "0.92.0" [context.next.environment] HUGO_ENABLEGITINFO = "true"
\ No newline at end of file |