Merge remote-tracking branch 'upstream/main'
19
.github/.kodiak.toml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
# .kodiak.toml
|
||||
version = 1
|
||||
[merge]
|
||||
method = "squash" # default: "merge"
|
||||
delete_branch_on_merge = true # default: false
|
||||
optimistic_updates = true # default: true
|
||||
prioritize_ready_to_merge = true # default: false
|
||||
|
||||
[merge.message]
|
||||
title = "pull_request_title" # default: "github_default"
|
||||
body = "github_default" # default: "github_default"
|
||||
strip_html_comments = true # default: false
|
||||
|
||||
[update]
|
||||
always = true # default: false
|
||||
|
||||
[approve]
|
||||
auto_approve_usernames = ["hossainemruz"]
|
37
.github/ISSUE_TEMPLATE/bug.md
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
name: Bug
|
||||
about: File a bug report.
|
||||
title: 'bug'
|
||||
---
|
||||
|
||||
## Expected Behavior
|
||||
<!--- Tell us what should happen -->
|
||||
|
||||
## Current Behavior
|
||||
<!--- Tell us what happens instead of the expected behavior -->
|
||||
|
||||
## Possible Solution
|
||||
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
|
||||
|
||||
## Steps to Reproduce
|
||||
<!--- Provide a link to a live example, or an unambiguous set of steps to -->
|
||||
<!--- reproduce this bug. Include code to reproduce, if relevant -->
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
4.
|
||||
|
||||
### Screenshots
|
||||
<!--- Provide any screenshots or links to deployments -->
|
||||
|
||||
### Browsers Affected
|
||||
<!-- Check all that apply -->
|
||||
- [ ] Chrome
|
||||
- [ ] Firefox
|
||||
- [ ] Edge
|
||||
- [ ] Safari 11
|
||||
- [ ] Safari 10
|
||||
- [ ] IE 11
|
||||
|
||||
## Detailed Description
|
||||
<!--- Provide a detailed description of the change or addition you are proposing -->
|
30
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
name: Feature Request
|
||||
about: File a Feature Request.
|
||||
title: 'Feature Request'
|
||||
---
|
||||
|
||||
<!---
|
||||
Before filing an issue, please review the following:
|
||||
Existing Features: https://github.com/hossainemruz/toha#features
|
||||
Project Roadmap: https://github.com/hossainemruz/toha#project-roadmap
|
||||
-->
|
||||
|
||||
### Describe the solution you'd like
|
||||
|
||||
<!--
|
||||
Provide a clear and concise description of what you want to happen.
|
||||
-->
|
||||
|
||||
### Describe alternatives you've considered
|
||||
|
||||
<!--
|
||||
Let us know about other solutions you've tried or researched.
|
||||
-->
|
||||
|
||||
### Additional context
|
||||
|
||||
<!--
|
||||
Is there anything else you can add about the proposal?
|
||||
You might want to link to related issues here, if you haven't already.
|
||||
-->
|
9
.github/ISSUE_TEMPLATE/question.md
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
name: Question
|
||||
about: Ask a general question.
|
||||
---
|
||||
|
||||
<!--- Use this template for general questions. For bug reports or feature requests, please use those templates -->
|
||||
|
||||
### Question
|
||||
<!--- Insert your question here. Please provide as much detail as possible. -->
|
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
### Issue
|
||||
<!--- Insert a link to the associated github issue here. -->
|
||||
|
||||
### Description
|
||||
|
||||
<!-- Insert details about what the changes being proposed are. -->
|
||||
|
||||
### Test Evidence
|
||||
|
||||
<!-- Provide screenshot evidence and/or testing steps to validate the proposed changes. -->
|
13
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Update dependencies
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
# Update the Github Action versions
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
labels:
|
||||
- "dependencies"
|
||||
- "automerge"
|
||||
- "enhancement"
|
41
.github/release-drafter.yml
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
name-template: 'v$RESOLVED_VERSION'
|
||||
tag-template: 'v$RESOLVED_VERSION'
|
||||
template: |
|
||||
I am very excited to announce [Hugo](https://gohugo.io/) theme [Toha](https://themes.gohugo.io/toha/) **v$RESOLVED_VERSION**. This release incorporates some improvements and fixes. Please, read the release note and update your theme to enjoy the new changes.
|
||||
|
||||
Thanks to $CONTRIBUTORS for their valuable contribution in this release.
|
||||
$CHANGES
|
||||
|
||||
This release note has been generated automatically by [Release Drafter](https://github.com/marketplace/actions/release-drafter).
|
||||
|
||||
categories:
|
||||
- title: 'Breaking Changes'
|
||||
label: 'breaking-change'
|
||||
|
||||
- title: 'New Features & Enhancements'
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
|
||||
- title: 'New Translations'
|
||||
label: 'translation'
|
||||
|
||||
- title: 'Bug Fixes'
|
||||
labels:
|
||||
- 'bug'
|
||||
- 'bug-fix'
|
||||
|
||||
version-resolver:
|
||||
major:
|
||||
labels:
|
||||
- 'breaking-change'
|
||||
- 'breaking'
|
||||
minor:
|
||||
labels:
|
||||
- 'feature'
|
||||
- 'enhancement'
|
||||
- 'translation'
|
||||
patch:
|
||||
labels:
|
||||
- 'bug'
|
||||
- 'bug-fix'
|
35
.github/workflows/autoprefixer.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
name: Autoprefixer
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
autoprefixer:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout to latest commit
|
||||
uses: actions/checkout@v2.3.4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2.1.5
|
||||
with:
|
||||
node-version: "15.x"
|
||||
|
||||
- name: Run autoprefixer
|
||||
run: |
|
||||
npm install postcss-cli autoprefixer --save-dev
|
||||
npm run autoprefixer
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3.9.1
|
||||
with:
|
||||
branch: autoprefixer
|
||||
branch-suffix: timestamp
|
||||
commit-message: add vendor specific css prefixes
|
||||
title: "Update and run autoprefixer"
|
||||
body: |
|
||||
This PR runs [postcss/autoprefixer](https://github.com/postcss/autoprefixer) to update vendor specific CSS prefixes.
|
||||
|
||||
>This PR has been created automatically by Github Action [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).
|
||||
labels: "enhancement,automerge"
|
||||
reviewers: hossainemruz
|
15
.github/workflows/draft-release.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: Release Drafter
|
||||
# Run action on push in mater branch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Create/Update release draft
|
||||
- uses: release-drafter/release-drafter@v5.15.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
13
.github/workflows/enforce-label.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Enforce Labels
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled, unlabeled, opened, edited, synchronize]
|
||||
jobs:
|
||||
enforce-label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: yogevbd/enforce-label-action@2.2.2
|
||||
with:
|
||||
REQUIRED_LABELS_ANY: "automerge,breaking-change,bug-fix,enhancement,feature,translation"
|
||||
REQUIRED_LABELS_ANY_DESCRIPTION: "The PR must have at least one these labels: ['automerge','breaking-change','bug-fix','enhancement','feature','translation']"
|
13
.github/workflows/md-link-checker.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: Check Markdown links
|
||||
|
||||
# Run action on pull request event
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# checkout to latest commit
|
||||
- uses: actions/checkout@master
|
||||
# run markdown linter
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
6
.gitignore
vendored
|
@ -1 +1,5 @@
|
|||
.vscode/
|
||||
.vscode/
|
||||
node_modules/
|
||||
.DS_Store
|
||||
.history/
|
||||
resources/
|
312
README.md
|
@ -1,118 +1,186 @@
|
|||
# Toha
|
||||
|
||||
[](https://app.netlify.com/sites/toha/deploys)
|
||||
[](https://actions-badge.atrox.dev/hugo-toha/toha/goto?ref=main)
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
[](https://percy.io/b7cb60ab/hugo-toha.github.io)
|
||||
|
||||
A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist design and responsiveness.
|
||||
|
||||

|
||||

|
||||
|
||||
Example Site: [Toha Example Site](https://toha.netlify.app)
|
||||
- **Example Site:** [hugo-toha.github.io](https://hugo-toha.github.io)
|
||||
- **Documentation:** [toha-guides.netlify.app](https://toha-guides.netlify.app/posts)
|
||||
|
||||
## Features
|
||||
|
||||
- Minimalist Design
|
||||
- Fully Responsive
|
||||
- Carefully designed cards
|
||||
- Great Experience timeline
|
||||
- Achievement gallery
|
||||
- Sidebar to categorize posts
|
||||
- Multiple Language Support
|
||||
- Carefully Designed Cards
|
||||
- Experience Timeline
|
||||
- Achievement Gallery
|
||||
- Sidebar to Categorize the Posts
|
||||
- Short Codes
|
||||
- Google Analytics Support
|
||||
- Disqus Comment Support
|
||||
|
||||
For more details about the features please visit [here](https://toha.netlify.app/posts/features/features/).
|
||||
For more details about the features please visit [here](https://toha-guides.netlify.app/posts/features/).
|
||||
|
||||
## Available Translations
|
||||
|
||||
- English
|
||||
- বাংলা
|
||||
- Français
|
||||
- Indonesian
|
||||
- Deutsch
|
||||
- Español
|
||||
- 简体中文
|
||||
- हिन्दी
|
||||
- Italiano
|
||||
- 日本語
|
||||
- 한국어
|
||||
- русский
|
||||
- Tiếng Việt
|
||||
|
||||
To know more about how to translate your site, please visit [here](https://toha-guides.netlify.app/posts/translation/). Follow, the data and post format from this [example site](https://hugo-toha.github.io).
|
||||
|
||||
## Screenshots
|
||||
|
||||
Here are few screenshots from the [example site](https://hugo-toha.github.io).
|
||||
|
||||
##### Home Page Sections
|
||||
|
||||

|
||||
|
||||
##### List Page
|
||||
|
||||

|
||||
|
||||
##### Reading Page
|
||||
|
||||

|
||||
|
||||
## Requirements
|
||||
|
||||
- Hugo Version 0.68.0 or higher
|
||||
|
||||
## Installation
|
||||
## Usage
|
||||
|
||||
- Create your site if you haven't already
|
||||
In order to use this theme, follow the following steps:
|
||||
|
||||
#### Add theme as git submodule
|
||||
|
||||
At first, add [Toha](https://github.com/hugo-toha/toha) theme as git submodule to your hugo-site.
|
||||
|
||||
```console
|
||||
hugo new site my-site -f=yaml
|
||||
cd my-site
|
||||
git init
|
||||
$ git submodule add https://github.com/hugo-toha/toha.git themes/toha
|
||||
```
|
||||
|
||||
- Add the theme as git sub-module
|
||||
> 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.
|
||||
|
||||
```console
|
||||
git submodule add https://github.com/hossainemruz/toha.git themes/toha
|
||||
```
|
||||
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/).
|
||||
|
||||
>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.
|
||||
#### Configuring Site
|
||||
|
||||
If you want to customize the theme templates, then fork it and use the fork as your theme.
|
||||
|
||||
## Configuration
|
||||
|
||||
Configure your `config.yaml` file of your site as below:
|
||||
Now, configure your site to use `toha` theme by adding the following configuration in `config.yaml` file of your site.
|
||||
|
||||
```yaml
|
||||
baseURL: http://example.org/
|
||||
baseURL: https://hugo-toha.github.io
|
||||
|
||||
languageCode: en-us
|
||||
title: "Toha"
|
||||
title: "John's Blog"
|
||||
theme: "toha"
|
||||
|
||||
# Allow raw html in markdown file
|
||||
# Manage languages
|
||||
# For any more details, you can check the official documentation: https://gohugo.io/content-management/multilingual/
|
||||
languages:
|
||||
en:
|
||||
languageName: English
|
||||
weight: 1
|
||||
|
||||
# Control TOC depth
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
tableOfContents:
|
||||
startLevel: 2
|
||||
endLevel: 6
|
||||
ordered: false
|
||||
|
||||
# Enable Google Analytics
|
||||
googleAnalytics: <your google analytics id>
|
||||
|
||||
# Enable Disqus forum
|
||||
# optional
|
||||
disqusShortname: <your disqus short code>
|
||||
# At least HTML and JSON are required for the main HTML content and
|
||||
# client-side JavaScript search
|
||||
outputs:
|
||||
home:
|
||||
- HTML
|
||||
- RSS
|
||||
- JSON
|
||||
|
||||
# Enable global emoji support
|
||||
enableEmoji: true
|
||||
|
||||
# Custom parameters
|
||||
# Site parameters
|
||||
params:
|
||||
# Github Repo URL. This is used to add "Improve This Page" button
|
||||
gitRepo: <your site's Github repo URL>
|
||||
# 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
|
||||
|
||||
# specify whether you want to show Table of Contents in reading page
|
||||
enableTOC: true
|
||||
|
||||
# Provide newsletter configuration. This feature hasn't been implemented yet.
|
||||
# Currently, you can just hide it from the footer.
|
||||
newsletter:
|
||||
enable: true
|
||||
```
|
||||
|
||||
You can just copy the content for `config.yaml` files from `theme/toha/exampleSite/config.yaml`.
|
||||
Don't forget to update `title`, `baseURL`, and `gitRepo` fields with your own information. To know about more available configuration options, please visit [here](https://toha-guides.netlify.app/posts/configuration/site-parameters/).
|
||||
|
||||
## Usage
|
||||
#### Running Locally
|
||||
|
||||
Run your hugo site with this theme.
|
||||
Now, you can run your hugo site with `toha` theme locally with the following command:
|
||||
|
||||
```console
|
||||
hugo server -w
|
||||
$ hugo server --theme toha --watch
|
||||
```
|
||||
|
||||
Don't panic if the generated site does not look like what have you seen in the demo. Now, you have to provide some data in `data` folder of your site.
|
||||
|
||||
Follow the posts giving step by step instructions for configuring your data folder from [here](https://toha.netlify.app/posts/configuration/home-section/home-section/).
|
||||
|
||||
You can also follow the sample format given in `themes/toha/exampleSite/data` directory.
|
||||
When you run your site for first time, it will start with the default parameters. It should look similar to the [example site](https://hugo-toha.github.io). However, it will not have any sections in the homepage as we haven't configured them yet. You can configure your site by following the guides from [here](https://toha-guides.netlify.app/posts/configuration/).
|
||||
|
||||
## Shortcodes
|
||||
|
||||
Here, are some handy shortcodes you can use with this theme.
|
||||
|
||||
- [img](https://toha.netlify.app/posts/short-codes/img/)
|
||||
- [split](https://toha.netlify.app/posts/short-codes/split/)
|
||||
- [vs](https://toha.netlify.app/posts/short-codes/vs/)
|
||||
- [Alert](https://toha-guides.netlify.app/posts/short-codes/alert/)
|
||||
- [Image](https://toha-guides.netlify.app/posts/short-codes/img/)
|
||||
- [Split](https://toha-guides.netlify.app/posts/short-codes/split/)
|
||||
- [Vertical Space](https://toha-guides.netlify.app/posts/short-codes/vs/)
|
||||
|
||||
## Project Roadmap
|
||||
|
||||
Here, are the current plan and progress of various components of this theme. The components will be prioritized based on users requests.
|
||||
|
||||
### Sections
|
||||
### 1. Portfolio Mode
|
||||
|
||||
Here is the check list for portfolio mode,
|
||||
|
||||
- [x] **Home**
|
||||
|
||||
- [x] Configurable Background
|
||||
- [x] Author Image
|
||||
- [x] Greeting
|
||||
- [x] Typing Carousel
|
||||
|
||||
- [x] **About**
|
||||
|
||||
- [x] Name and Designation
|
||||
- [x] Summary
|
||||
- [x] Markdown Support
|
||||
|
@ -122,27 +190,40 @@ 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] **Projects**
|
||||
|
||||
- [x] Category Filter
|
||||
- [ ] Project Card
|
||||
- [x] Project Card
|
||||
- [x] Overview
|
||||
- [x] Markdown Support
|
||||
- [x] Github Stars
|
||||
- [x] External URL Support
|
||||
- [ ] Technology Tags
|
||||
- [x] Technology Tags
|
||||
|
||||
- [x] **Recent Posts**
|
||||
|
||||
- [x] **Academic Career**
|
||||
|
||||
- [x] Degree
|
||||
- [x] Institution
|
||||
- [x] Timeline
|
||||
- [x] Taken Courses
|
||||
- [x] CGPA
|
||||
- [x] Extracurricular Activities
|
||||
|
||||
- [ ] **Publications**
|
||||
|
||||
- [ ] Category Filter
|
||||
- [ ] Card
|
||||
- [ ] Abstract
|
||||
|
@ -151,54 +232,137 @@ Here, are the current plan and progress of various components of this theme. The
|
|||
- [ ] Links
|
||||
- [ ] Gallery
|
||||
|
||||
- [ ] **Accomplishment / Courses**
|
||||
- [ ] Overview
|
||||
- [ ] Certificate
|
||||
- [x] **Accomplishment / Courses**
|
||||
|
||||
- [x] Overview
|
||||
- [x] Certificate
|
||||
|
||||
- [x] **Achievements Gallery**
|
||||
- [x] Image
|
||||
- [x] Summary
|
||||
|
||||
### List Page
|
||||
### 2. Blog Mode
|
||||
|
||||
- [x] Post Cards
|
||||
- [x] Sidebar
|
||||
- [ ] Pagination
|
||||
Here is the checklist for blog mode,
|
||||
|
||||
### Reading Page
|
||||
- [ ] **Dedicated Home page**
|
||||
|
||||
- [x] Hero Image
|
||||
- [x] Author Information
|
||||
- [x] Next & Previous Page Navigation
|
||||
- [x] `Improve This Page` Button
|
||||
- [x] Disqus Comment
|
||||
- [ ] Option to navigate to list page
|
||||
- [x] **List Page**
|
||||
|
||||
### Tracking and Comments
|
||||
- [x] Post Cards
|
||||
- [x] Sidebar
|
||||
- [x] Pagination
|
||||
|
||||
- [x] **Reading Page**
|
||||
|
||||
- [x] Hero Image
|
||||
- [x] Author Information
|
||||
- [x] Sidebar
|
||||
- [x] Table of Contents
|
||||
- [x] Next & Previous Page Navigation
|
||||
- [x] `Improve This Page` Button
|
||||
- [x] Disqus Comment
|
||||
|
||||
### 3. Documentation Mode
|
||||
|
||||
Here is the check list for documentation mode,
|
||||
|
||||
- [ ] **Dedicated Home Page**
|
||||
- [ ] **Doc Page**
|
||||
- [ ] Redesign sidebar
|
||||
- [ ] Redesign TOC menu
|
||||
- [ ] Search Capability
|
||||
|
||||
### 4. Note Mode
|
||||
|
||||
- [ ] **Dedicated Home Page**
|
||||
- [ ] **Note Page**
|
||||
- [x] Add note view
|
||||
- [ ] Redesign sidebar
|
||||
- [ ] Add search capability
|
||||
|
||||
### 5. Tracking and Comments
|
||||
|
||||
- [x] Google Analytics
|
||||
- [x] Disqus Comment
|
||||
|
||||
### Shortcodes
|
||||
### 6. Shortcodes
|
||||
|
||||
- [x] Image
|
||||
- [x] Split Page into Multiple Column
|
||||
- [x] Vertical space between two sections
|
||||
- [x] Alert
|
||||
- [ ] Figure & sub-figure
|
||||
- [ ] Tabs
|
||||
- [x] Notes
|
||||
|
||||
## Contributing
|
||||
|
||||
You can contribute to this theme in various way. You can report a bug, file an feature request, send a PR, share your thoughts etc.
|
||||
You can contribute to this theme in various ways. You can report a [bug](https://github.com/hugo-toha/toha/issues/new?template=bug.md), file an [feature request](https://github.com/hugo-toha/toha/issues/new?template=feature_request.md), send a PR, [share your thoughts](https://github.com/hugo-toha/toha/issues/new?template=question.md) etc.
|
||||
|
||||
Pull requests are most welcomed and I will be happy to review. Just follow the following principles:
|
||||
Pull requests are most welcome and I will be happy to review. Just follow the following principles:
|
||||
|
||||
- Keep it simple.
|
||||
- Keep it consistent with the design.
|
||||
- Use as little dependency as possible.
|
||||
- Have patient.
|
||||
- Use as few dependencies as possible.
|
||||
- Have patience.
|
||||
|
||||
>I am not a web developer. I just created this theme for my personal needs. So, it is reasonable to have some flaws in the codes. Feel free to open issues and PR 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
|
||||
|
||||
For local development, you can make changes in the theme submodule and test the changes against your own site or this [example site](https://github.com/hugo-toha/hugo-toha.github.io) locally.
|
||||
|
||||
### Fork
|
||||
|
||||
At first, fork [this repo](https://github.com/hugo-toha/toha). Then, follow the following steps to use the forked theme for local developments,
|
||||
|
||||
**Using the forked theme in your own site:**
|
||||
|
||||
If you want to run your local development against your own site, follow the following steps:
|
||||
|
||||
```bash
|
||||
# add the original theme as a submodule of your site if you haven't done already
|
||||
$ git submodule add https://github.com/hugo-toha/toha.git themes/toha
|
||||
# navigate into the toha theme folder
|
||||
$ cd themes/toha
|
||||
# add your own fork as a remote
|
||||
$ git remote add my-fork https://github.com/<your-github-user>/toha
|
||||
# create a new branch for your changes
|
||||
$ git checkout -b my-feature-branch
|
||||
```
|
||||
|
||||
**Using the forked theme in the example site:**
|
||||
|
||||
If your want to run your local development against this [example site](https://github.com/hugo-toha/hugo-toha.github.io), follow the following steps:
|
||||
|
||||
```bash
|
||||
# clone the example site along with the submodules
|
||||
$ git clone git@github.com:hugo-toha/hugo-toha.github.io.git --recursive
|
||||
# navigate into the toha theme folder
|
||||
$ cd themes/toha
|
||||
# add your own fork as a remote
|
||||
$ git remote add my-fork https://github.com/<your-github-user>/toha
|
||||
# create a new branch for your changes
|
||||
$ git checkout -b my-feature-branch
|
||||
```
|
||||
|
||||
From there you can make changes to the source code of the theme while testing with your running Hugo site or the example site.
|
||||
|
||||
### Open a PR
|
||||
|
||||
When the changes look good, commit and push them to your fork.
|
||||
|
||||
```bash
|
||||
# stage all the changes
|
||||
$ git add .
|
||||
# commit the changes with a meaning full commit message
|
||||
$ git commit -m "A meaningful commit message"
|
||||
# push the commit to your fork
|
||||
$ git push my-fork my-feature-branch
|
||||
```
|
||||
|
||||
Then, open a PR against `main` branch of [hugo-toha/toha](https://github.com/hugo-toha/toha) from the `my-feature-branch` branch of your own fork.
|
||||
|
||||
## Attribution
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
hero: /assets/images/background/sunrise.jpg
|
||||
hero: /images/background/sunrise.jpg
|
||||
author:
|
||||
name: Md. Emruz Hossain
|
||||
image: /assets/images/profile-image.jpg
|
||||
image: /images/profile-image.jpg
|
||||
---
|
||||
|
|
BIN
assets/images/404.png
Normal file
After Width: | Height: | Size: 108 KiB |
1
assets/images/404.svg
Normal file
After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
BIN
assets/images/default-background.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
assets/images/default-hero.jpg
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
assets/images/favicon.png
Normal file
After Width: | Height: | Size: 13 KiB |
1
assets/images/hugo-logo.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" stroke-width="27" aria-label="Logo" viewBox="0 0 1493 391"><path fill="#ebb951" stroke="#fcd804" d="M1345.211 24.704l112.262 64.305a43 43 0 0 1 21.627 37.312v142.237a40 40 0 0 1-20.702 35.037l-120.886 66.584a42 42 0 0 1-41.216-.389l-106.242-61.155a57 57 0 0 1-28.564-49.4V138.71a64 64 0 0 1 31.172-54.939l98.01-58.564a54 54 0 0 1 54.54-.503z"/><path fill="#33ba91" stroke="#00a88a" d="M958.07 22.82l117.31 66.78a41 41 0 0 1 20.72 35.64v139.5a45 45 0 0 1-23.1 39.32L955.68 369.4a44 44 0 0 1-43.54-.41l-105.82-61.6a56 56 0 0 1-27.83-48.4V140.07a68 68 0 0 1 33.23-58.44l98.06-58.35a48 48 0 0 1 48.3-.46z"/><path fill="#0594cb" stroke="#0083c0" d="M575.26 20.97l117.23 68.9a40 40 0 0 1 19.73 34.27l.73 138.67a48 48 0 0 1-24.64 42.2l-115.13 64.11a45 45 0 0 1-44.53-.42l-105.83-61.6a55 55 0 0 1-27.33-47.53V136.52a63 63 0 0 1 29.87-53.59l99.3-61.4a49 49 0 0 1 50.6-.56z"/><path fill="#ff4088" stroke="#c9177e" d="M195.81 24.13l114.41 66.54a44 44 0 0 1 21.88 38.04v136.43a48 48 0 0 1-24.45 41.82L194.1 370.9a49 49 0 0 1-48.48-.23L41.05 310.48a53 53 0 0 1-26.56-45.93V135.08a55 55 0 0 1 26.1-46.8l102.8-63.46a51 51 0 0 1 52.42-.69z"/><path fill="#fff" d="M1320.72 89.15c58.79 0 106.52 47.73 106.52 106.51 0 58.8-47.73 106.52-106.52 106.52-58.78 0-106.52-47.73-106.52-106.52 0-58.78 47.74-106.51 106.52-106.51zm0 39.57c36.95 0 66.94 30 66.94 66.94a66.97 66.97 0 0 1-66.94 66.94c-36.95 0-66.94-29.99-66.94-66.94a66.97 66.97 0 0 1 66.93-66.94h.01zm-283.8 65.31c0 47.18-8.94 60.93-26.81 80.58-17.87 19.65-41.57 27.57-71.1 27.57-27 0-48.75-9.58-67.61-26.23-20.88-18.45-36.08-47.04-36.08-78.95 0-31.37 11.72-58.48 32.49-78.67 18.22-17.67 45.34-29.18 73.3-29.18 33.77 0 68.83 15.98 90.44 47.53l-31.73 26.82c-13.45-25.03-32.94-33.46-60.82-34.26-30.83-.88-64.77 28.53-62.25 67.75 1.4 21.94 11.65 59.65 60.96 66.57 25.9 3.63 55.36-24.02 55.36-39.04H944.4v-37.5h92.5V194l.02.03zm-562.6-94.65h42.29v112.17c0 17.8.49 29.33 1.47 34.61 1.69 8.48 4.81 14.37 11.17 19.5 6.37 5.13 13.8 6.59 24.84 6.59 11.2 0 14.96-1.74 20.66-6.6 5.69-4.85 9.12-9.46 10.28-16.53 1.15-7.07 3.07-18.8 3.07-35.18V99.38h42.28v108.78c0 24.86-1.07 42.43-3.21 52.69-2.14 10.27-6.08 18.93-11.82 26-5.74 7.06-13.42 12.69-23.03 16.88-9.62 4.19-22.16 6.28-37.65 6.28-18.7 0-32.87-2.28-42.52-6.85-9.66-4.57-17.3-10.5-22.9-17.8-5.61-7.3-9.3-14.95-11.08-22.96-2.58-11.86-3.88-29.38-3.88-52.55V99.38h.03zM93.91 299.92V92.7h43.35v75.48h71.92V92.7h43.48v207.22h-43.48v-90.61h-71.92v90.61z"/></svg>
|
After Width: | Height: | Size: 2.4 KiB |
BIN
assets/images/inverted-logo.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
assets/images/main-logo.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/images/theme-logo.png
Normal file
After Width: | Height: | Size: 13 KiB |
52
content/notes/search.md
Normal file
|
@ -0,0 +1,52 @@
|
|||
---
|
||||
title: "Search Results"
|
||||
sitemap:
|
||||
priority : 0.1
|
||||
layout: "search"
|
||||
url: search
|
||||
---
|
||||
|
||||
|
||||
This file exists solely to respond to /search URL with the related `search` layout template.
|
||||
|
||||
No content shown here is rendered, all content is based in the template layouts/page/search.html
|
||||
|
||||
Setting a very low sitemap priority will tell search engines this is not important content.
|
||||
|
||||
This implementation uses Fusejs, jquery and mark.js
|
||||
|
||||
|
||||
## Initial setup
|
||||
|
||||
Search depends on additional output content type of JSON in config.toml
|
||||
\```
|
||||
[outputs]
|
||||
home = ["HTML", "JSON"]
|
||||
\```
|
||||
|
||||
## Searching additional fileds
|
||||
|
||||
To search additional fields defined in front matter, you must add it in 2 places.
|
||||
|
||||
### Edit layouts/_default/index.JSON
|
||||
This exposes the values in /index.json
|
||||
i.e. add `category`
|
||||
\```
|
||||
...
|
||||
"contents":{{ .Content | plainify | jsonify }}
|
||||
{{ if .Params.tags }},
|
||||
"tags":{{ .Params.tags | jsonify }}{{end}},
|
||||
"categories" : {{ .Params.categories | jsonify }},
|
||||
...
|
||||
\```
|
||||
|
||||
### Edit fuse.js options to Search
|
||||
`static/js/search.js`
|
||||
\```
|
||||
keys: [
|
||||
"title",
|
||||
"contents",
|
||||
"tags",
|
||||
"categories"
|
||||
]
|
||||
\```
|
54
content/posts/search.md
Normal file
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
title: "Search Results"
|
||||
date: 2010-06-08T08:06:25+06:00
|
||||
weight: 999999
|
||||
sitemap:
|
||||
priority : 0.1
|
||||
layout: "search"
|
||||
url: search
|
||||
---
|
||||
|
||||
|
||||
This file exists solely to respond to /search URL with the related `search` layout template.
|
||||
|
||||
No content shown here is rendered, all content is based in the template layouts/page/search.html
|
||||
|
||||
Setting a very low sitemap priority will tell search engines this is not important content.
|
||||
|
||||
This implementation uses Fusejs, jquery and mark.js
|
||||
|
||||
|
||||
## Initial setup
|
||||
|
||||
Search depends on additional output content type of JSON in config.toml
|
||||
\```
|
||||
[outputs]
|
||||
home = ["HTML", "JSON"]
|
||||
\```
|
||||
|
||||
## Searching additional fileds
|
||||
|
||||
To search additional fields defined in front matter, you must add it in 2 places.
|
||||
|
||||
### Edit layouts/_default/index.JSON
|
||||
This exposes the values in /index.json
|
||||
i.e. add `category`
|
||||
\```
|
||||
...
|
||||
"contents":{{ .Content | plainify | jsonify }}
|
||||
{{ if .Params.tags }},
|
||||
"tags":{{ .Params.tags | jsonify }}{{end}},
|
||||
"categories" : {{ .Params.categories | jsonify }},
|
||||
...
|
||||
\```
|
||||
|
||||
### Edit fuse.js options to Search
|
||||
`static/js/search.js`
|
||||
\```
|
||||
keys: [
|
||||
"title",
|
||||
"contents",
|
||||
"tags",
|
||||
"categories"
|
||||
]
|
||||
\```
|
|
@ -1,24 +0,0 @@
|
|||
baseURL: http://example.org/
|
||||
languageCode: en-us
|
||||
title: "Toha"
|
||||
theme: "toha"
|
||||
|
||||
# Allow raw html in markdown file
|
||||
markup:
|
||||
goldmark:
|
||||
renderer:
|
||||
unsafe: true
|
||||
|
||||
# Enable Google Analytics
|
||||
googleAnalytics: UA-xxxxxxxx
|
||||
|
||||
# Enable Disqus forum
|
||||
disqusShortname: does-not-exist
|
||||
|
||||
# Enable global emoji support
|
||||
enableEmoji: true
|
||||
|
||||
# Custom parameters
|
||||
params:
|
||||
# Github Repo URL. This is used to add "Improve This Page" button
|
||||
gitRepo: https://github.com/hossainemruz/toha-example-site
|
|
@ -1,56 +0,0 @@
|
|||
# your designation
|
||||
designation: Software Engineer
|
||||
# your company information
|
||||
company:
|
||||
name: Example Co.
|
||||
url: "https://www.example.com"
|
||||
|
||||
# your resume. this file path should be relative to you "static" directory
|
||||
resume: "files/resume.pdf"
|
||||
|
||||
# a summary about you
|
||||
summary: 'I am a passionate software engineer with x years of working experience. I built OSS tools for [Kubernetes](https://kubernetes.io/) using GO. My tools help people to deploy their workloads in Kubernetes. Sometimes, I work on some fun projects such as writing a theme, etc.'
|
||||
|
||||
# your social links
|
||||
# give as many as you want. use font-awesome for the icons.
|
||||
socialLinks:
|
||||
- name: Email
|
||||
icon: "fas fa-envelope"
|
||||
url: "example@gmail.com"
|
||||
|
||||
- name: Github
|
||||
icon: "fab fa-github"
|
||||
url: "https://www.github.com/example"
|
||||
|
||||
- name: Stackoverflow
|
||||
icon: "fab fa-stack-overflow"
|
||||
url: "#"
|
||||
|
||||
- name: LinkedIn
|
||||
icon: "fab fa-linkedin"
|
||||
url: "#"
|
||||
|
||||
- name: Twitter
|
||||
icon: "fab fa-twitter"
|
||||
url: "#"
|
||||
|
||||
- name: Facebook
|
||||
icon: "fab fa-facebook"
|
||||
url: "#"
|
||||
|
||||
# your soft skills
|
||||
# give the percentage between 50 to 100 with 5 intervals.
|
||||
# currently supported color: blue, yellow, pink, green
|
||||
softSkills:
|
||||
- name: Leadership
|
||||
percentage: 85
|
||||
color: blue
|
||||
- name: Team Work
|
||||
percentage: 90
|
||||
color: yellow
|
||||
- name: Communication
|
||||
percentage: 85
|
||||
color: pink
|
||||
- name: Hard Working
|
||||
percentage: 85
|
||||
color: green
|
|
@ -1,14 +0,0 @@
|
|||
# Your achievements achievements
|
||||
achievements:
|
||||
- title: Best Presenter
|
||||
image: images/achievements/presenter.jpg
|
||||
summary: Best presenter in 2020 XYZ conference.
|
||||
- title: Champion
|
||||
image: images/achievements/sport.jpg
|
||||
summary: Champion in cycling inter-city cycling championship 2020.
|
||||
- title: Graduation
|
||||
image: images/achievements/graduation-cap.jpg
|
||||
summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University.
|
||||
- title: Award Winner
|
||||
image: images/achievements/woman-winner.jpg
|
||||
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero?
|
|
@ -1,43 +0,0 @@
|
|||
# Your experiences
|
||||
experiences:
|
||||
- designation: Software Engineer
|
||||
company:
|
||||
name: Example Co.
|
||||
url: "https://www.example.com"
|
||||
location: Dhaka Branch
|
||||
# company overview
|
||||
overview: Example Co. is a widely recognized company for cloud native development. It build tools for Kubernetes.
|
||||
start: Nov 2017
|
||||
# don't provide end date if you are currently working there. It will be replaced by "Present"
|
||||
# end: Dec 2020
|
||||
# give some points about what was your responsibilities at the company.
|
||||
responsibilities:
|
||||
- Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases and cluster's resource definition.
|
||||
- My another responsibilities.
|
||||
- My more responsibilities.
|
||||
|
||||
- designation: Software Engineer
|
||||
company:
|
||||
name: PreExample Co.
|
||||
url: "https://www.preexample.com"
|
||||
location: Nowhere
|
||||
overview: PreExample Co. is gateway company to enter into Example co. So, nothing special here.
|
||||
start: March 2016
|
||||
end: May 2017
|
||||
responsibilities:
|
||||
- Write lots of example codes.
|
||||
- Read lots of examples.
|
||||
- See lots of example videos.
|
||||
|
||||
- designation: Intern
|
||||
company:
|
||||
name: Intern Counting Company (ICC).
|
||||
url: "https://www.intern.com"
|
||||
location: Intern Land
|
||||
overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineer.
|
||||
start: Jun 2015
|
||||
end: Jan 2016
|
||||
responsibilities:
|
||||
- Count lost of interns.
|
||||
- Count more interns.
|
||||
- Count myself as intern.
|
|
@ -1,54 +0,0 @@
|
|||
# filter buttons
|
||||
buttons:
|
||||
- name: All
|
||||
filter: "all"
|
||||
- name: Professional
|
||||
filter: "professional"
|
||||
- name: Academic
|
||||
filter: "academic"
|
||||
- name: Hobby
|
||||
filter: "hobby"
|
||||
|
||||
# your projects
|
||||
projects:
|
||||
- name: Kubernetes
|
||||
logo: images/projects/kubernetes.png
|
||||
role: Contributor
|
||||
timeline: "March 2018 - Present"
|
||||
repo: https://github.com/kubernetes/kubernetes # if your project is public repo on github, then provide this link. it will show star count.
|
||||
#url: "" # if your project is not a public repo but it has a website, or any external details url then provide it here. don't provide "repo" and "url" simultaneously.
|
||||
summary: Production-Grade Container Scheduling and Management .
|
||||
tags: ["professional", "kubernetes", "cloud"]
|
||||
|
||||
- name: Tensorflow
|
||||
logo: images/projects/tensorflow.png
|
||||
role: Developer
|
||||
timeline: "Jun 2018 - Present"
|
||||
repo: https://github.com/tensorflow/tensorflow
|
||||
#url: ""
|
||||
summary: An Open Source Machine Learning Framework for Everyone.
|
||||
tags: ["professional", "machine-learning","academic"]
|
||||
|
||||
- name: A sample academic paper
|
||||
role: Team Lead
|
||||
timeline: "Jan 2017 - Nov 2017"
|
||||
url: "https://www.example.com"
|
||||
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Sapiente eius reprehenderit animi suscipit autem eligendi esse amet aliquid error eum. Accusantium distinctio soluta aliquid quas placeat modi suscipit eligendi nisi.
|
||||
tags: ["academic","iot"]
|
||||
|
||||
- name: Nocode
|
||||
logo: images/projects/no-code.png
|
||||
role: Nothing
|
||||
timeline: "Oct 2019 - Dec 2019"
|
||||
repo: https://github.com/kelseyhightower/nocode
|
||||
#url: ""
|
||||
summary: The best way to write secure and reliable applications. Write nothing; deploy nowhere.
|
||||
tags: ["hobby", "fun"]
|
||||
|
||||
- name: Toha
|
||||
logo: images/projects/toha.png
|
||||
role: Owner
|
||||
timeline: "Jun 2019 - Present"
|
||||
repo: https://github.com/hossainemruz/toha
|
||||
summary: A Hugo theme for personal portfolio.
|
||||
tags: ["hobby","hugo","theme","professional"]
|
|
@ -1,40 +0,0 @@
|
|||
# background image of the landing page
|
||||
background: "images/background.jpg"
|
||||
|
||||
# some information about you
|
||||
author:
|
||||
name: "Jane Doe"
|
||||
image: "images/avatar.png"
|
||||
# give your some contact information. they will be used in the footer
|
||||
contactInfo:
|
||||
email: "janedoe@example.com"
|
||||
phone: "+0123456789"
|
||||
# a summary of what you do
|
||||
summary:
|
||||
- I am a Developer
|
||||
- I work with Go
|
||||
- I love to work with some fun projects
|
||||
|
||||
# Menus of the home page
|
||||
menus:
|
||||
- name: Home
|
||||
url: "#home"
|
||||
weight: 1
|
||||
- name: About
|
||||
url: "#about"
|
||||
weight: 2
|
||||
- name: Skills
|
||||
url: "#skills"
|
||||
weight: 3
|
||||
- name: Experiences
|
||||
url: "#experiences"
|
||||
weight: 4
|
||||
- name: Projects
|
||||
url: "#projects"
|
||||
weight: 5
|
||||
- name: Recent Posts
|
||||
url: "#recent-posts"
|
||||
weight: 6
|
||||
- name: Achievements
|
||||
url: "#achievements"
|
||||
weight: 7
|
|
@ -1,34 +0,0 @@
|
|||
# Your Skills.
|
||||
# Give a summary of you each skill in summary section.
|
||||
skills:
|
||||
- name: Kubernetes
|
||||
icon: "images/skills/kubernetes.png"
|
||||
summary: "Capable of deploying, managing application on Kubernetes. Experienced in writing Kubernetes controllers for CRDs."
|
||||
|
||||
- name: Go Development
|
||||
icon: "images/skills/go.png"
|
||||
summary: "Using as main language for professional development. Capable of writing scalable, testable, and maintainable program."
|
||||
|
||||
- name: Cloud Computing
|
||||
icon: "images/skills/cloud.png"
|
||||
summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc."
|
||||
|
||||
- name: Docker
|
||||
icon: "images/skills/docker.svg"
|
||||
summary: "Write most of the programs as dockerized container. Experienced with multi-stage, multi-arch build process."
|
||||
|
||||
- name: Prometheus
|
||||
icon: "images/skills/prometheus.png"
|
||||
summary: "Capable of setup, configure Prometheus metrics. Experienced with PromQL, AlertManager. Also, experienced with writing metric exporters."
|
||||
|
||||
- name: Linux
|
||||
icon: "images/skills/linux.png"
|
||||
summary: "Using as main operating system. Capable of writing bash/shell scripts."
|
||||
|
||||
- name: Git
|
||||
icon: "images/skills/git.png"
|
||||
summary: "Experienced with git based development. Mostly, use Github. Also have experience in working with GitLab."
|
||||
|
||||
- name: C++
|
||||
icon: "images/skills/c++.png"
|
||||
summary: "Know basic C/C++ programming. Used for contest programming and problem solving."
|
Before Width: | Height: | Size: 385 KiB |
Before Width: | Height: | Size: 97 KiB |
Before Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 56 KiB |
108
i18n/bn.toml
Normal file
|
@ -0,0 +1,108 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "হোম"
|
||||
|
||||
[posts]
|
||||
other = "পোষ্ট সমূহ"
|
||||
|
||||
[toc_heading]
|
||||
other = "সুচিপত্র"
|
||||
|
||||
[resume]
|
||||
other = "আমার জীবনবৃত্তান্ত"
|
||||
|
||||
[navigation]
|
||||
other = "নেভিগেশন"
|
||||
|
||||
[contact_me]
|
||||
other = "আমার সাথে যোগাযোগ করুনঃ"
|
||||
|
||||
[email]
|
||||
other = "ইমেইল"
|
||||
|
||||
[phone]
|
||||
other = "ফোন"
|
||||
|
||||
[newsletter_text]
|
||||
other = "ইমেইল নোটিফিকেশান এর মাধ্যমে সর্বশেষ তথ্য জানুন"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "ইমেইল প্রবেশ করান"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "আমরা আপনার ইমেল অন্য কারও সাথে শেয়ার করব না।"
|
||||
|
||||
[submit]
|
||||
other = "জমা দিন"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "পাওয়ারড বাই"
|
||||
|
||||
[prev]
|
||||
other = "পূর্ববর্তী"
|
||||
|
||||
[next]
|
||||
other = "পরবর্তী"
|
||||
|
||||
[improve_this_page]
|
||||
other = "এই পৃষ্ঠাটি উন্নত করুন"
|
||||
|
||||
[out_of]
|
||||
other = "এর মধ্যে"
|
||||
|
||||
[publications]
|
||||
other = "প্রকাশনা সমূহ"
|
||||
|
||||
[taken_courses]
|
||||
other = "গৃহীত কোর্সসমূহ"
|
||||
|
||||
[course_name]
|
||||
other = "কোর্সের নাম"
|
||||
|
||||
[total_credit]
|
||||
other = "মোট ক্রেডিট"
|
||||
|
||||
[obtained_credit]
|
||||
other = "অর্জিত ক্রেডিট"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "পাঠক্রম বহির্ভূত কার্যক্রম"
|
||||
|
||||
[show_more]
|
||||
other = "আরো দেখান"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "আরো"
|
||||
|
||||
[view_certificate]
|
||||
other = "সার্টিফিকেট দেখুন"
|
||||
|
||||
[notes]
|
||||
other = "নোট সমূহ"
|
111
i18n/cn.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "主页"
|
||||
|
||||
[posts]
|
||||
other = "博文"
|
||||
|
||||
[toc_heading]
|
||||
other = "目录"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
[resume]
|
||||
other = "我的简历"
|
||||
|
||||
[navigation]
|
||||
other = "导航"
|
||||
|
||||
[contact_me]
|
||||
other = "联系方式:"
|
||||
|
||||
[email]
|
||||
other = "邮箱"
|
||||
|
||||
[phone]
|
||||
other = "电话"
|
||||
|
||||
[newsletter_text]
|
||||
other = "通过电子邮件接收最新信息"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "填入 E-mail"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "我们绝不会与任何人共享您的电子邮件。"
|
||||
|
||||
[submit]
|
||||
other = "提交"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Powered by"
|
||||
|
||||
[prev]
|
||||
other = "上一篇"
|
||||
|
||||
[next]
|
||||
other = "下一篇"
|
||||
|
||||
[improve_this_page]
|
||||
other = "改善此页面"
|
||||
|
||||
[out_of]
|
||||
other = "/"
|
||||
|
||||
[publications]
|
||||
other = "刊物"
|
||||
|
||||
[taken_courses]
|
||||
other = "选修课程"
|
||||
|
||||
[course_name]
|
||||
other = "课程名"
|
||||
|
||||
[total_credit]
|
||||
other = "满分"
|
||||
|
||||
[obtained_credit]
|
||||
other = "获得分数"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "课外活动"
|
||||
|
||||
[show_more]
|
||||
other = "查看更多"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "更多的"
|
||||
|
||||
[view_certificate]
|
||||
other = "查看证书"
|
||||
|
||||
[notes]
|
||||
other = "笔记"
|
111
i18n/de.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Startseite"
|
||||
|
||||
[posts]
|
||||
other = "Beiträge"
|
||||
|
||||
[toc_heading]
|
||||
other = "Inhaltsverzeichnis"
|
||||
|
||||
[at]
|
||||
other = "bei"
|
||||
|
||||
[resume]
|
||||
other = "Mein Lebenslauf"
|
||||
|
||||
[navigation]
|
||||
other = "Navigation"
|
||||
|
||||
[contact_me]
|
||||
other = "Kontakt aufnehmen"
|
||||
|
||||
[email]
|
||||
other = "E-Mail"
|
||||
|
||||
[phone]
|
||||
other = "Telefon"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Mit dem Newsletter auf dem neuesten Stand bleiben"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "E-Mail-Adresse eingeben"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Wir werden Ihre E-Mail-Adresse nicht an Dritte weitergeben."
|
||||
|
||||
[submit]
|
||||
other = "Absenden"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Unterstützt von"
|
||||
|
||||
[prev]
|
||||
other = "Vorherige"
|
||||
|
||||
[next]
|
||||
other = "Nächste"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Diese Seite verbessern"
|
||||
|
||||
[out_of]
|
||||
other = "van de"
|
||||
|
||||
[publications]
|
||||
other = "Publicaties"
|
||||
|
||||
[taken_courses]
|
||||
other = "Cursussen gevolgd"
|
||||
|
||||
[course_name]
|
||||
other = "Cursus naam"
|
||||
|
||||
[total_credit]
|
||||
other = "Totaal krediet"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Krediet verkregen"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Buitenschoolse activiteiten"
|
||||
|
||||
[show_more]
|
||||
other = "Bekijk meer"
|
||||
|
||||
[show_less]
|
||||
other = "Laat minder zien"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Meer"
|
||||
|
||||
[view_certificate]
|
||||
other = "Bekijk certificaat"
|
||||
|
||||
[notes]
|
||||
other = "Opmerkingen"
|
111
i18n/en.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Home"
|
||||
|
||||
[posts]
|
||||
other = "Posts"
|
||||
|
||||
[toc_heading]
|
||||
other = "Table of Contents"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
[resume]
|
||||
other = "My resume"
|
||||
|
||||
[navigation]
|
||||
other = "Navigation"
|
||||
|
||||
[contact_me]
|
||||
other = "Contact me:"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Phone"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Stay up to date with email notification"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Enter email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "We'll never share your email with anyone else."
|
||||
|
||||
[submit]
|
||||
other = "Submit"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Powered by"
|
||||
|
||||
[prev]
|
||||
other = "Prev"
|
||||
|
||||
[next]
|
||||
other = "Next"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Improve this page"
|
||||
|
||||
[out_of]
|
||||
other = "out of"
|
||||
|
||||
[publications]
|
||||
other = "Publications"
|
||||
|
||||
[taken_courses]
|
||||
other = "Taken Courses"
|
||||
|
||||
[course_name]
|
||||
other = "Course Name"
|
||||
|
||||
[total_credit]
|
||||
other = "Total Credit"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Obtained Credit"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Extracurricular Activities"
|
||||
|
||||
[show_more]
|
||||
other = "Show More"
|
||||
|
||||
[show_less]
|
||||
other = "Show Less"
|
||||
|
||||
[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."
|
||||
|
||||
[more]
|
||||
other = "More"
|
||||
|
||||
[view_certificate]
|
||||
other = "View Certificate"
|
||||
|
||||
[notes]
|
||||
other = "Notes"
|
111
i18n/es.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Inicio"
|
||||
|
||||
[posts]
|
||||
other = "Posts"
|
||||
|
||||
[toc_heading]
|
||||
other = "Contenido"
|
||||
|
||||
[at]
|
||||
other = "en"
|
||||
|
||||
[resume]
|
||||
other = "Mi currículum"
|
||||
|
||||
[navigation]
|
||||
other = "Navegación"
|
||||
|
||||
[contact_me]
|
||||
other = "Contacto"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Teléfono"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Subscribirse"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Ingrese email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Jamás compartiremos tus datos con alguién mas"
|
||||
|
||||
[submit]
|
||||
other = "Enviar"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Funcionando con"
|
||||
|
||||
[prev]
|
||||
other = "Anterior"
|
||||
|
||||
[next]
|
||||
other = "Siguiente"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Mejorar esta página"
|
||||
|
||||
[out_of]
|
||||
other = "de"
|
||||
|
||||
[publications]
|
||||
other = "Publicaciones"
|
||||
|
||||
[taken_courses]
|
||||
other = "Cursos tomados"
|
||||
|
||||
[course_name]
|
||||
other = "Nombre del curso"
|
||||
|
||||
[total_credit]
|
||||
other = "Crédito total"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Crédito obtenido"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Actividades extracurriculares"
|
||||
|
||||
[show_more]
|
||||
other = "Ver más"
|
||||
|
||||
[show_less]
|
||||
other = "Muestra menos"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Más"
|
||||
|
||||
[view_certificate]
|
||||
other = "Ver Certificado"
|
||||
|
||||
[notes]
|
||||
other = "Notas"
|
111
i18n/fr.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Accueil"
|
||||
|
||||
[posts]
|
||||
other = "Des postes"
|
||||
|
||||
[toc_heading]
|
||||
other = "Table des matières"
|
||||
|
||||
[at]
|
||||
other = "chez"
|
||||
|
||||
[resume]
|
||||
other = "Mon Curriculum vitæ"
|
||||
|
||||
[navigation]
|
||||
other = "Navigation"
|
||||
|
||||
[contact_me]
|
||||
other = "Contactez moi :"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Téléphone"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Restez à jour par e-mail"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Entrez une adresse e-mail"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Nous ne partagerons jamais votre courriel avec quelqu'un d'autre."
|
||||
|
||||
[submit]
|
||||
other = "Envoyer"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Alimenté par"
|
||||
|
||||
[prev]
|
||||
other = "Précédent"
|
||||
|
||||
[next]
|
||||
other = "Suivant"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Améliorez cette page"
|
||||
|
||||
[out_of]
|
||||
other = "sur"
|
||||
|
||||
[publications]
|
||||
other = "Publications"
|
||||
|
||||
[taken_courses]
|
||||
other = "Taken Courses"
|
||||
|
||||
[course_name]
|
||||
other = "Cours suivis"
|
||||
|
||||
[total_credit]
|
||||
other = "Crédit total"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Crédit obtenu"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Activités extra-scolaires"
|
||||
|
||||
[show_more]
|
||||
other = "En savoir plus"
|
||||
|
||||
[show_less]
|
||||
other = "Montrer moins"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Suite"
|
||||
|
||||
[view_certificate]
|
||||
other = "Afficher le certificat"
|
||||
|
||||
[notes]
|
||||
other = "Remarques"
|
111
i18n/hi.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "होम"
|
||||
|
||||
[posts]
|
||||
other = "पोस्ट"
|
||||
|
||||
[toc_heading]
|
||||
other = "विषयसूची"
|
||||
|
||||
[at]
|
||||
other = "अन्य"
|
||||
|
||||
[resume]
|
||||
other = "बायोडाटा"
|
||||
|
||||
[navigation]
|
||||
other = "पथ प्रदर्शन"
|
||||
|
||||
[contact_me]
|
||||
other = "मुझसे संपर्क करो:"
|
||||
|
||||
[email]
|
||||
other = "ईमेल"
|
||||
|
||||
[phone]
|
||||
other = "फ़ोन"
|
||||
|
||||
[newsletter_text]
|
||||
other = "ईमेल अधिसूचना से अवगत रहें"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "ईमेल दर्ज करें"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "हम आपके ईमेल को कभी भी किसी और के साथ साझा नहीं करेंगे"
|
||||
|
||||
[submit]
|
||||
other = "जमा करें"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "द्वारा संचालित"
|
||||
|
||||
[prev]
|
||||
other = "पिछला"
|
||||
|
||||
[next]
|
||||
other = "आगे"
|
||||
|
||||
[improve_this_page]
|
||||
other = "इस पृष्ठ को सुधारें"
|
||||
|
||||
[out_of]
|
||||
other = "में से बाहर"
|
||||
|
||||
[publications]
|
||||
other = "प्रकाशन"
|
||||
|
||||
[taken_courses]
|
||||
other = "पाठ्यक्रम लिया"
|
||||
|
||||
[course_name]
|
||||
other = "कोर्स का नाम"
|
||||
|
||||
[total_credit]
|
||||
other = "कुल क्रेडिट"
|
||||
|
||||
[obtained_credit]
|
||||
other = "श्रेय प्राप्त किया"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "अतिरिक्त पाठयक्रम गतिविधियों"
|
||||
|
||||
[show_more]
|
||||
other = "और देखें"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "अधिक"
|
||||
|
||||
[view_certificate]
|
||||
other = "प्रमाणपत्र देखें"
|
||||
|
||||
[notes]
|
||||
other = "टिप्पणियाँ"
|
111
i18n/id.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Beranda"
|
||||
|
||||
[posts]
|
||||
other = "Artikel"
|
||||
|
||||
[toc_heading]
|
||||
other = "Daftar Isi"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
[resume]
|
||||
other = "Resume saya"
|
||||
|
||||
[navigation]
|
||||
other = "Navigasi"
|
||||
|
||||
[contact_me]
|
||||
other = "Hubungi saya:"
|
||||
|
||||
[email]
|
||||
other = "Surel"
|
||||
|
||||
[phone]
|
||||
other = "Telepon"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Ingin selalu update dengan notifikasi email"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Masukkan email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Kami tidak pernah berbagi data email dengan siapapun."
|
||||
|
||||
[submit]
|
||||
other = "Kirim"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Didukung oleh"
|
||||
|
||||
[prev]
|
||||
other = "Sebelumnya"
|
||||
|
||||
[next]
|
||||
other = "Lanjut"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Perbaiki halaman ini"
|
||||
|
||||
[out_of]
|
||||
other = "dari"
|
||||
|
||||
[publications]
|
||||
other = "Publikasi"
|
||||
|
||||
[taken_courses]
|
||||
other = "Kursus yang Diambil"
|
||||
|
||||
[course_name]
|
||||
other = "Nama kursus"
|
||||
|
||||
[total_credit]
|
||||
other = "Total Kredit"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Memperoleh Kredit"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Kegiatan ekstrakulikuler"
|
||||
|
||||
[show_more]
|
||||
other = "Lihat Selengkapnya"
|
||||
|
||||
[show_less]
|
||||
other = "Tampilkan Lebih Sedikit"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Lebih"
|
||||
|
||||
[view_certificate]
|
||||
other = "Lihat Sertifikat"
|
||||
|
||||
[notes]
|
||||
other = "Catatan"
|
111
i18n/it.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Home"
|
||||
|
||||
[posts]
|
||||
other = "Post"
|
||||
|
||||
[toc_heading]
|
||||
other = "Contenuti"
|
||||
|
||||
[at]
|
||||
other = "presso"
|
||||
|
||||
[resume]
|
||||
other = "Il mio curriculum"
|
||||
|
||||
[navigation]
|
||||
other = "Navigazione"
|
||||
|
||||
[contact_me]
|
||||
other = "Contattami:"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Telefono"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Resta aggiornato con la notifica di email"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Inserisci l'email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Non condivideremo l'email con altri."
|
||||
|
||||
[submit]
|
||||
other = "Invia"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Creato con"
|
||||
|
||||
[prev]
|
||||
other = "Precedente"
|
||||
|
||||
[next]
|
||||
other = "Successivo"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Migliora questa pagina"
|
||||
|
||||
[out_of]
|
||||
other = "su"
|
||||
|
||||
[publications]
|
||||
other = "Pubblicazioni"
|
||||
|
||||
[taken_courses]
|
||||
other = "Corsi presi"
|
||||
|
||||
[course_name]
|
||||
other = "Nome del corso"
|
||||
|
||||
[total_credit]
|
||||
other = "Credito totale"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Credito ottenuto"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Attività extracurriculari"
|
||||
|
||||
[show_more]
|
||||
other = "Vedi altro"
|
||||
|
||||
[show_less]
|
||||
other = "Mostra meno"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Di più"
|
||||
|
||||
[view_certificate]
|
||||
other = "Féach ar an Teastas"
|
||||
|
||||
[notes]
|
||||
other = "Appunti"
|
108
i18n/jp.toml
Normal file
|
@ -0,0 +1,108 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "ホーム"
|
||||
|
||||
[posts]
|
||||
other = "記事"
|
||||
|
||||
[toc_heading]
|
||||
other = "目次"
|
||||
|
||||
[resume]
|
||||
other = "職務経歴書"
|
||||
|
||||
[navigation]
|
||||
other = "メニュー"
|
||||
|
||||
[contact_me]
|
||||
other = "連絡先"
|
||||
|
||||
[email]
|
||||
other = "メール"
|
||||
|
||||
[phone]
|
||||
other = "電話番号"
|
||||
|
||||
[newsletter_text]
|
||||
other = "メールで最新情報を受け取る"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "ここにメールアドレスを入力"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "ご入力いただいたメールアドレスが他人に開示されることは決してございません。"
|
||||
|
||||
[submit]
|
||||
other = "登録"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "搭載"
|
||||
|
||||
[prev]
|
||||
other = "前"
|
||||
|
||||
[next]
|
||||
other = "次"
|
||||
|
||||
[improve_this_page]
|
||||
other = "編集リクエストを送る"
|
||||
|
||||
[out_of]
|
||||
other = "のうち"
|
||||
|
||||
[publications]
|
||||
other = "出版物"
|
||||
|
||||
[taken_courses]
|
||||
other = "受講したコース"
|
||||
|
||||
[course_name]
|
||||
other = "コース名"
|
||||
|
||||
[total_credit]
|
||||
other = "合計クレジット"
|
||||
|
||||
[obtained_credit]
|
||||
other = "取得したクレジット"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "課外活動"
|
||||
|
||||
[show_more]
|
||||
other = "続きを見る"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "もっと"
|
||||
|
||||
[view_certificate]
|
||||
other = "ビューの証明書"
|
||||
|
||||
[notes]
|
||||
other = "ノート"
|
111
i18n/ko.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# 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 = "기타 활동"
|
||||
|
||||
[show_more]
|
||||
other = "더보기"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "더"
|
||||
|
||||
[view_certificate]
|
||||
other = "인증서보기"
|
||||
|
||||
[notes]
|
||||
other = "메모"
|
111
i18n/ru.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Главная"
|
||||
|
||||
[posts]
|
||||
other = "Посты"
|
||||
|
||||
[toc_heading]
|
||||
other = "Оглавление"
|
||||
|
||||
[at]
|
||||
other = "в"
|
||||
|
||||
[resume]
|
||||
other = "Резюме"
|
||||
|
||||
[navigation]
|
||||
other = "Навигация"
|
||||
|
||||
[contact_me]
|
||||
other = "Контакты:"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Телефон"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Подпишитесь на уведомления, чтобы не пропустить новый пост"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Введите email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Ваши данные в безопасности"
|
||||
|
||||
[submit]
|
||||
other = "Подтвердить"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Создано при помощи"
|
||||
|
||||
[prev]
|
||||
other = "Предыдущий"
|
||||
|
||||
[next]
|
||||
other = "Следующий"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Улучшить эту страницу"
|
||||
|
||||
[out_of]
|
||||
other = "из"
|
||||
|
||||
[publications]
|
||||
other = "Публикации"
|
||||
|
||||
[taken_courses]
|
||||
other = "Пройденные курсы"
|
||||
|
||||
[course_name]
|
||||
other = "Название курса"
|
||||
|
||||
[total_credit]
|
||||
other = "Общий кредит"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Полученный кредит"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Внеклассные занятия"
|
||||
|
||||
[show_more]
|
||||
other = "Узнать больше"
|
||||
|
||||
[show_less]
|
||||
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."
|
||||
|
||||
[more]
|
||||
other = "Более"
|
||||
|
||||
[view_certificate]
|
||||
other = "Просмотреть сертификат"
|
||||
|
||||
[notes]
|
||||
other = "Ноты"
|
111
i18n/vn.toml
Normal file
|
@ -0,0 +1,111 @@
|
|||
# More documentation here: https://github.com/nicksnyder/go-i18n
|
||||
[home]
|
||||
other = "Trang chủ"
|
||||
|
||||
[posts]
|
||||
other = "Bài viết"
|
||||
|
||||
[toc_heading]
|
||||
other = "Mục lục"
|
||||
|
||||
[at]
|
||||
other = "tại"
|
||||
|
||||
[resume]
|
||||
other = "Sơ yếu lý lịch của tôi"
|
||||
|
||||
[navigation]
|
||||
other = "Điều hướng"
|
||||
|
||||
[contact_me]
|
||||
other = "Liên hệ với tôi"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Điện thoại"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Nhận email cập nhật thông tin"
|
||||
|
||||
[newsletter_input_placeholder]
|
||||
other = "Nhập email"
|
||||
|
||||
[newsletter_warning]
|
||||
other = "Chúng tôi sẽ không bao giờ chia sẻ email của bạn."
|
||||
|
||||
[submit]
|
||||
other = "Gửi"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Được cung cấp bởi"
|
||||
|
||||
[prev]
|
||||
other = "Trước"
|
||||
|
||||
[next]
|
||||
other = "Tiếp theo"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Cải thiện trang này"
|
||||
|
||||
[out_of]
|
||||
other = "trên"
|
||||
|
||||
[publications]
|
||||
other = "Ấn phẩm"
|
||||
|
||||
[taken_courses]
|
||||
other = "Đã thực hiện các khóa học"
|
||||
|
||||
[course_name]
|
||||
other = "Tên khóa học"
|
||||
|
||||
[total_credit]
|
||||
other = "Tổng số tín dụng"
|
||||
|
||||
[obtained_credit]
|
||||
other = "Tín dụng thu được"
|
||||
|
||||
[extracurricular_activities]
|
||||
other = "Các hoạt động ngoại khóa"
|
||||
|
||||
[show_more]
|
||||
other = "Xem thêm"
|
||||
|
||||
[show_less]
|
||||
other = "Hiện ít hơn"
|
||||
|
||||
# [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."
|
||||
|
||||
[more]
|
||||
other = "Hơn"
|
||||
|
||||
[view_certificate]
|
||||
other = "Xem chứng chỉ"
|
||||
|
||||
[notes]
|
||||
other = "Ghi chú"
|
BIN
images/about.png
Normal file
After Width: | Height: | Size: 141 KiB |
BIN
images/list.png
Normal file
After Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 389 KiB After Width: | Height: | Size: 638 KiB |
BIN
images/single.png
Normal file
After Width: | Height: | Size: 118 KiB |
BIN
images/tn.png
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 119 KiB |
BIN
images/tn2.png
Normal file
After Width: | Height: | Size: 315 KiB |
|
@ -1,18 +1,28 @@
|
|||
{{ define "header" }}
|
||||
<link rel="stylesheet" href="/assets/css/404.css">
|
||||
<link rel="stylesheet" href="{{ "/css/404.css" | relURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" false) }}
|
||||
{{ partial "navigators/navbar-2.html" (dict "baseURL" site.BaseURL "title" site.Title "hasToggleButton" false) }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
{{/* not found image */}}
|
||||
{{ $notFoundImage := "/images/404.png" }}
|
||||
|
||||
{{/* resize the image. don't resize svg because it is not supported */}}
|
||||
{{ $notFoundImage := resources.Get $notFoundImage}}
|
||||
{{ if and $notFoundImage (ne $notFoundImage.MediaType.SubType "svg") }}
|
||||
{{ $notFoundImage = $notFoundImage.Resize "1500x" }}
|
||||
{{ end }}
|
||||
{{ $notFoundImage = $notFoundImage.RelPermalink}}
|
||||
|
||||
<div class="container">
|
||||
<div class="notFound">
|
||||
<img src="/assets/images/404.png" alt="">
|
||||
<img src="{{ $notFoundImage }}" alt="Page Not Found">
|
||||
<div class="message">
|
||||
<h1>404</h1>
|
||||
<h4>The page you are looking for is not there yet.</h4>
|
||||
<h4>{{ i18n "err_404" }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,22 +9,29 @@
|
|||
{{ block "header" . }} {{ end }}
|
||||
|
||||
<!-- ADD GOOGLE ANALYTICS IF ENABLED -->
|
||||
{{ if .Site.GoogleAnalytics }}
|
||||
{{ if site.GoogleAnalytics }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body data-spy="scroll" data-target="#TableOfContents" data-offset="80">
|
||||
<div class="container-fluid bg-dimmed wrapper">
|
||||
<!----- ADD NAVBAR --------------->
|
||||
{{ block "navbar" . }} {{ end }}
|
||||
|
||||
<!----- ADD SIDEBAR --------------->
|
||||
{{ block "sidebar" . }} {{ end }}
|
||||
|
||||
<!----- ADD PAGE CONTENT --------->
|
||||
{{ block "content" . }} {{ end }}
|
||||
|
||||
<!----- ADD TABLE OF CONTENTS ----------->
|
||||
{{ block "toc" . }} {{ end }}
|
||||
</div>
|
||||
|
||||
<!------- ADD FOOTER ------------>
|
||||
{{- partial "footer.html" . -}}
|
||||
{{ $footerTemplate:= site.Params.footer.template | default "footer.html" }}
|
||||
{{- partial $footerTemplate . -}}
|
||||
|
||||
<!------- ADD COMMON SCRIPTS ------->
|
||||
{{ partial "scripts.html" . }}
|
||||
|
|
5
layouts/_default/index.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{- $.Scratch.Add "index" slice -}}
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{- $.Scratch.Add "index" (dict "title" .Title "hero" (partial "helpers/get-hero.html" .) "date" (.Date.Format "January 2, 2006") "summary" .Summary "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
|
||||
{{- end -}}
|
||||
{{- $.Scratch.Get "index" | jsonify -}}
|
|
@ -1,41 +1,57 @@
|
|||
{{ define "header" }}
|
||||
<link rel="stylesheet" href="/assets/css/list.css">
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/list.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/sidebar.css" | relURL}}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" true) }}
|
||||
{{ partial "navigators/navbar-2.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ $homePage:="#" }}
|
||||
{{ if site.IsMultiLingual }}
|
||||
{{ $homePage = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
|
||||
{{ end }}
|
||||
|
||||
<section class="sidebar-section" id="sidebar-section">
|
||||
<div class="sidebar-holder">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
||||
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
</form>
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="sidebar" id="sidebar">
|
||||
<div class="sidebar-tree">
|
||||
<input type="text" name="filtr-search" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="#" data-filter="all">{{.Title}}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "sections.html" .Sections }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content-section" id="content-section">
|
||||
<div class="content container-fluid" id="content">
|
||||
<div class="content-cards">
|
||||
<div class="container-fluid filtr-container post-cards" id="post-cards">
|
||||
{{ range (where site.RegularPages "Type" "in" site.Params.mainSections) }}
|
||||
<div class="container-fluid post-card-holder" id="post-card-holder">
|
||||
{{ $paginator := .Paginate .RegularPagesRecursive 12 }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ if .Layout }}
|
||||
{{/* ignore the search.md file*/}}
|
||||
{{ else }}
|
||||
{{ partial "cards/post.html" . }}
|
||||
{{ end }}
|
||||
{{/* {{ $paginator := .Paginate .Site.RegularPages 120 }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ partial "cards/post.html" . }}
|
||||
{{ end }} */}}
|
||||
</div>
|
||||
{{/* <div class="paginator">
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</div> */}}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="paginator">
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="/assets/js/list.js"></script>
|
||||
<script src="{{ "/js/list.js" | relURL }}"></script>
|
||||
{{ end }}
|
||||
|
|
71
layouts/_default/search.html
Normal file
|
@ -0,0 +1,71 @@
|
|||
{{ define "header" }}
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/list.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/sidebar.css" | relURL}}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navigators/navbar-2.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ $homePage:="#" }}
|
||||
{{ if site.IsMultiLingual }}
|
||||
{{ $homePage = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
|
||||
{{ end }}
|
||||
|
||||
<section class="sidebar-section" id="sidebar-section">
|
||||
<div class="sidebar-holder">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
||||
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
</form>
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<section class="content-section" id="content-section">
|
||||
<div class="content container-fluid" id="content">
|
||||
<div class="container-fluid post-card-holder" id="post-card-holder">
|
||||
<div id="search-results">
|
||||
|
||||
<script id="search-result-template" type="text/x-js-template">
|
||||
<div class="post-card">
|
||||
<a href="${link}" class="post-card-link">
|
||||
<div class="card" style="min-height: 352px;"><a href="${link}" class="post-card-link">
|
||||
<div class="card-head">
|
||||
<img class="card-img-top" src="${hero}" alt="Card Heading Image">
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">${title}</h5>
|
||||
<p class="card-text post-summary">${summary}</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<span class="float-left">${date}</span>
|
||||
<a href="${link}" class="float-right btn btn-outline-info btn-sm">Read</a>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.2.0/fuse.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js"></script>
|
||||
<script src="{{ "/js/search.js" | absURL }}"></script>
|
||||
{{ end }}
|
|
@ -1,86 +1,107 @@
|
|||
{{ define "header" }}
|
||||
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Title }}{{ end }}" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"
|
||||
/>
|
||||
<link rel="stylesheet" href="/assets/css/single.css" />
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/single.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/sidebar.css" | relURL }}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navbar-2.html" (dict "baseURL" .Site.BaseURL "title" .Site.Title "hasToggleButton" false) }}
|
||||
{{ partial "navigators/navbar-2.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
<section class="sidebar-section" id="sidebar-section">
|
||||
<div class="sidebar-holder">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
||||
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
</form>
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ "/posts" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menuName" "sidebar" "menuItems" site.Menus.sidebar "ctx" .) }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="container p-0 read-area">
|
||||
<!--Hero Area-->
|
||||
<div class="hero-area col-sm-12" style='background-image: url({{ partial "helpers/get-hero.html" . }});'>
|
||||
</div>
|
||||
|
||||
<!--Content Start-->
|
||||
<div class="page-content">
|
||||
<div class="author-profile ml-auto align-self-lg-center">
|
||||
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}'/>
|
||||
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
||||
<p>{{ .Page.Date.Format "January 2, 2006" }}</p>
|
||||
</div>
|
||||
|
||||
<div class="title">
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
</div>
|
||||
|
||||
<div class="post-content" id="post-content">
|
||||
{{ .Page.Content }}
|
||||
</div>
|
||||
|
||||
<!--- Improve this page button --->
|
||||
{{ if .Site.Params.GitRepo }}
|
||||
<div class="btn-improve-page">
|
||||
<a href="{{ .Site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
|
||||
<i class="fas fa-code-branch"></i>
|
||||
Improve This Page
|
||||
</a>
|
||||
<section class="content-section" id="content-section">
|
||||
<div class="content">
|
||||
<div class="container p-0 read-area">
|
||||
<!--Hero Area-->
|
||||
<div class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . }});'>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<!---Next and Previous Navigator -->
|
||||
<hr />
|
||||
<div class="row next-prev-navigator">
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.RegularPages.ByDate }}
|
||||
{{ if eq .RelPermalink $currentPage.RelPermalink }}
|
||||
{{ if .Next }}
|
||||
<div class="col-md-6 previous-article">
|
||||
<a href="{{.Next.RelPermalink}}" class="btn btn-outline-info">
|
||||
<span><i class="fas fa-chevron-circle-left"></i> Prev</span>
|
||||
<br />
|
||||
<span>{{ .Next.Title }}</span>
|
||||
</a>
|
||||
<!--Content Start-->
|
||||
<div class="page-content">
|
||||
<div class="author-profile ml-auto align-self-lg-center">
|
||||
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}' alt="Author Image">
|
||||
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
|
||||
<p>{{ .Page.Date.Format "January 2, 2006" }}</p>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Prev }}
|
||||
<div class="{{ if .Next }}col-md-6{{ else }}col-md-12{{ end }} next-article">
|
||||
<a href="{{ .Prev.RelPermalink }}" class="btn btn-outline-info">
|
||||
<span>Next <i class="fas fa-chevron-circle-right"></i></span>
|
||||
<br />
|
||||
<span>{{ .Prev.Title }}</span>
|
||||
</a>
|
||||
|
||||
<div class="title">
|
||||
<h1>{{ .Page.Title }}</h1>
|
||||
</div>
|
||||
|
||||
<div class="post-content" id="post-content">
|
||||
{{ .Page.Content }}
|
||||
</div>
|
||||
|
||||
<!--- Improve this page button --->
|
||||
{{ if site.Params.GitRepo }}
|
||||
<div class="btn-improve-page">
|
||||
<a href="{{ site.Params.GitRepo }}/edit/{{ site.Params.GitBranch }}/content/{{ .File.Path }}" title="{{ i18n "improve_this_page" }}" target="_blank" rel="noopener">
|
||||
<i class="fas fa-code-branch"></i>
|
||||
{{ i18n "improve_this_page" }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<!---Next and Previous Navigator -->
|
||||
<hr />
|
||||
{{ partial "navigators/next-prev-navigator.html" . }}
|
||||
<hr />
|
||||
<!-- Add Disqus forum -->
|
||||
{{ if site.DisqusShortname }}
|
||||
{{ partial "disqus.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<!-- Add Disqus forum -->
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ partial "disqus.html" . }}
|
||||
<!--scroll back to top-->
|
||||
<a id="scroll-to-top" class="btn"><i class="fas fa-chevron-circle-up"></i></a>
|
||||
{{ if .IsTranslated }}
|
||||
{{ partial "navigators/floating-lang-selector.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "toc" }}
|
||||
<section class="toc-section" id="toc-section">
|
||||
{{ if site.Params.enableTOC }}
|
||||
<div class="toc-holder">
|
||||
<h5 class="text-center pl-3">{{ i18n "toc_heading" }}</h5>
|
||||
<hr>
|
||||
<div class="toc">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
|
||||
<script src="/assets/js/single.js"></script>
|
||||
<script src="{{ "/js/single.js" | relURL }}"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
|
|
|
@ -1,58 +1,81 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="{{ .Site.Language.Lang }}">
|
||||
<head>
|
||||
<title>{{- .Site.Title -}}</title>
|
||||
{{ $siteDescription := .Site.Params.description }}
|
||||
{{ if (index .Site.Data .Site.Language.Lang).site }}
|
||||
{{ $siteConfig := (index .Site.Data .Site.Language.Lang).site }}
|
||||
{{ if $siteConfig.description }}
|
||||
{{ $siteDescription = $siteConfig.description }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<meta name="description" content="{{ $siteDescription }}" />
|
||||
|
||||
<!-- import common headers -->
|
||||
{{- partial "header.html" . -}}
|
||||
|
||||
<!-- import index page specific headers -->
|
||||
<link rel="stylesheet" href="/assets/css/home.css" />
|
||||
<link rel="stylesheet" href="/assets/css/about.css" />
|
||||
<link rel="stylesheet" href="/assets/css/skills.css" />
|
||||
<link rel="stylesheet" href="/assets/css/experiences.css" />
|
||||
<link rel="stylesheet" href="/assets/css/projects.css" />
|
||||
<link rel="stylesheet" href="/assets/css/recent-posts.css" />
|
||||
<link rel="stylesheet" href="/assets/css/achievements.css" />
|
||||
|
||||
<link rel="stylesheet" href="{{ "/css/sections/home.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/about.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/skills.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/experiences.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/education.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/projects.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/recent-posts.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/achievements.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/sections/accomplishments.css" | relURL }}"/>
|
||||
|
||||
<!-- Add Google Analytics if enabled in configuration -->
|
||||
{{ if .Site.GoogleAnalytics }}
|
||||
{{ if site.GoogleAnalytics }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
</head>
|
||||
<body data-spy="scroll" data-target="#top-navbar" data-offset="50">
|
||||
<body data-spy="scroll" data-target="#top-navbar" data-offset="100">
|
||||
|
||||
<!--- NAVBAR ------------------------->
|
||||
{{- partial "navbar.html" . -}}
|
||||
{{- partial "navigators/navbar.html" . -}}
|
||||
|
||||
<!--- ADD HOME SECTION ---------------->
|
||||
{{- partial "home.html" . -}}
|
||||
{{- partial "sections/home.html" . -}}
|
||||
|
||||
<!--- ADD ABOUT SECTION --------------->
|
||||
{{- partial "about.html" . -}}
|
||||
<!--- ADD OPTIONAL SECTIONS ----------->
|
||||
{{ $sections:= site.Data.sections }}
|
||||
{{ if (index site.Data site.Language.Lang).sections }}
|
||||
{{ $sections = (index site.Data site.Language.Lang).sections }}
|
||||
{{ end }}
|
||||
|
||||
<!--- ADD SKILLS SECTION -------------->
|
||||
{{- partial "skills.html" . -}}
|
||||
|
||||
<!--- ADD EXPERIENCE SECTION ----------->
|
||||
{{- partial "experiences.html" . -}}
|
||||
|
||||
<!--- ADD PROJECT SECTION -------------->
|
||||
{{- partial "projects.html" . -}}
|
||||
|
||||
<!--- ADD RECENT-POSTS SECTION --------->
|
||||
{{- partial "recent-posts.html" . -}}
|
||||
|
||||
<!--- ADD ACHIEVEMENT SECTION ---------->
|
||||
{{- partial "achievements.html" . -}}
|
||||
{{ if $sections }}
|
||||
{{ $background:= "bg-white"}}
|
||||
{{ range sort $sections "section.weight" }}
|
||||
{{ if .section.enable }}
|
||||
<div class="container-fluid section-holder d-flex {{ $background }}">
|
||||
{{ if .section.template }}
|
||||
{{- partial .section.template . -}}
|
||||
{{ else }}
|
||||
{{- partial (printf "sections/%s.html" (replace (lower .section.id) " " "-")) . -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
<!--- alter background color for next section --->
|
||||
{{ if eq $background "bg-white" }}
|
||||
{{ $background = "bg-dimmed" }}
|
||||
{{ else }}
|
||||
{{ $background = "bg-white" }}
|
||||
{{end}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<!--- ADD FOOTER ----------------------->
|
||||
{{- partial "footer.html" . -}}
|
||||
{{ $footerTemplate:= site.Params.footer.template | default "footer.html" }}
|
||||
{{- partial $footerTemplate . -}}
|
||||
|
||||
<!--- ADD COMMON SCRIPTS --------------->
|
||||
{{ partial "scripts.html" . }}
|
||||
|
||||
<!--- ADD INDEX PAGE SPECIFIC SCRIPTS -->
|
||||
<script src="/assets/js/itype.min.js"></script>
|
||||
<script src="/assets/js/github-button.js"></script>
|
||||
<script src="/assets/js/home.js"></script>
|
||||
<script src="{{ "/js/itype.min.js" | relURL }}"></script>
|
||||
<script src="{{ "/js/github-button.js" | relURL }}"></script>
|
||||
<script src="{{ "/js/home.js" | relURL }}"></script>
|
||||
<script src="{{ "/js/jquery.filterizr.min.js" | relURL }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
69
layouts/notes/list.html
Normal file
|
@ -0,0 +1,69 @@
|
|||
{{ define "header" }}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"
|
||||
/>
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/notes.css" | relURL}}">
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/sidebar.css" | relURL}}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navigators/navbar-2.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ $homePage:="#" }}
|
||||
{{ if site.IsMultiLingual }}
|
||||
{{ $homePage = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
|
||||
{{ end }}
|
||||
|
||||
<section class="sidebar-section" id="sidebar-section">
|
||||
<div class="sidebar-holder">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
||||
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
</form>
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menuName" "notes" "menuItems" site.Menus.notes "ctx" . ) }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<section class="content-section" id="content-section">
|
||||
<div class="content container-fluid" id="content">
|
||||
<div class="container-fluid note-card-holder" id="note-card-holder">
|
||||
{{ $paginator := .Paginate .RegularPagesRecursive 10 }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ if .Layout }}
|
||||
{{/* ignore search.md file*/}}
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="paginator">
|
||||
{{ template "_internal/pagination.html" . }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
|
||||
<script src="{{ "/js/imagesloaded.pkgd.min.js" | relURL }}"></script>
|
||||
<script src="{{ "/js/note.js" | relURL }}"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
{{ if .Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
59
layouts/notes/single.html
Normal file
|
@ -0,0 +1,59 @@
|
|||
{{ define "header" }}
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"
|
||||
/>
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/notes.css" | relURL}}">
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/sidebar.css" | relURL}}">
|
||||
{{ end }}
|
||||
|
||||
{{ define "navbar" }}
|
||||
{{ partial "navigators/navbar-2.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{ $homePage:="#" }}
|
||||
{{ if site.IsMultiLingual }}
|
||||
{{ $homePage = (path.Join (cond ( eq .Language.Lang "en") "" .Language.Lang) .Type) }}
|
||||
{{ end }}
|
||||
|
||||
<section class="sidebar-section" id="sidebar-section">
|
||||
<div class="sidebar-holder">
|
||||
<div class="sidebar" id="sidebar">
|
||||
<form class="mx-auto" method="get" action="{{ "search" | absURL }}">
|
||||
<input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
</form>
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ .Type | relLangURL }}" data-filter="all">{{ i18n .Type }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menuName" "notes" "menuItems" site.Menus.notes "ctx" . ) }}
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "content" }}
|
||||
<section class="content-section" id="content-section">
|
||||
<div class="content container-fluid" id="content">
|
||||
<div class="container-fluid note-card-holder" id="note-card-holder">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script>
|
||||
<script src="{{ "/js/imagesloaded.pkgd.min.js" | relURL }}"></script>
|
||||
<script src="{{ "/js/note.js" | relURL }}"></script>
|
||||
<script>
|
||||
hljs.initHighlightingOnLoad();
|
||||
</script>
|
||||
{{ if .Params.math }}
|
||||
{{ partial "math.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
|
@ -1,47 +0,0 @@
|
|||
<div class="container-fluid about bg-white anchor p-md-5 d-flex" id="about">
|
||||
<div class="container">
|
||||
<div class="row pt-sm-2 pt-md-4 align-self-center">
|
||||
{{ if .Site.Data.about }}
|
||||
<!-- summery -->
|
||||
<div class="col-md-6">
|
||||
<h3 class="p-1">{{ .Site.Data.site.author.name }}</h3>
|
||||
<h5 class="p-1">
|
||||
{{ .Site.Data.about.designation }} at
|
||||
<a href="{{ .Site.Data.about.company.url }}"
|
||||
>{{ .Site.Data.about.company.name }}</a
|
||||
>
|
||||
</h5>
|
||||
<p class="p-1 text-justify">
|
||||
{{ .Site.Data.about.summary | markdownify }}
|
||||
</p>
|
||||
<div class="text-container ml-auto">
|
||||
<ul class="social-link d-flex">
|
||||
{{ range .Site.Data.about.socialLinks }}
|
||||
<li>
|
||||
{{ if eq .name "Email" }}
|
||||
<a href="mailto:{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||
{{ else }}
|
||||
<a href="{{ .url }}" target="/"><i class="{{ .icon }}"></i></a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ if .Site.Data.about.resume }}
|
||||
<a href="{{ .Site.Data.about.resume }}" target="#"
|
||||
><button class="btn btn-dark">My Resume</button></a
|
||||
>
|
||||
{{ end }}
|
||||
</div>
|
||||
<!-- soft skills circular-progressbar -->
|
||||
<div class="col-md-6 pt-5 pl-md-4 pl-sm-3 pt-md-0">
|
||||
<div class="row">
|
||||
{{ range .Site.Data.about.softSkills }}
|
||||
{{ partial "progress/soft-skills" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,16 +0,0 @@
|
|||
<div class="container-fluid achievements bg-dimmed anchor pb-5" id="achievements">
|
||||
{{ if .Site.Data.achievements }}
|
||||
<h1 class="text-center">Achievements</h1>
|
||||
|
||||
<div class="container">
|
||||
<div class="row" id="gallery">
|
||||
</div>
|
||||
</div>
|
||||
<!-- achievements-holder holds achievement-entry -->
|
||||
<div class="d-none" id="achievements-holder">
|
||||
{{ range .Site.Data.achievements.achievements }}
|
||||
{{ partial "misc/achievement.html" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
19
layouts/partials/cards/accomplishments.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<div class="col-md-12 col-lg-6 p-2">
|
||||
<div class="card mt-3">
|
||||
<div class="card-header">
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
<div class="sub-title">
|
||||
<span><a href="{{ .organization.url }}" title="{{ .organization.name }}" target="_blank" rel="noopener">{{ .organization.name }}</a></span>
|
||||
<span class="ml-2">{{ .timeline }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p>{{ .courseOverview | markdownify }}</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
{{ if .certificateURL }}
|
||||
<a class="btn btn-outline-info ml-1 pl-2 mb-2" href="{{ .certificateURL }}" target="_blank" rel="noopener" role="button">{{ i18n "view_certificate"}}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -1,19 +1,19 @@
|
|||
<div class="filtr-item" data-category='{{ partial "helpers/get-categories.html" . }}'>
|
||||
<a href="{{ .RelPermalink }}" class="post-card-link">
|
||||
<div class="post-card">
|
||||
<a href="{{ .RelPermalink | relLangURL }}" class="post-card-link">
|
||||
<div class="card">
|
||||
<div class="card-head">
|
||||
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}'/>
|
||||
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}' alt="Hero Image">
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ .Title }}</h5>
|
||||
<p class="card-text post-summery">{{ .Summary }}</p>
|
||||
<p class="card-text post-summary">{{ .Summary }}</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<span class="float-left">{{ .Date.Format "January 2, 2006" }}</span>
|
||||
<a
|
||||
href="{{ .RelPermalink }}"
|
||||
href="{{ .RelPermalink | relLangURL }}"
|
||||
class="float-right btn btn-outline-info btn-sm"
|
||||
>Read</a
|
||||
>{{ i18n "read" }}</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,42 +1,64 @@
|
|||
<div
|
||||
class="col-md-6 col-lg-4 p-2 filtr-item"
|
||||
class="col-sm-12 col-md-6 col-lg-4 p-2 filtr-item"
|
||||
data-category='all, {{ delimit .tags ","}}'
|
||||
>
|
||||
<div class="card mt-1">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<div class="d-flex">
|
||||
{{ if .logo }}
|
||||
<img class="card-img-xs" src="{{ .logo }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
<a class="card-header" href="{{ if .repo }}{{ .repo }}{{ else if .url }}{{ .url }}{{ else }}javascript:void(0){{ end }}" {{ if or .repo .url }}target="_blank" rel="noopener"{{ end }}>
|
||||
<div>
|
||||
<div class="d-flex">
|
||||
{{ if .logo }}
|
||||
|
||||
{{ $logoImage:= resources.Get .logo}}
|
||||
{{ if $logoImage }}
|
||||
{{ $logoImage := $logoImage.Fit "24x24" }}
|
||||
|
||||
<img class="card-img-xs" src="{{ $logoImage.RelPermalink }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<h5 class="card-title mb-0">{{ .name }}</h5>
|
||||
</div>
|
||||
<div class="sub-title">
|
||||
<span>{{ .role }}</span>
|
||||
<span>{{ .timeline }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sub-title">
|
||||
<span>{{ .role }}</span>
|
||||
<span>{{ .timeline }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div class="card-body text-justify pt-1 pb-1">
|
||||
<p>{{ .summary | markdownify }}</p>
|
||||
<span class="float-right">
|
||||
{{ if .repo }}
|
||||
<a
|
||||
class="github-button-inactive"
|
||||
href="{{ .repo }}"
|
||||
data-icon="octicon-standard"
|
||||
data-show-count="true"
|
||||
aria-label="Star {{ .name }}"
|
||||
>Star</a
|
||||
>
|
||||
{{ else if .url }}
|
||||
<a
|
||||
class="btn btn-outline-info btn-sm mb-2"
|
||||
href="{{ .url }}"
|
||||
target="#"
|
||||
>Details</a
|
||||
>
|
||||
<!-- Display project card technology tags -->
|
||||
<div class="project-card-footer">
|
||||
{{ if .tags }}
|
||||
<div class="project-tags-holder">
|
||||
{{ range $index,$tag:= .tags }}
|
||||
<span class="badge btn-info">
|
||||
{{ $tag }}
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</span>
|
||||
<div class="project-btn-holder">
|
||||
{{ if .repo }}
|
||||
<a
|
||||
class="github-button-inactive project-btn"
|
||||
href="{{ .repo }}"
|
||||
data-icon="octicon-standard"
|
||||
data-show-count="true"
|
||||
aria-label="Star {{ .name }}"
|
||||
>{{ i18n "project_star" }}</a
|
||||
>
|
||||
{{ else if .url }}
|
||||
<span>
|
||||
<a
|
||||
class="btn btn-outline-info btn-sm"
|
||||
href="{{ .url }}"
|
||||
target="#"
|
||||
>{{ i18n "project_details" }}</a
|
||||
>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="col-lg-4 col-md-6 pt-2">
|
||||
<a href="{{ .RelPermalink }}" class="post-card-link">
|
||||
<div class="col-lg-4 col-md-6 pt-2 post-card">
|
||||
<a href="{{ .RelPermalink }}" title="{{ .Title }}" class="post-card-link">
|
||||
<div class="card">
|
||||
<div class="card-head">
|
||||
<img class="card-img-top" src='{{ partial "helpers/get-hero.html" . }}'
|
||||
|
@ -8,11 +8,11 @@
|
|||
</div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ .Title }}</h5>
|
||||
<p class="card-text post-summery"> {{ .Summary }}</p>
|
||||
<p class="card-text post-summary"> {{ .Summary }}</p>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<span class="float-left">{{ .Date.Format "January 2, 2006" }}</span>
|
||||
<a href="{{ .RelPermalink }}" class="float-right btn btn-outline-info btn-sm">Read</a>
|
||||
<a href="{{ .RelPermalink }}" title="{{ i18n "read" }}" class="float-right btn btn-outline-info btn-sm">{{ i18n "read" }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -1,13 +1,22 @@
|
|||
<div class="col-sm-12 col-md-6 col-lg-4 pt-2">
|
||||
<div class="card">
|
||||
<div class="card-head d-flex">
|
||||
{{ if .icon }}
|
||||
<img class="card-img-xs" src="{{ .icon }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title">{{ .name }}</h5>
|
||||
<div class="col-xs-12 col-sm-6 col-lg-4 pt-2">
|
||||
<a class="skill-card-link" {{ if .url }}href="{{ .url }}" title="{{ .name }}" target="_blank" rel="noopener"{{ end }}>
|
||||
<div class="card">
|
||||
<div class="card-head d-flex">
|
||||
{{ if .logo }}
|
||||
{{ $logoImage := resources.Get .logo }}
|
||||
|
||||
{{/* svg don't support "Fit" operation */}}
|
||||
{{ if ne $logoImage.MediaType.SubType "svg" }}
|
||||
{{ $logoImage := $logoImage.Fit "24x24" }}
|
||||
{{ end }}
|
||||
|
||||
<img class="card-img-xs" src="{{ $logoImage.RelPermalink }}" alt="{{ .name }}" />
|
||||
{{ end }}
|
||||
<h5 class="card-title">{{ .name }}</h5>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">{{ .summary | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p class="card-text">{{ .summary | markdownify }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
var dsq = document.createElement("script");
|
||||
dsq.type = "text/javascript";
|
||||
dsq.async = true;
|
||||
var disqus_shortname = "{{ .Site.DisqusShortname }}";
|
||||
var disqus_shortname = "{{ site.DisqusShortname }}";
|
||||
dsq.src = "//" + disqus_shortname + ".disqus.com/embed.js";
|
||||
(
|
||||
document.getElementsByTagName("head")[0] ||
|
||||
|
@ -17,11 +17,11 @@
|
|||
})();
|
||||
</script>
|
||||
<noscript
|
||||
>Please enable JavaScript to view the
|
||||
>{{ i18n "comments_javascript" }}
|
||||
<a href="https://disqus.com/?ref_noscript"
|
||||
>comments powered by Disqus.</a
|
||||
>{{ i18n "comments_by" }} Disqus.</a
|
||||
></noscript
|
||||
>
|
||||
<a href="https://disqus.com/" class="dsq-brlink"
|
||||
>comments powered by <span class="logo-disqus">Disqus</span></a
|
||||
>{{ i18n "comments_by" }} <span class="logo-disqus">Disqus</span></a
|
||||
>
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
<div class="container-fluid experiences bg-white anchor" id="experiences">
|
||||
{{ if .Site.Data.experiences }}
|
||||
<h1 class="text-center">Experiences</h1>
|
||||
|
||||
<div class="container timeline text-justify">
|
||||
{{ $totalExperiences:= len .Site.Data.experiences.experiences }}
|
||||
{{ range $index,$experience:= .Site.Data.experiences.experiences }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="row align-items-center d-flex">
|
||||
{{ partial "experiences/vertical-line.html" $index }}
|
||||
{{ partial "experiences/experience-info.html" $experience }}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="row align-items-center justify-content-end d-flex">
|
||||
{{ partial "experiences/experience-info.html" $experience }}
|
||||
{{ partial "experiences/vertical-line.html" $index }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if lt $index (sub $totalExperiences 1) }}
|
||||
{{ partial "experiences/horizontal-line.html" $index }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
|
@ -1,14 +0,0 @@
|
|||
<div class="col-10 col-lg-8">
|
||||
<div class="experience-entry-heading">
|
||||
<h5><a href="{{ .company.url }}">{{ .company.name }}</a></h5>
|
||||
<h6>{{ .designation }}</h6>
|
||||
<p class="text-muted">{{ .start }} - {{ if .end }} {{ .end }} {{ else }}Present{{ end }}, {{ .company.location }}</p>
|
||||
</div>
|
||||
<p>{{ .company.overview | markdownify }}</p>
|
||||
<h6 class="text-muted">Responsibilities:</h6>
|
||||
<ul class="justify-content-around">
|
||||
{{ range .responsibilities }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
|
@ -1,66 +1,129 @@
|
|||
<footer class="container-fluid text-center align-content-center footer pb-2">
|
||||
<div class="container pt-5">
|
||||
<div class="row text-left">
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<h5>Navigation</h5>
|
||||
{{ if .Site.Data.site }}
|
||||
{{/* variables for enabling/disabling parts of the footer */}}
|
||||
{{ $footerEnabled := site.Params.footer.enable | default true }}
|
||||
{{ $navigationEnabled := site.Params.footer.navigation.enable | default true }}
|
||||
{{ $contactMeEnabled := site.Params.footer.contactMe.enable | default true }}
|
||||
{{ $newsletterEnabled := site.Params.footer.newsletter.enable | default true }}
|
||||
{{ $credentialsEnabled := site.Params.footer.credentials.enable | default true }}
|
||||
|
||||
{{/* Keep backward compatibility for the newsletter function */}}
|
||||
{{ if site.Params.newsletter.enable }}
|
||||
{{ $newsletterEnabled = true }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $footerEnabled }}
|
||||
{{ $author:= site.Data.author }}
|
||||
{{ if (index site.Data site.Language.Lang).author }}
|
||||
{{ $author = (index site.Data site.Language.Lang).author }}
|
||||
{{ end }}
|
||||
|
||||
{{ $sections:= site.Data.sections }}
|
||||
{{ if (index site.Data site.Language.Lang).sections }}
|
||||
{{ $sections = (index site.Data site.Language.Lang).sections }}
|
||||
{{ end }}
|
||||
|
||||
{{ $copyrightNotice := "© 2021 Copyright."}}
|
||||
{{ if (index site.Data site.Language.Lang).site }}
|
||||
{{ $siteConfig := (index site.Data site.Language.Lang).site }}
|
||||
{{ if $siteConfig.copyright }}
|
||||
{{ $copyrightNotice = $siteConfig.copyright }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{/* footer logos */}}
|
||||
{{ $themeLogo := "/images/theme-logo.png" }}
|
||||
{{ $hugoLogo := "/images/hugo-logo.svg" }}
|
||||
|
||||
{{/* resize the logos. don't resize svg because it is not supported */}}
|
||||
{{ $themeLogo:= resources.Get $themeLogo}}
|
||||
{{ if and $themeLogo (ne $themeLogo.MediaType.SubType "svg") }}
|
||||
{{ $themeLogo = $themeLogo.Resize "32x" }}
|
||||
{{ end }}
|
||||
{{ $themeLogo = $themeLogo.RelPermalink}}
|
||||
|
||||
{{ $hugoLogo:= resources.Get $hugoLogo}}
|
||||
{{ if and $hugoLogo (ne $hugoLogo.MediaType.SubType "svg")}}
|
||||
{{ $hugoLogo = $hugoLogo.Resize "32x" }}
|
||||
{{ end }}
|
||||
{{ $hugoLogo = $hugoLogo.RelPermalink}}
|
||||
|
||||
<footer class="container-fluid text-center align-content-center footer pb-2">
|
||||
<div class="container pt-5">
|
||||
<div class="row text-left">
|
||||
{{ if $navigationEnabled }}
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<h5>{{ i18n "navigation" }}</h5>
|
||||
{{ if $sections }}
|
||||
<ul>
|
||||
{{ range .Site.Data.site.menus }}
|
||||
<li class="nav-item">
|
||||
<a class="smooth-scroll" href="{{ .url }}">{{ .name }}</a>
|
||||
</li>
|
||||
{{- range sort $sections "section.weight" }}
|
||||
{{ if and (.section.enable) (.section.showOnNavbar)}}
|
||||
{{ $sectionID := replace (lower .section.name) " " "-" }}
|
||||
{{ if .section.id }}
|
||||
{{ $sectionID = .section.id }}
|
||||
{{ end }}
|
||||
<li class="nav-item">
|
||||
<a class="smooth-scroll" href="/#{{ $sectionID }}">{{ .section.name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if (and $contactMeEnabled $author) }}
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<h5>{{ i18n "contact_me" }}</h5>
|
||||
<ul>
|
||||
{{ range $key,$value:= $author.contactInfo }}
|
||||
<li><span>{{ title $key }}: </span> <span>{{ $value }}</span></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if $newsletterEnabled }}
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<!-- <h5>Newsletter</h5> -->
|
||||
<p>{{ i18n "newsletter_text" }}</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input
|
||||
type="email"
|
||||
class="form-control"
|
||||
id="exampleInputEmail1"
|
||||
aria-describedby="emailHelp"
|
||||
placeholder="{{ i18n "newsletter_input_placeholder" }}"
|
||||
/>
|
||||
<small id="emailHelp" class="form-text text-muted"
|
||||
>{{ i18n "newsletter_warning" }}</small
|
||||
>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-info">{{ i18n "submit" }}</button>
|
||||
</form>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<h5>Contact Me</h5>
|
||||
<ul>
|
||||
{{ range $key,$value:=.Site.Data.site.author.contactInfo }}
|
||||
<li><span>{{ title $key }}: </span> <span>{{ $value }}</span></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<!-- <h5>Newsletter</h5> -->
|
||||
<p>Stay up to date with email notification</p>
|
||||
<form>
|
||||
<div class="form-group">
|
||||
<input
|
||||
type="email"
|
||||
class="form-control"
|
||||
id="exampleInputEmail1"
|
||||
aria-describedby="emailHelp"
|
||||
placeholder="Enter email"
|
||||
/>
|
||||
<small id="emailHelp" class="form-text text-muted"
|
||||
>We'll never share your email with anyone else.</small
|
||||
>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-info">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
{{ if $credentialsEnabled }}
|
||||
<hr />
|
||||
<div class="container">
|
||||
<div class="row text-left">
|
||||
<div class="col-md-4">
|
||||
<a id="theme" href="https://github.com/hossainemruz/toha" target="_blank" rel="noopener">
|
||||
<img src="{{ $themeLogo }}" alt="Toha Theme Logo">
|
||||
Toha
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4 text-center">{{ $copyrightNotice | markdownify }}</div>
|
||||
<div class="col-md-4 text-right">
|
||||
<a id="hugo" href="https://gohugo.io/" target="_blank" rel="noopener">{{ i18n "hugoAttributionText" }}
|
||||
<img
|
||||
src="{{ $hugoLogo }}"
|
||||
alt="Hugo Logo"
|
||||
height="18"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="container">
|
||||
<div class="row text-left">
|
||||
<div class="col-md-4">
|
||||
<a id="theme" href="https://github.com/hossainemruz/toha" target="#">
|
||||
<img src="/assets/images/logo-inverted.png">
|
||||
Toha
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-md-4">© 2020 Copyright.</div>
|
||||
<div class="col-md-4">
|
||||
Powered by <a href="https://gohugo.io/">Hugo
|
||||
<img
|
||||
src="/assets/images/hugo-logo-wide.svg"
|
||||
alt="Hugo Logo"
|
||||
height="18"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{ end }}
|
||||
</footer>
|
||||
{{end}}
|
||||
|
|
|
@ -1,16 +1,36 @@
|
|||
{{/* default favicon */}}
|
||||
{{ $favicon := "/images/favicon.png" }}
|
||||
|
||||
{{/* if favicon is provided in the config, then use that */}}
|
||||
{{ if site.Params.logo.favicon }}
|
||||
{{ $favicon = site.Params.logo.favicon }}
|
||||
{{ end }}
|
||||
|
||||
{{/* resize the favicon. don't resize svg because it is not supported */}}
|
||||
{{ $favicon := resources.Get $favicon }}
|
||||
{{ if and $favicon (ne $favicon.MediaType.SubType "svg") }}
|
||||
{{ $favicon = $favicon.Resize "42x" }}
|
||||
{{ end }}
|
||||
{{ $favicon = $favicon.RelPermalink}}
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
||||
|
||||
<!-- ============ import common css ========== -->
|
||||
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="/assets/css/style.css" />
|
||||
<link rel="stylesheet" href="/assets/css/navbar.css" />
|
||||
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/layouts/main.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/navigators/navbar.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/plyr.css" | relURL }}"/>
|
||||
<link rel="stylesheet" href="{{ "/css/flag-icon.min.css" | relURL }}"/>
|
||||
|
||||
<!--=================== cdn ==============================-->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Muli:wght@300;400;500;600" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" />
|
||||
|
||||
<!--================= fab-icon =========================-->
|
||||
<link rel="icon" type="image/png" href="/assets/images/favicon.png" />
|
||||
<link rel="icon" type="image/png" href="{{ $favicon }}" />
|
||||
|
||||
<!--================= custom style overrides =========================-->
|
||||
<link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"/>
|
||||
|
|
25
layouts/partials/helpers/add-navbar-separator.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
{{ $addNavbarSeparator:= false }}
|
||||
|
||||
{{/* If "blog" feature is enabled, then add navbar separator */}}
|
||||
{{ if site.Params.features.blog.enable }}
|
||||
{{ $addNavbarSeparator = true }}
|
||||
{{ end }}
|
||||
|
||||
{{/* If "notes" feature is enabled, then add navbar separator */}}
|
||||
{{ if site.Params.features.notes.enable }}
|
||||
{{ $addNavbarSeparator = true }}
|
||||
{{ end }}
|
||||
|
||||
{{/* If site has custom menus, then add navbar separator */}}
|
||||
{{ $customMenus := site.Params.customMenus }}
|
||||
{{ if (index site.Data site.Language.Lang).site.customMenus }}
|
||||
{{ $customMenus = (index site.Data site.Language.Lang).site.customMenus }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $customMenus }}
|
||||
{{ if gt (len $customMenus) 0 }}
|
||||
{{ $addNavbarSeparator = true }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ return $addNavbarSeparator }}
|
15
layouts/partials/helpers/country-code.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ $languageCode:= .Lang }}
|
||||
{{/* by default the language code and the country code are same */}}
|
||||
{{ $countryCode:= $languageCode }}
|
||||
|
||||
{{/* language code and country code are not same for some countries. we need to fix them. */}}
|
||||
{{ if eq $languageCode "en" }}
|
||||
{{ $countryCode = "gb" }}
|
||||
{{ else if eq $languageCode "bn" }}
|
||||
{{ $countryCode = "bd" }}
|
||||
{{ else if eq $languageCode "hi" }}
|
||||
{{ $countryCode = "in" }}
|
||||
{{ end }}
|
||||
|
||||
{{/* return the country code */}}
|
||||
{{ return $countryCode }}
|
|
@ -1,7 +1,15 @@
|
|||
{{ $authorImage:= "/assets/images/default-avatar.png"}}
|
||||
{{ if .Site.Data.site.author}}
|
||||
{{ $authorImage = .Site.Data.site.author.image | relURL }}
|
||||
{{ end}}
|
||||
{{ $author:= site.Data.author }}
|
||||
{{ if (index site.Data site.Language.Lang).author }}
|
||||
{{ $author = (index site.Data site.Language.Lang).author }}
|
||||
{{ end }}
|
||||
|
||||
{{/* default author image */}}
|
||||
{{ $authorImage:= "/images/default-avatar.png" }}
|
||||
{{ if $author.image }}
|
||||
{{ $authorImage = $author.image }}
|
||||
{{ end }}
|
||||
|
||||
{{/* if author image is provided in author's data, then use that */}}
|
||||
{{ if eq (printf "%T" .Params.author ) "maps.Params" }}
|
||||
{{ with .Params.author }}
|
||||
{{ if .image }}
|
||||
|
@ -9,4 +17,13 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ return $authorImage }}
|
||||
|
||||
{{/* apply image processing. don't use "Fit" in svg because its not supported */}}
|
||||
{{ $authorImage:= resources.Get $authorImage}}
|
||||
{{ if and $authorImage (ne $authorImage.MediaType.SubType "svg") }}
|
||||
{{ $authorImage := $authorImage.Fit "120x120" }}
|
||||
{{ end }}
|
||||
|
||||
{{/* return the author image link */}}
|
||||
{{ return $authorImage.RelPermalink }}
|
||||
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
{{ $authorName:= "John Doe"}}
|
||||
{{ if .Site.Data.site.author}}
|
||||
{{ $authorName = .Site.Data.site.author.name }}
|
||||
{{ end}}
|
||||
{{/* Uses the top level site's config for a single author across all locales */}}
|
||||
{{ $authorName:= site.Params.author.name }}
|
||||
|
||||
{{/* Overrides with the locale specifc author if provided */}}
|
||||
{{ if (index site.Data site.Language.Lang).author }}
|
||||
{{ $authorName = (index site.Data site.Language.Lang).author.name }}
|
||||
{{ end }}
|
||||
|
||||
{{/* Lastly, overrides with the post specific author if provided */}}
|
||||
{{ if eq (printf "%T" .Params.author ) "maps.Params" }}
|
||||
{{ with .Params.author }}
|
||||
{{ if .name }}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
{{ $categories:= ""}}
|
||||
{{ if .Params.categories }}
|
||||
{{ $categories = delimit .Params.categories "," }}
|
||||
{{ end }}
|
||||
{{ return $categories }}
|
|
@ -1,5 +1,24 @@
|
|||
{{ $heroImage:= "/assets/images/default-hero.jpg"}}
|
||||
{{ if .Params.hero }}
|
||||
{{ $heroImage = .Params.hero }}
|
||||
{{/* 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 }}
|
||||
{{ return $heroImage }}
|
||||
{{ .Scratch.Set "heroScratch" $heroImage }}
|
||||
|
||||
{{/* if hero image is not provided, then use the default hero image */}}
|
||||
{{ if not $heroImage }}
|
||||
{{ $heroImage := resources.Get "images/default-hero.jpg"}}
|
||||
{{ .Scratch.Set "heroScratch" $heroImage }}
|
||||
{{ end }}
|
||||
|
||||
{{ $heroImage := .Scratch.Get "heroScratch" }}
|
||||
|
||||
{{/* resize hero image. don't resize if the image is an svg */}}
|
||||
{{ if and $heroImage (ne $heroImage.MediaType.SubType "svg") }}
|
||||
{{ $heroImage := $heroImage.Resize "148x" }}
|
||||
{{ end }}
|
||||
|
||||
{{/* return the hero image */}}
|
||||
{{ return $heroImage.RelPermalink }}
|
||||
|
|
5
layouts/partials/helpers/get-section-id.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{{ $sectionID := replace (lower .section.name) " " "-" }}
|
||||
{{ if .section.id }}
|
||||
{{ $sectionID = .section.id }}
|
||||
{{ end }}
|
||||
{{ return $sectionID }}
|
|
@ -1,23 +0,0 @@
|
|||
<div class="container-fluid home" id="home">
|
||||
<div
|
||||
class="background container-fluid"
|
||||
style="background-image: url('{{ if .Site.Data.site.background }}{{ .Site.Data.site.background }}{{ else }}/assets/images/default-background.jpg{{ end }}');"
|
||||
></div>
|
||||
<div class="container content text-center">
|
||||
<img src="{{ if .Site.Data.site.author.image }}{{ .Site.Data.site.author.image }}{{ else }}/assets/images/default-avatar.png{{ end }}"
|
||||
class="rounded-circle mx-auto d-block img-fluid"
|
||||
/>
|
||||
<h1 class="greeting">Hi, I am {{ if .Site.Data.site.author.name }}{{ .Site.Data.site.author.name }}{{ else }}Jane Doe{{ end }}
|
||||
</h1>
|
||||
<div class="typing-carousel">
|
||||
<span id="ityped" class="ityped"></span>
|
||||
<span class="ityped-cursor"></span>
|
||||
</div>
|
||||
<ul id="typing-carousel-data">
|
||||
{{ range .Site.Data.site.author.summary }}
|
||||
<li>{{ . }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<a href="#about"><i class="arrow bounce fa fa-chevron-down"></i></a>
|
||||
</div>
|
||||
</div>
|