48 Commits

Author SHA1 Message Date
Emruz Hossain 3116d4366f Update theme.toml (#158) 2020-11-04 20:38:25 +00:00
Emruz Hossain 7a05e9b022 Improve theme README & exampleSite (#157)
* Improve theme README

* Update exampleSite

* Add "Available Translation" section in README
2020-11-05 02:11:32 +06:00
Cristian Marquez Russo b39ed5213e Added Spanish i18n (#152) 2020-11-05 01:45:35 +06:00
Emruz Hossain 26a590859c Update dependabot.yml
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2020-11-04 17:29:50 +06:00
dependabot[bot] 9d87e85b6e Bump actions/checkout from v2.3.3 to v2.3.4 (#155)
Bumps [actions/checkout](https://github.com/actions/checkout) from v2.3.3 to v2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.3...5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-04 06:50:54 +00:00
Emruz Hossain 1800fd2206 Add percy and build status badge 2020-11-03 23:27:47 +06:00
Emruz Hossain bae74a728f update badge colors 2020-11-03 04:06:45 +06:00
Emruz Hossain b3a8428dc5 Add new badges (#151) 2020-11-02 21:45:53 +00:00
Emruz Hossain 5e1e78c846 Update netlify badge link 2020-11-02 00:25:11 +06:00
Emruz Hossain e2abf24d86 Move .kodiak.toml into .github folder 2020-11-01 18:05:45 +06:00
github-actions[bot] 1b18284d1f Update and run autoprefixer (#149)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-11-01 11:56:09 +00:00
Emruz Hossain 9092918de7 Update workflows to use latest release instead of master branch (#148) 2020-11-01 17:55:36 +06:00
Emruz Hossain 90a85153c0 Remove submodules section from dependabot.yml (#147) 2020-11-01 17:47:37 +06:00
dependabot[bot] 7027d8b8d2 Bump actions/setup-node from v1 to v2.1.2 (#146)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.2.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...c6fd00ceb9747fb23ffdf72987450a2664414867)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-01 11:44:45 +00:00
Emruz Hossain 9af0ed1639 Add dependabot.yaml (#145) 2020-11-01 17:44:16 +06:00
Emruz Hossain 71d230bcda Fix language selector dropdown link 2020-11-01 16:37:32 +06:00
Emruz Hossain d5262c48cf Update readme 2020-11-01 03:22:59 +06:00
github-actions[bot] c65950666c Update and run autoprefixer (#143)
Co-authored-by: kodiakhq[bot] <kodiakhq[bot]@users.noreply.github.com>
2020-10-31 21:18:55 +00:00
Emruz Hossain 49ba62a9da Fix translation + navbar CSS (#142) 2020-10-31 21:15:37 +00:00
alex bezek beb9d55b95 Fix the nav item collapse and spy functionality (#138) 2020-10-31 21:35:23 +06:00
alex bezek 9ac57313ff Fix the get author name partial to account for localized author names (#141) 2020-10-31 21:30:23 +06:00
Emruz Hossain 32cd54d4cd Add status badge (#136) 2020-10-30 23:28:20 +00:00
Emruz Hossain 9ef86ed71d Add kodiak integration for automatically merge PR (#135) 2020-10-31 05:23:11 +06:00
github-actions[bot] 1d0985d14c Update and run autoprefixer (#134)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-10-31 04:39:18 +06:00
Richard Tirtadji 2e9affd5c0 Fixed post link error on sidebar (#125)
Co-authored-by: Richard Tirtadji <richardtirtadji@Richards-MacBook-Pro.local>
2020-10-31 04:35:25 +06:00
Emruz Hossain beed5ffbea Reorder categories in release drafter 2020-10-31 00:52:31 +06:00
Emruz Hossain 58f1585f23 Add 'New Translations` section in release notes (#133) 2020-10-31 00:48:11 +06:00
Dilek Üzülmez Taş c721779ddd Sidebar tree css selector fix #126 (#131) 2020-10-30 23:53:30 +06:00
Emruz Hossain 6ae1b73852 Change pull request name for autoprefixer workflow (#130) 2020-10-30 23:12:54 +06:00
github-actions[bot] 0628ba0d67 Add vendor specific CSS prefixes (#129)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-10-30 23:00:08 +06:00
Dilek Üzülmez Taş 1374b77fdc Prevent streching vertical images #44 (#128) 2020-10-30 22:52:31 +06:00
alex bezek d0c32c5d08 Fix the single template to use the authors avatar correctly (#107)
* Fix the single template to use the authors avatar correctly

* Replace absURL with relURL and .Site.X with site.X

Co-authored-by: Emruz Hossain <emruz@appscode.com>
2020-10-25 08:07:18 +06:00
github-actions[bot] 4d19b2f8d1 add vendor specific css prefixes (#123)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-10-24 23:45:50 +06:00
alex bezek 43d97217c2 Fix the site meta description to pull from the localized site data (#121) 2020-10-24 23:40:51 +06:00
Richard Tirtadji 47c4ef0251 Add Indonesian Language for Toha Themes (#118)
* Add Indonesian Language for Toha Themes #118

Co-authored-by: Richard Tirtadji <richardtirtadji@Richards-MacBook-Pro.local>
2020-10-22 23:32:01 +06:00
dadosch 33a68fc44f fix URLs when serving from a subdirectory (#120) 2020-10-22 23:27:04 +06:00
alex bezek 5bc4c2a406 Update readme with contributing guide and create github templates (#110) 2020-10-22 22:31:44 +06:00
alex bezek c85bcf8488 Add document data and aria attributes to collapse the nav bar in mobile when an item is clicked (#112) 2020-10-22 22:08:11 +06:00
github-actions[bot] 16b774c6eb add vendor specific css prefixes (#117)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-10-22 21:15:40 +06:00
zeldor fddd97e222 Update README.md (#116)
Fixed the url to the feature overview.
2020-10-22 21:12:44 +06:00
alex bezek c4743b17e0 add ios specific css for fixing the background images (#115)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2020-10-21 12:20:41 +06:00
alex bezek 52fbd819a4 Fix about section to pull author name correctly (#114)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2020-10-21 11:02:00 +06:00
github-actions[bot] 5d165e10c4 add vendor specific css prefixes (#109)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2020-10-20 10:37:14 +06:00
alex bezek 2f4bfcdf40 Fix the 404 nav bar to use the site configurable logo (#104)
Signed-off-by: Emruz Hossain <emruz@appscode.com>
2020-10-20 10:35:59 +06:00
Lukas Herzog bd8ca2fd72 change param from name to id (#99) 2020-10-14 08:58:19 +06:00
github-actions[bot] 68584d749e Add vendor specific CSS prefixes (#98)
Co-authored-by: hossainemruz <hossainemruz@users.noreply.github.com>
2020-10-13 18:07:52 +06:00
Lukas Herzog f9a3d3a49e German Translation (#97) 2020-10-13 18:06:07 +06:00
Emruz Hossain 1df947bed2 Fix release drafter 2020-10-11 21:11:39 +06:00
102 changed files with 2453 additions and 390 deletions
+19
View 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
View 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
View 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
View 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
View 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
View 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"
+8
View File
@@ -7,13 +7,19 @@ template: |
$CHANGES $CHANGES
This release note has been generated automatically by [Release Drafter](https://github.com/marketplace/actions/release-drafter). This release note has been generated automatically by [Release Drafter](https://github.com/marketplace/actions/release-drafter).
categories: categories:
- title: 'Breaking Changes' - title: 'Breaking Changes'
label: 'breaking-change' label: 'breaking-change'
- title: 'New Features & Enhancements' - title: 'New Features & Enhancements'
labels: labels:
- 'feature' - 'feature'
- 'enhancement' - 'enhancement'
- title: 'New Translations'
label: 'translation'
- title: 'Bug Fixes' - title: 'Bug Fixes'
labels: labels:
- 'bug' - 'bug'
@@ -22,11 +28,13 @@ categories:
version-resolver: version-resolver:
major: major:
labels: labels:
- 'breaking-change'
- 'breaking' - 'breaking'
minor: minor:
labels: labels:
- 'feature' - 'feature'
- 'enhancement' - 'enhancement'
- 'translation'
patch: patch:
labels: labels:
- 'bug' - 'bug'
+7 -7
View File
@@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout to latest commit - name: Checkout to latest commit
uses: actions/checkout@v2 uses: actions/checkout@v2.3.4
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v2.1.2
with: with:
node-version: "12.x" node-version: "15.x"
- name: Run autoprefixer - name: Run autoprefixer
run: | run: |
@@ -21,15 +21,15 @@ jobs:
npm run autoprefixer npm run autoprefixer
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v3 uses: peter-evans/create-pull-request@v3.4.1
with: with:
branch: autoprefixer branch: autoprefixer
branch-suffix: timestamp branch-suffix: timestamp
commit-message: add vendor specific css prefixes commit-message: add vendor specific css prefixes
title: "Add vendor specific CSS prefixes" title: "Update and run autoprefixer"
body: | body: |
This PR adds vendor specific CSS prefixes using [postcss/autoprefixer](https://github.com/postcss/autoprefixer). 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). >This PR has been created automatically by Github Action [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).
labels: enhancement labels: "enhancement,automerge"
reviewers: hossainemruz reviewers: hossainemruz
+3 -2
View File
@@ -1,5 +1,5 @@
name: Release Drafter name: Release Drafter
# Run action on push in mater branch
on: on:
push: push:
branches: branches:
@@ -9,6 +9,7 @@ jobs:
update_release_draft: update_release_draft:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: release-drafter/release-drafter@master # Create/Update release draft
- uses: release-drafter/release-drafter@v5.12.1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+13
View 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
+1
View File
@@ -1,2 +1,3 @@
.vscode/ .vscode/
node_modules/ node_modules/
.DS_Store
+134 -76
View File
@@ -1,57 +1,85 @@
# Toha # Toha
[![Netlify Status](https://api.netlify.com/api/v1/badges/b1b93b02-f278-440b-ae1b-304e9f4c4ab5/deploy-status)](https://app.netlify.com/sites/toha/deploys) [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fhugo-toha%2Ftoha%2Fbadge%3Fref%3Dmaster&style=flat)](https://actions-badge.atrox.dev/hugo-toha/toha/goto?ref=master) ![Repository Size](https://img.shields.io/github/repo-size/hugo-toha/toha) ![Lines of Codes](https://img.shields.io/tokei/lines/github/hugo-toha/toha) ![Contributor](https://img.shields.io/github/contributors/hugo-toha/toha) ![Latest Release](https://img.shields.io/github/v/release/hugo-toha/toha?include_prereleases) ![Last Commit](https://img.shields.io/github/last-commit/hugo-toha/toha) ![Open Issues](https://img.shields.io/github/issues/hugo-toha/toha?color=important) ![Open Pull Requests](https://img.shields.io/github/issues-pr/hugo-toha/toha?color=yellowgreen) ![License](https://img.shields.io/github/license/hugo-toha/toha) ![Security Headers](https://img.shields.io/security-headers?url=https%3A%2F%2Fhugo-toha.github.io%2F) [![This project is using Percy.io for visual regression testing.](https://percy.io/static/images/percy-badge.svg)](https://percy.io/b7cb60ab/hugo-toha.github.io)
A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist design and responsiveness. A [Hugo](https://gohugo.io/) theme for a personal portfolio with minimalist design and responsiveness.
![Thumbnail](https://github.com/hossainemruz/toha/blob/master/images/tn.png) ![Thumbnail](https://raw.githubusercontent.com/hugo-toha/toha/master/images/screenshot.png)
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 ## Features
- Minimalist Design - Minimalist Design
- Fully Responsive - Fully Responsive
- Carefully designed cards - Multiple Language Support
- Great Experience timeline - Carefully Designed Cards
- Achievement gallery - Experience Timeline
- Sidebar to categorize posts - Achievement Gallery
- Sidebar to Categorize the Posts
- Short Codes - Short Codes
- Google Analytics Support - Google Analytics Support
- Disqus Comment 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
- Spanish
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 screenshot from the [example site](https://hugo-toha.github.io).
##### Home Page Sections
![Home Page Sections](https://raw.githubusercontent.com/hugo-toha/toha/master/images/about.png)
##### List Page
![List Page](https://raw.githubusercontent.com/hugo-toha/toha/master/images/list.png)
##### Reading Page
![Reading Page](https://raw.githubusercontent.com/hugo-toha/toha/master/images/single.png)
## Requirements ## Requirements
- Hugo Version 0.68.0 or higher - 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 ```console
hugo new site my-site -f=yaml $ git submodule add https://github.com/hugo-toha/toha.git themes/toha
cd my-site
git init
```
- Add the theme as git sub-module
```console
git submodule add https://github.com/hossainemruz/toha.git themes/toha
``` ```
>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. >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.
If you want to customize the theme templates, then fork it and use the fork as your theme. 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/).
## Configuration #### Configuring Site
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 ```yaml
baseURL: http://example.org/ baseURL: https://hugo-toha.github.io
languageCode: en-us languageCode: en-us
title: "Toha" title: "John's Blog"
theme: "toha" theme: "toha"
# Manage languages # Manage languages
@@ -60,52 +88,23 @@ languages:
en: en:
languageName: English languageName: English
weight: 1 weight: 1
fr:
languageName: Français
weight: 2
bn:
languageName: বাংলা
weight: 3
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks. # Control TOC depth
# DefaultContentLanguage: fr
# Allow raw html in markdown file
markup: markup:
goldmark:
renderer:
unsafe: true
tableOfContents: tableOfContents:
startLevel: 2 startLevel: 2
endLevel: 6 endLevel: 6
ordered: false ordered: false
# Enable Google Analytics
googleAnalytics: UA-XXXXXXXXX-X
# Enable Disqus forum
disqusShortname: does-not-exist
# Enable global emoji support # Enable global emoji support
enableEmoji: true enableEmoji: true
# Custom parameters # Site parameters
params: params:
# background image of the landing page
background: "images/background.jpg"
# Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar.
# It will be default to the theme logos if not provided.
logo:
main: assets/images/main-logo.png
inverted: assets/images/inverted-logo.png
favicon: assets/images/favicon.png
# GitHub repo URL of your site # GitHub repo URL of your site
gitRepo: https://github.com/hossainemruz/toha-example-site gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
# specify whether you want to write blog post or not # specify whether you want to write some blog posts or not
enableBlogPost: true enableBlogPost: true
# specify whether you want to show Table of Contents in reading page # specify whether you want to show Table of Contents in reading page
@@ -117,31 +116,26 @@ params:
enable: true 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/).
If you want to customize the any of the CSS styles on your site, create a #### Running Locally
`static/assets/css/style.css` file and add any custom CSS there.
## Usage Now, you can run your hugo site with `toha` theme locally with the following command:
Run your hugo site with this theme.
```console ```console
hugo server -w $ hugo server -t toha -w
``` ```
When you first run your site, it will start with the default parameters. It should look similar to the [example site](https://toha.netlify.app) except it will not have any sections in the homepage. Those sections are added via some data files. 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/).
You can configure your site by following the step by step guides from [here](https://toha.netlify.app/posts/configuration/).
## Shortcodes ## Shortcodes
Here, are some handy shortcodes you can use with this theme. Here, are some handy shortcodes you can use with this theme.
- [img](https://toha.netlify.app/posts/short-codes/img/) - [Alert](https://toha-guides.netlify.app/posts/short-codes/alert/)
- [split](https://toha.netlify.app/posts/short-codes/split/) - [Image](https://toha-guides.netlify.app/posts/short-codes/img/)
- [vs](https://toha.netlify.app/posts/short-codes/vs/) - [Split](https://toha-guides.netlify.app/posts/short-codes/split/)
- [alert](https://toha.netlify.app/posts/short-codes/alert/) - [Vertical Space](https://toha-guides.netlify.app/posts/short-codes/vs/)
## Project Roadmap ## Project Roadmap
@@ -185,6 +179,14 @@ Here, are the current plan and progress of various components of this theme. The
- [x] **Recent Posts** - [x] **Recent Posts**
- [ ] **Academic Career**
- [ ] Degree
- [ ] Institution
- [ ] Timeline
- [ ] Taken Courses
- [ ] CGPA
- [ ] Extracurricular Activities
- [ ] **Publications** - [ ] **Publications**
- [ ] Category Filter - [ ] Category Filter
- [ ] Card - [ ] Card
@@ -212,10 +214,11 @@ Here, are the current plan and progress of various components of this theme. The
- [x] Hero Image - [x] Hero Image
- [x] Author Information - [x] Author Information
- [x] Sidebar
- [x] Table of Contents
- [x] Next & Previous Page Navigation - [x] Next & Previous Page Navigation
- [x] `Improve This Page` Button - [x] `Improve This Page` Button
- [x] Disqus Comment - [x] Disqus Comment
- [x] Option to navigate to list page
### Tracking and Comments ### Tracking and Comments
@@ -233,16 +236,71 @@ Here, are the current plan and progress of various components of this theme. The
## Contributing ## 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 simple.
- Keep it consistent with the design. - Keep it consistent with the design.
- Use as little dependency as possible. - Use as few dependencies as possible.
- Have patient. - 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 `master` branch of [hugo-toha/toha](https://github.com/hugo-toha/toha) from the `my-feature-branch` branch of your own fork.
## Attribution ## Attribution
+21 -12
View File
@@ -9,12 +9,21 @@ languages:
en: en:
languageName: English languageName: English
weight: 1 weight: 1
fr:
languageName: Français
weight: 2
bn: bn:
languageName: বাংলা languageName: বাংলা
weight: 2
fr:
languageName: Français
weight: 3 weight: 3
id:
languageName: Indonesian
weight: 4
de:
languageName: Deutsch
weight: 5
es:
languageName: Spanish
weight: 6
# Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks. # Force a locale to be use, really useful to develop the application ! Should be commented in production, the "weight" should rocks.
# DefaultContentLanguage: fr # DefaultContentLanguage: fr
@@ -38,23 +47,23 @@ disqusShortname: does-not-exist
# Enable global emoji support # Enable global emoji support
enableEmoji: true enableEmoji: true
# Custom parameters # Site parameters
params: params:
# background image of the landing page # Background image of the landing page
background: "images/background.jpg" background: /images/site/background.jpg
# Provide logos for your site. The inverted logo will be used in the initial # Provide logos for your site. The inverted logo will be used in the initial
# transparent navbar and the main logo will be used in the non-transparent navbar. # transparent navbar and the main logo will be used in the non-transparent navbar.
# It will be default to the theme logos if not provided. # It will default to the theme logos if not provided.
logo: logo:
main: assets/images/main-logo.png main: /images/site/main-logo.png
inverted: assets/images/inverted-logo.png inverted: /images/site/inverted-logo.png
favicon: assets/images/favicon.png favicon: /images/site/favicon.png
# GitHub repo URL of your site # GitHub repo URL of your site
gitRepo: https://github.com/hossainemruz/toha-example-site gitRepo: https://github.com/hugo-toha/hugo-toha.github.io
# specify whether you want to write blog post or not # specify whether you want to write some blog posts or not
enableBlogPost: true enableBlogPost: true
# specify whether you want to show Table of Contents in reading page # specify whether you want to show Table of Contents in reading page
+5 -5
View File
@@ -1,13 +1,13 @@
# some information about you # some information about you
name: "জেইন ডো" name: "জন ডো"
nickname: "জেইন" nickname: "জন"
# greeting message before your name. it will default to "Hi! I am" if not provided # greeting message before your name. it will default to "Hi! I am" if not provided
greeting: "হ্যালো, আমি হলাম" greeting: "হ্যালো, আমি হলাম"
image: "images/avatar.png" image: "images/author/john.png"
# give your some contact information. they will be used in the footer # give your some contact information. they will be used in the footer
contactInfo: contactInfo:
email: "janedoe@example.com" ইমেইল: "johndoe@example.com"
phone: "+0123456789" ফোন: "+0123456789"
# some summary about what you do # some summary about what you do
summary: summary:
+1 -1
View File
@@ -18,7 +18,7 @@ company:
resume: "files/resume.pdf" resume: "files/resume.pdf"
# a summary about you # 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.' summary: 'আমি X বছর অভিজ্ঞতা সম্পন্ন একজন দক্ষ সফটওয়্যার ইঞ্জিনিয়ার । আমি Go ভাষা ব্যবহার করে [Kubernetes](https://kubernetes.io/) এর জন্য ওপেন সোর্স টুল তৈরি করি । মাঝে মাঝে আমি থিম বানানোর মত মজার প্রোজেক্ট নিয়ে কাজ করি ।'
# your social links # your social links
# give as many as you want. use font-awesome for the icons. # give as many as you want. use font-awesome for the icons.
+12 -12
View File
@@ -11,15 +11,15 @@ section:
# Your achievements achievements # Your achievements achievements
achievements: achievements:
- title: Best Presenter - title: সেরা উপস্থাপক
image: images/achievements/presenter.jpg image: /images/sections/achievements/presenter.jpg
summary: Best presenter in the 2020 XYZ conference. summary: 2020 XYZ কনফারেন্স এ সেরা উপস্থাপক
- title: Champion - title: বিজয়ী
image: images/achievements/sport.jpg image: /images/sections/achievements/sport.jpg
summary: Champion in cycling inter-city cycling championship 2020. summary: আন্তঃ শহর সাইক্লিং প্রতিযোগিতা ২০২০ এ বিজয়ী
- title: Graduation - title: গ্রাজুয়েশন
image: images/achievements/graduation-cap.jpg image: /images/sections/achievements/graduation-cap.jpg
summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University. summary: XYZ ইউনিভার্সিটি থেকে কম্পিউটার বিজ্ঞানে স্নাতক সম্পন্ন করেছি
- title: Award Winner - title: পুরুস্কার বিজয়ী
image: images/achievements/woman-winner.jpg image: /images/sections/achievements/woman-winner.jpg
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? summary: IEE Conference 2020 এ সেরা গবেষণাপত্রের পুরষ্কার বিজয়ী হয়েছি
+20 -20
View File
@@ -14,52 +14,52 @@ experiences:
- company: - company:
name: Example Co. name: Example Co.
url: "https://www.example.com" url: "https://www.example.com"
location: Dhaka Branch location: ঢাকা ব্রাঞ্চ
# company overview # company overview
overview: Example Co. is a widely recognized company for cloud-native development. It builds tools for Kubernetes. overview: Example Co. হচ্ছে ক্লাউড নেটিভ ডেভেলপমেন্টের জন্যে একটি স্বীকৃত প্রতিষ্ঠান । এটি Kubernetes এর জন্যে বিভিন্ন সফটওয়্যার বানায়।
positions: positions:
- designation: Senior Software Engineer - designation: সিনিয়র সফটওয়্যার ইঞ্জিনিয়ার
start: Nov 2019 start: Nov 2019
# don't provide end date if you are currently working there. It will be replaced by "Present" # don't provide end date if you are currently working there. It will be replaced by "Present"
# end: Dec 2020 # end: Dec 2020
# give some points about what was your responsibilities at the company. # give some points about what was your responsibilities at the company.
responsibilities: responsibilities:
- Design and develop XYZ tool for ABC task - ABC কাজের জন্য XYZ টুল ডিজাইন ও ডেভেলপ করা ।
- Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases, and cluster's resource definition. - Kubernetes এর ভলিউম, ডাটাবেজ ইত্যাদি ব্যাকআপ নেওয়ার জন্যে বিপর্যয় পুনরুদ্ধার টুল ডিজাইন, ডেভেলপ এবং পরিচালনা করা।
- Lead backend team. - বাকেন্ড টিমের নেতৃত্ব দেওয়া।
- designation: Junior Software Engineer - designation: জুনিয়র সফটওয়্যার ইঞ্জিনিয়ার
start: Nov 2017 start: Nov 2017
end: Oct 2019 end: Oct 2019
responsibilities: responsibilities:
- Implement and test xyz feature for abc tool. - ABC টুল এর জন্য XYZ ফিচার বাস্তবায়ন করা এবং টেস্ট করা।
- Support client for abc tool. - ABC টুলের ক্লায়েন্ট সাপোর্ট দেওয়া।
- Learn k,d,w technology for xyz. - XYZ এর জন্য K, D, W টেকনোলজি শিখা।
- company: - company:
name: PreExample Co. name: PreExample Co.
url: "https://www.preexample.com" url: "https://www.preexample.com"
location: Nowhere location: Nowhere
overview: PreExample Co. is a gateway company to enter into Example co. So, nothing special here. overview: PreExample Co. হচ্ছে Example co. তে যাওয়ার মাধ্যম। সুতারাং, এখানে বিশেষ কিছু নেই।
positions: positions:
- designation: Software Engineer - designation: সফটওয়্যার ইঞ্জিনিয়ার
start: March 2016 start: March 2016
end: May 2017 end: May 2017
responsibilities: responsibilities:
- Write lots of example codes. - প্রচুর পরিমাণে উদাহারন কোড লিখা ।
- Read lots of examples. - প্রচুর পরিমাণে উদাহারন পড়া।
- See lots of example videos. - প্রচুর পরিমাণে উদাহারন ভিডিও দেখা ।
- company: - company:
name: Intern Counting Company (ICC). name: Intern Counting Company (ICC).
url: "https://www.intern.com" url: "https://www.intern.com"
location: Intern Land location: Intern Land
overview: Intern counting Company (ICC) is responsible for counting worldwide intern Engineers. overview: Intern counting Company (ICC) বিশ্বব্যাপী ইন্টার্ন ইঞ্জিনিয়ারদের গণনার জন্য দায়ী ।
positions: positions:
- designation: Intern - designation: ইন্টার্ন
start: Jun 2015 start: Jun 2015
end: Jan 2016 end: Jan 2016
responsibilities: responsibilities:
- Count lost of interns. - প্রচুর ইন্টার্ন গণনা করা।
- Count more interns. - আরও ইন্টার্ন গণনা করা।
- Count me as an intern. - নিজেকে ইন্টার্ন হিসেবে গণনা করা ।
+8 -8
View File
@@ -11,19 +11,19 @@ section:
# filter buttons # filter buttons
buttons: buttons:
- name: All - name: সব বিষয়
filter: "all" filter: "all"
- name: Professional - name: প্রোফেসনাল
filter: "professional" filter: "professional"
- name: Academic - name: প্রাতিষ্ঠানিক
filter: "academic" filter: "academic"
- name: Hobby - name: শখের প্রোজেক্ট
filter: "hobby" filter: "hobby"
# your projects # your projects
projects: projects:
- name: Kubernetes - name: Kubernetes
logo: images/projects/kubernetes.png logo: /images/sections/projects/kubernetes.png
role: Contributor role: Contributor
timeline: "March 2018 - Present" timeline: "March 2018 - Present"
repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count. repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count.
@@ -32,7 +32,7 @@ projects:
tags: ["professional", "kubernetes", "cloud"] tags: ["professional", "kubernetes", "cloud"]
- name: Tensorflow - name: Tensorflow
logo: images/projects/tensorflow.png logo: /images/sections/projects/tensorflow.png
role: Developer role: Developer
timeline: "Jun 2018 - Present" timeline: "Jun 2018 - Present"
repo: https://github.com/tensorflow/tensorflow repo: https://github.com/tensorflow/tensorflow
@@ -48,7 +48,7 @@ projects:
tags: ["academic","iot"] tags: ["academic","iot"]
- name: Nocode - name: Nocode
logo: images/projects/no-code.png logo: /images/sections/projects/no-code.png
role: Nothing role: Nothing
timeline: "Oct 2019 - Dec 2019" timeline: "Oct 2019 - Dec 2019"
repo: https://github.com/kelseyhightower/nocode repo: https://github.com/kelseyhightower/nocode
@@ -57,7 +57,7 @@ projects:
tags: ["hobby", "fun"] tags: ["hobby", "fun"]
- name: Toha - name: Toha
logo: images/projects/toha.png logo: /images/sections/projects/toha.png
role: Owner role: Owner
timeline: "Jun 2019 - Present" timeline: "Jun 2019 - Present"
repo: https://github.com/hossainemruz/toha repo: https://github.com/hossainemruz/toha
+20 -20
View File
@@ -13,38 +13,38 @@ section:
# Give a summary of you each skill in the summary section. # Give a summary of you each skill in the summary section.
skills: skills:
- name: Kubernetes - name: Kubernetes
icon: "images/skills/kubernetes.png" icon: "/images/sections/skills/kubernetes.png"
summary: "Capable of deploying, managing application on Kubernetes. Experienced in writing Kubernetes controllers for CRDs." summary: "আমি Kubernetes এ অ্যাপ্লিকেশান পরিচালনা করতে সক্ষম । আমার Kubernetes এ CRD এর জন্য কন্ট্রোলার লিখার অভিজ্ঞতা আছে ।"
url: "https://kubernetes.io/" url: "https://kubernetes.io/"
- name: Go Development - name: Go ডেভেলপমেন্ট
icon: "images/skills/go.png" icon: "/images/sections/skills/go.png"
summary: "Using as the main language for professional development. Capable of writing scalable, testable, and maintainable program." summary: "ডেভেলপমেন্টের জন্য প্রধান ভাষা হিসেবে ব্যবহার করছি। টেস্ট যোগ্য, রক্ষণাবেক্ষণ যোগ্য কোড লিখতে সক্ষম।"
url: "https://golang.org/" url: "https://golang.org/"
- name: Cloud Computing - name: ক্লাউড কম্পিউটিং
icon: "images/skills/cloud.png" icon: "/images/sections/skills/cloud.png"
summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc." summary: "GCP, AWS, Azure গুলোর মত বেশিরভাগ বড় বড় ক্লাউড নিয়ে কাজর অভিজ্ঞতা আছে।"
- name: Docker - name: Docker
icon: "images/skills/docker.svg" icon: "/images/sections/skills/docker.svg"
summary: "Write most of the programs as dockerized container. Experienced with multi-stage, multi-arch build process." summary: "বেশির ভাগ প্রোগ্রামেরই Docker কন্টেইনার তৈরি করি। মাল্টি স্টেজ এবং মাল্টি আর্কিটেকচার কন্টেইনার নিয়ে অভিজ্ঞতা আছে।"
url: "https://www.docker.com/" url: "https://www.docker.com/"
- name: Prometheus - name: Prometheus
icon: "images/skills/prometheus.png" icon: "/images/sections/skills/prometheus.png"
summary: "Capable of setup, configure Prometheus metrics. Experienced with PromQL, AlertManager. Also, experienced with writing metric exporters." summary: "Prometheus metrics সেটআপ ও কনফিগার করতে সক্ষম। PromQL, AlertManager নিয়ে অভিজ্ঞতা আছে। Metric exporters লিখাতেও অভিজ্ঞতা আছে।"
url: "https://prometheus.io/" url: "https://prometheus.io/"
- name: Linux - name: লিনাক্স
icon: "images/skills/linux.png" icon: "/images/sections/skills/linux.png"
summary: "Using as the main operating system. Capable of writing bash/shell scripts." summary: "প্রধান অপারেটিং সিস্টেম হিসেবে ব্যবহার করছি। bash/shell scripts লিখতে সক্ষম।"
- name: Git - name: গিট
icon: "images/skills/git.png" icon: "/images/sections/skills/git.png"
summary: "Experienced with git-based development. Mostly, use Github. Also, have experience in working with GitLab." summary: "গিট ভিত্তিক ডেভেলপমেন্টের অভিজ্ঞতা আছে। বেশির ভাগ ক্ষেতরেই GitHub ব্যবহার করি তবে GitLab ব্যবহারেরও অভিজ্ঞতা আছে।"
url: "https://git-scm.com/" url: "https://git-scm.com/"
- name: C++ - name: C++
icon: "images/skills/c++.png" icon: "/images/sections/skills/c++.png"
summary: "Know basic C/C++ programming. Used for contest programming and problem solving." summary: "বেসিক C/C++ প্রোগ্রামিং জানি । প্রব্লেম সল্ভিং এবং কন্টেস্ট এর জন্য ব্যবহার করেছি।"
+3 -3
View File
@@ -2,10 +2,10 @@
copyright: © 2020 Copyright. copyright: © 2020 Copyright.
# Meta description for your site. This will help the search engines to find your site. # Meta description for your site. This will help the search engines to find your site.
description: Portfolio and personal blog of Jane Doe. description: জন ডো এর বাক্তিগত পোর্টফোলিও ও ব্লগ.
# specify the list of custom menus that you want to show in the top navbar. # specify the list of custom menus that you want to show in the top navbar.
# they will be separated by a divider from the main menus. # they will be separated by a divider from the main menus.
customMenus: customMenus:
- name: নোটসমুহ - name: ডকুমেন্টেশন
url: https://hossainemruz.gitbook.io/ url: https://toha-guides.netlify.app/posts/
+4 -4
View File
@@ -1,12 +1,12 @@
# some information about you # some information about you
name: "Jane Doe" name: "John Doe"
nickname: "Jane" nickname: "John"
# greeting message before your name. it will default to "Hi! I am" if not provided # greeting message before your name. it will default to "Hi! I am" if not provided
greeting: "Hi, I am" greeting: "Hi, I am"
image: "images/avatar.png" image: "images/author/john.png"
# give your some contact information. they will be used in the footer # give your some contact information. they will be used in the footer
contactInfo: contactInfo:
email: "janedoe@example.com" email: "johndoe@example.com"
phone: "+0123456789" phone: "+0123456789"
# some summary about what you do # some summary about what you do
@@ -11,14 +11,14 @@ section:
# Your achievements achievements # Your achievements achievements
achievements: achievements:
- title: Best Presenter - title: Best Presenter
image: images/achievements/presenter.jpg image: /images/sections/achievements/presenter.jpg
summary: Best presenter in the 2020 XYZ conference. summary: Best presenter in the 2020 XYZ conference.
- title: Champion - title: Champion
image: images/achievements/sport.jpg image: /images/sections/achievements/sport.jpg
summary: Champion in cycling inter-city cycling championship 2020. summary: Champion in cycling inter-city cycling championship 2020.
- title: Graduation - title: Graduation
image: images/achievements/graduation-cap.jpg image: /images/sections/achievements/graduation-cap.jpg
summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University. summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University.
- title: Award Winner - title: Award Winner
image: images/achievements/woman-winner.jpg image: /images/sections/achievements/woman-winner.jpg
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? summary: Wined best paper award at IEE Conference 2020.
+4 -4
View File
@@ -22,7 +22,7 @@ buttons:
# your projects # your projects
projects: projects:
- name: Kubernetes - name: Kubernetes
logo: images/projects/kubernetes.png logo: /images/sections/projects/kubernetes.png
role: Contributor role: Contributor
timeline: "March 2018 - Present" timeline: "March 2018 - Present"
repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count. repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count.
@@ -31,7 +31,7 @@ projects:
tags: ["professional", "kubernetes", "cloud"] tags: ["professional", "kubernetes", "cloud"]
- name: Tensorflow - name: Tensorflow
logo: images/projects/tensorflow.png logo: /images/sections/projects/tensorflow.png
role: Developer role: Developer
timeline: "Jun 2018 - Present" timeline: "Jun 2018 - Present"
repo: https://github.com/tensorflow/tensorflow repo: https://github.com/tensorflow/tensorflow
@@ -47,7 +47,7 @@ projects:
tags: ["academic","iot"] tags: ["academic","iot"]
- name: Nocode - name: Nocode
logo: images/projects/no-code.png logo: /images/sections/projects/no-code.png
role: Nothing role: Nothing
timeline: "Oct 2019 - Dec 2019" timeline: "Oct 2019 - Dec 2019"
repo: https://github.com/kelseyhightower/nocode repo: https://github.com/kelseyhightower/nocode
@@ -56,7 +56,7 @@ projects:
tags: ["hobby", "fun"] tags: ["hobby", "fun"]
- name: Toha - name: Toha
logo: images/projects/toha.png logo: /images/sections/projects/toha.png
role: Owner role: Owner
timeline: "Jun 2019 - Present" timeline: "Jun 2019 - Present"
repo: https://github.com/hossainemruz/toha repo: https://github.com/hossainemruz/toha
+8 -8
View File
@@ -12,38 +12,38 @@ section:
# Give a summary of you each skill in the summary section. # Give a summary of you each skill in the summary section.
skills: skills:
- name: Kubernetes - name: Kubernetes
icon: "images/skills/kubernetes.png" icon: "/images/sections/skills/kubernetes.png"
summary: "Capable of deploying, managing application on Kubernetes. Experienced in writing Kubernetes controllers for CRDs." summary: "Capable of deploying, managing application on Kubernetes. Experienced in writing Kubernetes controllers for CRDs."
url: "https://kubernetes.io/" url: "https://kubernetes.io/"
- name: Go Development - name: Go Development
icon: "images/skills/go.png" icon: "/images/sections/skills/go.png"
summary: "Using as the main language for professional development. Capable of writing scalable, testable, and maintainable program." summary: "Using as the main language for professional development. Capable of writing scalable, testable, and maintainable program."
url: "https://golang.org/" url: "https://golang.org/"
- name: Cloud Computing - name: Cloud Computing
icon: "images/skills/cloud.png" icon: "/images/sections/skills/cloud.png"
summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc." summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc."
- name: Docker - name: Docker
icon: "images/skills/docker.svg" icon: "/images/sections/skills/docker.svg"
summary: "Write most of the programs as dockerized container. Experienced with multi-stage, multi-arch build process." summary: "Write most of the programs as dockerized container. Experienced with multi-stage, multi-arch build process."
url: "https://www.docker.com/" url: "https://www.docker.com/"
- name: Prometheus - name: Prometheus
icon: "images/skills/prometheus.png" icon: "/images/sections/skills/prometheus.png"
summary: "Capable of setup, configure Prometheus metrics. Experienced with PromQL, AlertManager. Also, experienced with writing metric exporters." summary: "Capable of setup, configure Prometheus metrics. Experienced with PromQL, AlertManager. Also, experienced with writing metric exporters."
url: "https://prometheus.io/" url: "https://prometheus.io/"
- name: Linux - name: Linux
icon: "images/skills/linux.png" icon: "/images/sections/skills/linux.png"
summary: "Using as the main operating system. Capable of writing bash/shell scripts." summary: "Using as the main operating system. Capable of writing bash/shell scripts."
- name: Git - name: Git
icon: "images/skills/git.png" icon: "/images/sections/skills/git.png"
summary: "Experienced with git-based development. Mostly, use Github. Also, have experience in working with GitLab." summary: "Experienced with git-based development. Mostly, use Github. Also, have experience in working with GitLab."
url: "https://git-scm.com/" url: "https://git-scm.com/"
- name: C++ - name: C++
icon: "images/skills/c++.png" icon: "/images/sections/skills/c++.png"
summary: "Know basic C/C++ programming. Used for contest programming and problem solving." summary: "Know basic C/C++ programming. Used for contest programming and problem solving."
+3 -3
View File
@@ -2,10 +2,10 @@
copyright: © 2020 Copyright. copyright: © 2020 Copyright.
# Meta description for your site. This will help the search engines to find your site. # Meta description for your site. This will help the search engines to find your site.
description: Portfolio and personal blog of Jane Doe. description: Portfolio and personal blog of John Doe.
# specify the list of custom menus that you want to show in the top navbar. # specify the list of custom menus that you want to show in the top navbar.
# they will be separated by a divider from the main menus. # they will be separated by a divider from the main menus.
customMenus: customMenus:
- name: Notes - name: Docs
url: https://hossainemruz.gitbook.io/ url: https://toha-guides.netlify.app/posts/
+5 -4
View File
@@ -1,13 +1,14 @@
name: "Jane Doe" # some information about you
nickname: "Jane" name: "John Doe"
image: "images/avatar.png" nickname: "John"
# greeting message before your name. it will default to "Hi! I am" if not provided # greeting message before your name. it will default to "Hi! I am" if not provided
greeting: "Bonjour, je suis" greeting: "Bonjour, je suis"
image: "images/author/john.png"
# give your some contact information. they will be used in the footer # give your some contact information. they will be used in the footer
contactInfo: contactInfo:
email: "janedoe@example.com" email: "johndoe@example.com"
phone: "+0123456789" phone: "+0123456789"
# some summary about what you do # some summary about what you do
@@ -12,14 +12,14 @@ section:
# Your achievements achievements # Your achievements achievements
achievements: achievements:
- title: Meilleur présentateur - title: Meilleur présentateur
image: images/achievements/presenter.jpg image: /images/sections/achievements/presenter.jpg
summary: Meilleur présentateur de la conférence XYZ 2020. summary: Meilleur présentateur de la conférence XYZ 2020.
- title: Champion - title: Champion
image: images/achievements/sport.jpg image: /images/sections/achievements/sport.jpg
summary: Champion du championnat cycliste interurbain 2020. summary: Champion du championnat cycliste interurbain 2020.
- title: Remise des diplômes - title: Remise des diplômes
image: images/achievements/graduation-cap.jpg image: /images/sections/achievements/graduation-cap.jpg
summary: J'ai obtenu une licence en sciences (B.Sc.) en informatique et en ingénierie à l'université XYZ. summary: J'ai obtenu une licence en sciences (B.Sc.) en informatique et en ingénierie à l'université XYZ.
- title: Lauréat du prix - title: Lauréat du prix
image: images/achievements/woman-winner.jpg image: /images/sections/achievements/woman-winner.jpg
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero? summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero?
+4 -4
View File
@@ -23,7 +23,7 @@ buttons:
# your projects # your projects
projects: projects:
- name: Kubernetes - name: Kubernetes
logo: images/projects/kubernetes.png logo: /images/sections/projects/kubernetes.png
role: Contributeur role: Contributeur
timeline: "Mars 2018 - Présent" timeline: "Mars 2018 - Présent"
repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count. repo: https://github.com/kubernetes/kubernetes # If your project is a public repo on GitHub, then provide this link. it will show star count.
@@ -32,7 +32,7 @@ projects:
tags: ["professionnel", "kubernetes", "cloud"] tags: ["professionnel", "kubernetes", "cloud"]
- name: Tensorflow - name: Tensorflow
logo: images/projects/tensorflow.png logo: /images/sections/projects/tensorflow.png
role: Développeur role: Développeur
timeline: "Juin 2018 - Présent" timeline: "Juin 2018 - Présent"
repo: https://github.com/tensorflow/tensorflow repo: https://github.com/tensorflow/tensorflow
@@ -48,7 +48,7 @@ projects:
tags: ["ecole","iot"] tags: ["ecole","iot"]
- name: Nocode - name: Nocode
logo: images/projects/no-code.png logo: /images/sections/projects/no-code.png
role: Rien role: Rien
timeline: "Oct 2019 - Dec 2019" timeline: "Oct 2019 - Dec 2019"
repo: https://github.com/kelseyhightower/nocode repo: https://github.com/kelseyhightower/nocode
@@ -57,7 +57,7 @@ projects:
tags: ["hobby", "fun"] tags: ["hobby", "fun"]
- name: Toha - name: Toha
logo: images/projects/toha.png logo: /images/sections/projects/toha.png
role: Owner role: Owner
timeline: "Juin 2019 - Présent" timeline: "Juin 2019 - Présent"
repo: https://github.com/hossainemruz/toha repo: https://github.com/hossainemruz/toha
+8 -8
View File
@@ -13,38 +13,38 @@ section:
# Give a summary of you each skill in the summary section. # Give a summary of you each skill in the summary section.
skills: skills:
- name: Kubernetes - name: Kubernetes
icon: "images/skills/kubernetes.png" icon: "/images/sections/skills/kubernetes.png"
summary: "Capable de déployer, de gérer l'application sur Kubernetes. Expérimenté dans la rédaction de contrôleurs Kubernetes pour les CRD." summary: "Capable de déployer, de gérer l'application sur Kubernetes. Expérimenté dans la rédaction de contrôleurs Kubernetes pour les CRD."
url: "https://kubernetes.io/" url: "https://kubernetes.io/"
- name: Go - name: Go
icon: "images/skills/go.png" icon: "/images/sections/skills/go.png"
summary: "Utiliser comme langue principale pour le développement professionnel. Capable d'écrire des programmes évolutifs, testables et maintenables." summary: "Utiliser comme langue principale pour le développement professionnel. Capable d'écrire des programmes évolutifs, testables et maintenables."
url: "https://golang.org/" url: "https://golang.org/"
- name: Cloud Computing - name: Cloud Computing
icon: "images/skills/cloud.png" icon: "/images/sections/skills/cloud.png"
summary: "A travaillé avec la plupart des principaux nuages tels que GCP, AWS, Azure, etc." summary: "A travaillé avec la plupart des principaux nuages tels que GCP, AWS, Azure, etc."
- name: Docker - name: Docker
icon: "images/skills/docker.svg" icon: "/images/sections/skills/docker.svg"
summary: "Inscrivez la plupart des programmes en tant que conteneur déchargé. Expérimenté dans le processus de construction en plusieurs étapes et en plusieurs arcs." summary: "Inscrivez la plupart des programmes en tant que conteneur déchargé. Expérimenté dans le processus de construction en plusieurs étapes et en plusieurs arcs."
url: "https://www.docker.com/" url: "https://www.docker.com/"
- name: Prometheus - name: Prometheus
icon: "images/skills/prometheus.png" icon: "/images/sections/skills/prometheus.png"
summary: "Capable d'installation, de configurer les métriques de Prometheus. Expérimenté avec PromQL, AlertManager. Expérimenté également dans la rédaction d'exportateurs de métriques." summary: "Capable d'installation, de configurer les métriques de Prometheus. Expérimenté avec PromQL, AlertManager. Expérimenté également dans la rédaction d'exportateurs de métriques."
url: "https://prometheus.io/" url: "https://prometheus.io/"
- name: Linux - name: Linux
icon: "images/skills/linux.png" icon: "/images/sections/skills/linux.png"
summary: "Utilisé comme système d'exploitation principal. Capable d'écrire des scripts bash/shell." summary: "Utilisé comme système d'exploitation principal. Capable d'écrire des scripts bash/shell."
- name: Git - name: Git
icon: "images/skills/git.png" icon: "/images/sections/skills/git.png"
summary: "Expérimenté dans le développement basé sur les GIT. Surtout, utilisez Github. Avoir également une expérience de travail avec GitLab." summary: "Expérimenté dans le développement basé sur les GIT. Surtout, utilisez Github. Avoir également une expérience de travail avec GitLab."
url: "https://git-scm.com/" url: "https://git-scm.com/"
- name: C++ - name: C++
icon: "images/skills/c++.png" icon: "/images/sections/skills/c++.png"
summary: "Connaître les bases de la programmation C/C++. Utilisé pour la programmation de concours et la résolution de problèmes." summary: "Connaître les bases de la programmation C/C++. Utilisé pour la programmation de concours et la résolution de problèmes."
+2 -2
View File
@@ -7,5 +7,5 @@ description: Portfolio et blog personnel de Jane Doe.
# specify the list of custom menus that you want to show in the top navbar. # specify the list of custom menus that you want to show in the top navbar.
# they will be separated by a divider from the main menus. # they will be separated by a divider from the main menus.
customMenus: customMenus:
- name: Remarques - name: Docs
url: https://hossainemruz.gitbook.io/ url: https://toha-guides.netlify.app/posts/
+18
View File
@@ -0,0 +1,18 @@
# some information about you
name: "John Doe"
nickname: "John"
# greeting message before your name. it will default to "Hi! I am" if not provided
greeting: "Halo, saya"
image: "images/author/john.png"
# give your some contact information. they will be used in the footer
contactInfo:
email: "johndoe@example.com"
phone: "+0123456789"
# some summary about what you do
summary:
- Saya seorang developer
- Saya mengerjakan System
- Saya suka dengan servers
- Saya melakukan projek open-source
- Projek-projek yang seru sangat menarik buat saya
+78
View File
@@ -0,0 +1,78 @@
# section information
section:
name: Tentang Saya
id: about
enable: true
weight: 1
showOnNavbar: true
template: sections/about.html
# your designation
designation: Programmer
# 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: 'Saya seorang insinyur perangkat lunak yang bersemangat dengan pengalaman kerja x tahun. Saya membuat alat OSS untuk [Kubernetes] (https://kubernetes.io/) menggunakan GO. Alat saya membantu orang untuk menyebarkan beban kerja mereka di Kubernetes. Terkadang, saya mengerjakan beberapa proyek menyenangkan seperti menulis tema, dll.'
# 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 colors: blue, yellow, pink, green, sky, orange
softSkills:
- name: Kepemimpinan
percentage: 85
color: blue
- name: Bekerja dengan Tim
percentage: 90
color: yellow
- name: Komunikasi
percentage: 85
color: pink
- name: Kerja Keras
percentage: 85
color: green
- name: Belajar Cepat
percentage: 85
color: sky
- name: Menyelesaikan Masalah
percentage: 85
color: orange
# you can also provide color code instead of pre-defined color name
# - name: Example 1
# percentage: 75
# color: "#00adb5"
# - name: Example 2
# percentage: 65
# color: "#8b8383"
@@ -0,0 +1,24 @@
# section information
section:
name: Presentasi
id: achievements
enable: true
weight: 6
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# Your achievements achievements
achievements:
- title: Presenter Terbaik
image: /images/sections/achievements/presenter.jpg
summary: Best presenter in the 2020 XYZ conference.
- title: Juara
image: /images/sections/achievements/sport.jpg
summary: Champion in cycling inter-city cycling championship 2020.
- title: Wisuda
image: /images/sections/achievements/graduation-cap.jpg
summary: Received Bachelor of Science (B.Sc.) in Computer Science and Engineer from XYZ University.
- title: Pemenang Award
image: /images/sections/achievements/woman-winner.jpg
summary: Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus architecto minus facere vero?
@@ -0,0 +1,64 @@
# section information
section:
name: Pengalaman
id: experiences
enable: true
weight: 3
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# Your experiences
experiences:
- company:
name: Example Co.
url: "https://www.example.com"
location: Dhaka Branch
# company overview
overview: Example Co. adalah perusahaan yang dikenal luas untuk pengembangan cloud-native. Itu membangun alat untuk Kubernetes.
positions:
- designation: Senior Software Engineer
start: Nov 2019
# 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 and develop XYZ tool for ABC task
- Design, develop and manage disaster recovery tool [Xtool](https://www.example.com) that backup Kubernetes volumes, databases, and cluster's resource definition.
- Lead backend team.
- designation: Junior Software Engineer
start: Nov 2017
end: Okt 2019
responsibilities:
- Implement and test xyz feature for abc tool.
- Support client for abc tool.
- Learn k,d,w technology for xyz.
- company:
name: PreExample Co.
url: "https://www.preexample.com"
location: Nowhere
overview: PreExample Co. adalah perusahaan gateway untuk masuk ke Example co. Jadi, tidak ada yang istimewa di sini.
positions:
- designation: Software Engineer
start: Maret 2016
end: Mei 2017
responsibilities:
- Write lots of example codes.
- Read lots of examples.
- See lots of example videos.
- company:
name: Intern Counting Company (ICC).
url: "https://www.intern.com"
location: Intern Land
overview: Perusahaan penghitung magang (ICC) bertanggung jawab untuk menghitung Insinyur magang di seluruh dunia.
positions:
- designation: Intern
start: Jun 2015
end: Jan 2016
responsibilities:
- Count lost of interns.
- Count more interns.
- Count me as an intern.
@@ -0,0 +1,64 @@
# section information
section:
name: Projek
id: projects
enable: true
weight: 4
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# filter buttons
buttons:
- name: All
filter: "all"
- name: Profesional
filter: "profesional"
- name: Akademik
filter: "akademik"
- name: Hobi
filter: "hob1"
# your projects
projects:
- name: Kubernetes
logo: /images/sections/projects/kubernetes.png
role: Contributor
timeline: "March 2018 - Present"
repo: https://github.com/kubernetes/kubernetes # If your project is a 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/sections/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/sections/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/sections/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"]
@@ -0,0 +1,11 @@
# section information
section:
name: Artikel Akhir
id: recent-posts
enable: true
weight: 5
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# no additional configuration is required
+49
View File
@@ -0,0 +1,49 @@
# section information
section:
name: Keahlian
id: skills
enable: true
weight: 2
showOnNavbar: true
# Can optionally hide the title in sections
# hideTitle: true
# Your Skills.
# Give a summary of you each skill in the summary section.
skills:
- name: Kubernetes
icon: "/images/sections/skills/kubernetes.png"
summary: "Mampu menerapkan, mengelola aplikasi di Kubernetes. Berpengalaman dalam menulis pengontrol Kubernetes untuk CRD."
url: "https://kubernetes.io/"
- name: Go Development
icon: "/images/sections/skills/go.png"
summary: "Menggunakan sebagai bahasa utama untuk pengembangan profesional. Mampu menulis program yang dapat diskalakan, dapat diuji, dan dipelihara."
url: "https://golang.org/"
- name: Cloud Computing
icon: "/images/sections/skills/cloud.png"
summary: "Worked with most of the major clouds such as GCP, AWS, Azure etc."
- name: Docker
icon: "/images/sections/skills/docker.svg"
summary: "Tulis sebagian besar program sebagai kontainer docker. Berpengalaman dengan proses pembangunan multi-tahap dan multi-arch."
url: "https://www.docker.com/"
- name: Prometheus
icon: "/images/sections/skills/prometheus.png"
summary: "Mampu mengatur, mengkonfigurasi metrik Prometheus. Berpengalaman dengan PromQL, AlertManager. Juga, berpengalaman dengan eksportir menulis metrik."
url: "https://prometheus.io/"
- name: Linux
icon: "/images/sections/skills/linux.png"
summary: "Menggunakan sebagai sistem operasi utama. Mampu menulis skrip bash / shell."
- name: Git
icon: "/images/sections/skills/git.png"
summary: "Berpengalaman dengan pengembangan berbasis git. Kebanyakan, gunakan Github. Juga, miliki pengalaman bekerja dengan GitLab."
url: "https://git-scm.com/"
- name: C++
icon: "/images/sections/skills/c++.png"
summary: "Ketahui pemrograman C / C ++ dasar. Digunakan untuk pemrograman kontes dan pemecahan masalah."
+11
View File
@@ -0,0 +1,11 @@
# Copyright Notice
copyright: © 2020 Copyright.
# Meta description for your site. This will help the search engines to find your site.
description: Portofolio dan blog pribadi dari Jane Doe.
# specify the list of custom menus that you want to show in the top navbar.
# they will be separated by a divider from the main menus.
customMenus:
- name: Docs
url: https://toha-guides.netlify.app/posts/
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Before

Width:  |  Height:  |  Size: 385 KiB

After

Width:  |  Height:  |  Size: 385 KiB

Before

Width:  |  Height:  |  Size: 97 KiB

After

Width:  |  Height:  |  Size: 97 KiB

Before

Width:  |  Height:  |  Size: 142 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Before

Width:  |  Height:  |  Size: 280 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

+18
View File
@@ -5,6 +5,9 @@ other = "হোম"
[posts] [posts]
other = "পোষ্ট সমূহ" other = "পোষ্ট সমূহ"
[toc_heading]
other = "সুচিপত্র"
[resume] [resume]
other = "আমার জীবনবৃত্তান্ত" other = "আমার জীবনবৃত্তান্ত"
@@ -14,6 +17,12 @@ other = "নেভিগেশন"
[contact_me] [contact_me]
other = "আমার সাথে যোগাযোগ করুনঃ" other = "আমার সাথে যোগাযোগ করুনঃ"
[email]
other = "ইমেইল"
[phone]
other = "ফোন"
[newsletter_text] [newsletter_text]
other = "ইমেইল নোটিফিকেশান এর মাধ্যমে সর্বশেষ তথ্য জানুন" other = "ইমেইল নোটিফিকেশান এর মাধ্যমে সর্বশেষ তথ্য জানুন"
@@ -28,3 +37,12 @@ other = "জমা দিন"
[hugoAttributionText] [hugoAttributionText]
other = "পাওয়ারড বাই" other = "পাওয়ারড বাই"
[prev]
other = "পূর্ববর্তী"
[next]
other = "পরবর্তী"
[improve_this_page]
other = "এই পৃষ্ঠাটি উন্নত করুন"
+51
View File
@@ -0,0 +1,51 @@
# More documentation here: https://github.com/nicksnyder/go-i18n
[home]
other = "Home"
[posts]
other = "Beiträge"
[toc_heading]
other = "Inhoudsopgave"
[at]
other = "bei"
[resume]
other = "Mein Lebenslauf"
[navigation]
other = "Navigation"
[contact_me]
other = "Kontakt aufnehmen"
[email]
other = "E-mail"
[phone]
other = "Telefoon"
[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 = "Powered by"
[prev]
other = "Vorige"
[next]
other = "De volgende"
[improve_this_page]
other = "Verbeter deze pagina"
+21
View File
@@ -5,6 +5,12 @@ other = "Home"
[posts] [posts]
other = "Posts" other = "Posts"
[toc_heading]
other = "Table of Contents"
[at]
other = "at"
[resume] [resume]
other = "My resume" other = "My resume"
@@ -14,6 +20,12 @@ other = "Navigation"
[contact_me] [contact_me]
other = "Contact me:" other = "Contact me:"
[email]
other = "Email"
[phone]
other = "Phone"
[newsletter_text] [newsletter_text]
other = "Stay up to date with email notification" other = "Stay up to date with email notification"
@@ -28,3 +40,12 @@ other = "Submit"
[hugoAttributionText] [hugoAttributionText]
other = "Powered by" other = "Powered by"
[prev]
other = "Prev"
[next]
other = "Next"
[improve_this_page]
other = "Improve this page"
+51
View File
@@ -0,0 +1,51 @@
# 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"
+21
View File
@@ -5,6 +5,12 @@ other = "Accueil"
[posts] [posts]
other = "Des postes" other = "Des postes"
[toc_heading]
other = "Table des matières"
[at]
other = "chez"
[resume] [resume]
other = "Mon Curriculum vitæ" other = "Mon Curriculum vitæ"
@@ -14,6 +20,12 @@ other = "Naviguation"
[contact_me] [contact_me]
other = "Contactez moi :" other = "Contactez moi :"
[email]
other = "Email"
[phone]
other = "Téléphone"
[newsletter_text] [newsletter_text]
other = "Restez à jour par e-mail" other = "Restez à jour par e-mail"
@@ -28,3 +40,12 @@ other = "Envoyer"
[hugoAttributionText] [hugoAttributionText]
other = "Alimenté par" other = "Alimenté par"
[prev]
other = "Précédent"
[next]
other = "Suivant"
[improve_this_page]
other = "Améliorez cette page"
+51
View File
@@ -0,0 +1,51 @@
# 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"
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 389 KiB

After

Width:  |  Height:  |  Size: 698 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 127 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 344 KiB

+3 -3
View File
@@ -1,15 +1,15 @@
{{ define "header" }} {{ define "header" }}
<link rel="stylesheet" href="/assets/css/404.css"> <link rel="stylesheet" href="{{ "/assets/css/404.css" | relURL }}">
{{ end }} {{ end }}
{{ define "navbar" }} {{ define "navbar" }}
{{ partial "navigators/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 }} {{ end }}
{{ define "content" }} {{ define "content" }}
<div class="container"> <div class="container">
<div class="notFound"> <div class="notFound">
<img src="/assets/images/404.png" alt=""> <img src="{{ "/assets/images/404.png" | relURL }}" alt="">
<div class="message"> <div class="message">
<h1>404</h1> <h1>404</h1>
<h4>The page you are looking for is not there yet.</h4> <h4>The page you are looking for is not there yet.</h4>
+1 -1
View File
@@ -9,7 +9,7 @@
{{ block "header" . }} {{ end }} {{ block "header" . }} {{ end }}
<!-- ADD GOOGLE ANALYTICS IF ENABLED --> <!-- ADD GOOGLE ANALYTICS IF ENABLED -->
{{ if .Site.GoogleAnalytics }} {{ if site.GoogleAnalytics }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
{{ end }} {{ end }}
</head> </head>
+5 -5
View File
@@ -1,6 +1,6 @@
{{ define "header" }} {{ define "header" }}
<link rel="stylesheet" href="/assets/css/layouts/list.css"> <link rel="stylesheet" href="{{ "/assets/css/layouts/list.css" | relURL }}">
<link rel="stylesheet" href="/assets/css/navigators/sidebar.css"> <link rel="stylesheet" href="{{ "/assets/css/navigators/sidebar.css" | relURL}}">
{{ end }} {{ end }}
{{ define "navbar" }} {{ define "navbar" }}
@@ -19,9 +19,9 @@
<input type="text" value="" placeholder="Search" data-search="" id="search-box" /> <input type="text" value="" placeholder="Search" data-search="" id="search-box" />
<div class="sidebar-tree"> <div class="sidebar-tree">
<ul class="tree" id="tree"> <ul class="tree" id="tree">
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}posts" data-filter="all">Posts</a></li> <li id="list-heading"><a href="{{ "/posts" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
<div class="subtree"> <div class="subtree">
{{ partial "navigators/sidebar.html" (dict "menus" .Site.Menus.sidebar "ctx" .) }} {{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
</div> </div>
</ul> </ul>
</div> </div>
@@ -47,5 +47,5 @@
{{ end }} {{ end }}
{{ define "scripts" }} {{ define "scripts" }}
<script src="/assets/js/list.js"></script> <script src="{{ "/assets/js/list.js" | relURL }}"></script>
{{ end }} {{ end }}
+12 -12
View File
@@ -4,8 +4,8 @@
rel="stylesheet" rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/atom-one-dark.min.css"
/> />
<link rel="stylesheet" href="/assets/css/layouts/single.css" /> <link rel="stylesheet" href="{{ "/assets/css/layouts/single.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/navigators/sidebar.css"> <link rel="stylesheet" href="{{ "/assets/css/navigators/sidebar.css" | relURL }}">
{{ end }} {{ end }}
{{ define "navbar" }} {{ define "navbar" }}
@@ -19,9 +19,9 @@
<input type="text" value="" placeholder="Search" data-search="" id="search-box" /> <input type="text" value="" placeholder="Search" data-search="" id="search-box" />
<div class="sidebar-tree"> <div class="sidebar-tree">
<ul class="tree" id="tree"> <ul class="tree" id="tree">
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}posts" data-filter="all">Posts</a></li> <li id="list-heading"><a href="{{ "/posts" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
<div class="subtree"> <div class="subtree">
{{ partial "navigators/sidebar.html" (dict "menus" .Site.Menus.sidebar "ctx" .) }} {{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
</div> </div>
</ul> </ul>
</div> </div>
@@ -35,13 +35,13 @@
<div class="content"> <div class="content">
<div class="container p-0 read-area"> <div class="container p-0 read-area">
<!--Hero 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 class="hero-area col-sm-12" id="hero-area" style='background-image: url({{ strings.TrimSuffix "/" site.BaseURL }}{{ partial "helpers/get-hero.html" . | relURL }});'>
</div> </div>
<!--Content Start--> <!--Content Start-->
<div class="page-content"> <div class="page-content">
<div class="author-profile ml-auto align-self-lg-center"> <div class="author-profile ml-auto align-self-lg-center">
<img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . }}'/> <img class="rounded-circle" src='{{ partial "helpers/get-author-image.html" . | relURL }}'/>
<h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5> <h5 class="author-name">{{ partial "helpers/get-author-name.html" . }}</h5>
<p>{{ .Page.Date.Format "January 2, 2006" }}</p> <p>{{ .Page.Date.Format "January 2, 2006" }}</p>
</div> </div>
@@ -55,11 +55,11 @@
</div> </div>
<!--- Improve this page button ---> <!--- Improve this page button --->
{{ if .Site.Params.GitRepo }} {{ if site.Params.GitRepo }}
<div class="btn-improve-page"> <div class="btn-improve-page">
<a href="{{ .Site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}"> <a href="{{ site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
<i class="fas fa-code-branch"></i> <i class="fas fa-code-branch"></i>
Improve This Page {{ i18n "improve_this_page" }}
</a> </a>
</div> </div>
{{ end }} {{ end }}
@@ -69,7 +69,7 @@
{{ partial "navigators/next-prev-navigator.html" . }} {{ partial "navigators/next-prev-navigator.html" . }}
<hr /> <hr />
<!-- Add Disqus forum --> <!-- Add Disqus forum -->
{{ if .Site.DisqusShortname }} {{ if site.DisqusShortname }}
{{ partial "disqus.html" . }} {{ partial "disqus.html" . }}
{{ end }} {{ end }}
</div> </div>
@@ -85,7 +85,7 @@
<section class="toc-section" id="toc-section"> <section class="toc-section" id="toc-section">
{{ if site.Params.enableTOC }} {{ if site.Params.enableTOC }}
<div class="toc-holder"> <div class="toc-holder">
<h5 class="text-center pl-3">Table of Contents</h5> <h5 class="text-center pl-3">{{ i18n "toc_heading" }}</h5>
<hr> <hr>
<div class="toc"> <div class="toc">
{{ .TableOfContents }} {{ .TableOfContents }}
@@ -97,7 +97,7 @@
{{ define "scripts" }} {{ define "scripts" }}
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> <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="{{ "/assets/js/single.js" | relURL }}"></script>
<script> <script>
hljs.initHighlightingOnLoad(); hljs.initHighlightingOnLoad();
</script> </script>
+25 -17
View File
@@ -2,21 +2,29 @@
<html lang="en"> <html lang="en">
<head> <head>
<title>{{- .Site.Title -}}</title> <title>{{- .Site.Title -}}</title>
<meta name="description" content="{{ .Site.Params.description }}" /> {{ $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 --> <!-- import common headers -->
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
<!-- import index page specific headers --> <!-- import index page specific headers -->
<link rel="stylesheet" href="/assets/css/sections/home.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/home.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/about.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/about.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/skills.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/skills.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/experiences.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/experiences.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/projects.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/projects.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/recent-posts.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/recent-posts.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/sections/achievements.css" /> <link rel="stylesheet" href="{{ "/assets/css/sections/achievements.css" | relURL }}"/>
<!-- Add Google Analytics if enabled in configuration --> <!-- Add Google Analytics if enabled in configuration -->
{{ if .Site.GoogleAnalytics }} {{ if site.GoogleAnalytics }}
{{ template "_internal/google_analytics_async.html" . }} {{ template "_internal/google_analytics_async.html" . }}
{{ end }} {{ end }}
</head> </head>
@@ -29,9 +37,9 @@
{{- partial "sections/home.html" . -}} {{- partial "sections/home.html" . -}}
<!--- ADD OPTIONAL SECTIONS -----------> <!--- ADD OPTIONAL SECTIONS ----------->
{{ $sections:= .Site.Data.sections }} {{ $sections:= site.Data.sections }}
{{ if (index .Site.Data .Site.Language.Lang).sections }} {{ if (index site.Data site.Language.Lang).sections }}
{{ $sections = (index .Site.Data .Site.Language.Lang).sections }} {{ $sections = (index site.Data site.Language.Lang).sections }}
{{ end }} {{ end }}
{{ if $sections }} {{ if $sections }}
@@ -42,7 +50,7 @@
{{ if .section.template }} {{ if .section.template }}
{{- partial .section.template . -}} {{- partial .section.template . -}}
{{ else }} {{ else }}
{{- partial (printf "sections/%s.html" (replace (lower .section.name) " " "-")) . -}} {{- partial (printf "sections/%s.html" (replace (lower .section.id) " " "-")) . -}}
{{ end }} {{ end }}
</div> </div>
<!--- alter background color for next section ---> <!--- alter background color for next section --->
@@ -62,9 +70,9 @@
{{ partial "scripts.html" . }} {{ partial "scripts.html" . }}
<!--- ADD INDEX PAGE SPECIFIC SCRIPTS --> <!--- ADD INDEX PAGE SPECIFIC SCRIPTS -->
<script src="/assets/js/itype.min.js"></script> <script src="{{ "/assets/js/itype.min.js" | relURL }}"></script>
<script src="/assets/js/github-button.js"></script> <script src="{{ "/assets/js/github-button.js" | relURL }}"></script>
<script src="/assets/js/home.js"></script> <script src="{{ "/assets/js/home.js" | relURL }}"></script>
<script src="/assets/js/jquery.filterizr.min.js"></script> <script src="{{ "/assets/js/jquery.filterizr.min.js" | relURL }}"></script>
</body> </body>
</html> </html>
+1 -1
View File
@@ -8,7 +8,7 @@
<div> <div>
<div class="d-flex"> <div class="d-flex">
{{ if .logo }} {{ if .logo }}
<img class="card-img-xs" src="{{ .logo | absURL }}" alt="{{ .name }}" /> <img class="card-img-xs" src="{{ .logo | relURL }}" alt="{{ .name }}" />
{{ end }} {{ end }}
<h5 class="card-title mb-0">{{ .name }}</h5> <h5 class="card-title mb-0">{{ .name }}</h5>
</div> </div>
+1 -1
View File
@@ -3,7 +3,7 @@
<div class="card"> <div class="card">
<div class="card-head d-flex"> <div class="card-head d-flex">
{{ if .icon }} {{ if .icon }}
<img class="card-img-xs" src="{{ .icon | absURL }}" alt="{{ .name }}" /> <img class="card-img-xs" src="{{ .icon | relURL }}" alt="{{ .name }}" />
{{ end }} {{ end }}
<h5 class="card-title">{{ .name }}</h5> <h5 class="card-title">{{ .name }}</h5>
</div> </div>
+1 -1
View File
@@ -8,7 +8,7 @@
var dsq = document.createElement("script"); var dsq = document.createElement("script");
dsq.type = "text/javascript"; dsq.type = "text/javascript";
dsq.async = true; dsq.async = true;
var disqus_shortname = "{{ .Site.DisqusShortname }}"; var disqus_shortname = "{{ site.DisqusShortname }}";
dsq.src = "//" + disqus_shortname + ".disqus.com/embed.js"; dsq.src = "//" + disqus_shortname + ".disqus.com/embed.js";
( (
document.getElementsByTagName("head")[0] || document.getElementsByTagName("head")[0] ||
+11 -11
View File
@@ -1,16 +1,16 @@
{{ $author:= .Site.Data.author }} {{ $author:= site.Data.author }}
{{ if (index .Site.Data .Site.Language.Lang).author }} {{ if (index site.Data site.Language.Lang).author }}
{{ $author = (index .Site.Data .Site.Language.Lang).author }} {{ $author = (index site.Data site.Language.Lang).author }}
{{ end }} {{ end }}
{{ $sections:= .Site.Data.sections }} {{ $sections:= site.Data.sections }}
{{ if (index .Site.Data .Site.Language.Lang).sections }} {{ if (index site.Data site.Language.Lang).sections }}
{{ $sections = (index .Site.Data .Site.Language.Lang).sections }} {{ $sections = (index site.Data site.Language.Lang).sections }}
{{ end }} {{ end }}
{{ $copyrightNotice := "© 2020 Copyright."}} {{ $copyrightNotice := "© 2020 Copyright."}}
{{ if (index .Site.Data .Site.Language.Lang).site }} {{ if (index site.Data site.Language.Lang).site }}
{{ $siteConfig := (index .Site.Data .Site.Language.Lang).site }} {{ $siteConfig := (index site.Data site.Language.Lang).site }}
{{ if $siteConfig.copyright }} {{ if $siteConfig.copyright }}
{{ $copyrightNotice = $siteConfig.copyright }} {{ $copyrightNotice = $siteConfig.copyright }}
{{ end }} {{ end }}
@@ -48,7 +48,7 @@
</ul> </ul>
</div> </div>
{{ end }} {{ end }}
{{ if .Site.Params.newsletter.enable }} {{ if site.Params.newsletter.enable }}
<div class="col-md-4 col-sm-12"> <div class="col-md-4 col-sm-12">
<!-- <h5>Newsletter</h5> --> <!-- <h5>Newsletter</h5> -->
<p>{{ i18n "newsletter_text" }}</p> <p>{{ i18n "newsletter_text" }}</p>
@@ -76,7 +76,7 @@
<div class="row text-left"> <div class="row text-left">
<div class="col-md-4"> <div class="col-md-4">
<a id="theme" href="https://github.com/hossainemruz/toha" target="#"> <a id="theme" href="https://github.com/hossainemruz/toha" target="#">
<img src="/assets/images/inverted-logo.png"> <img src="{{ "/assets/images/inverted-logo.png" | relURL }}">
Toha Toha
</a> </a>
</div> </div>
@@ -84,7 +84,7 @@
<div class="col-md-4 text-right"> <div class="col-md-4 text-right">
<a id="hugo" href="https://gohugo.io/">{{ i18n "hugoAttributionText" }} <a id="hugo" href="https://gohugo.io/">{{ i18n "hugoAttributionText" }}
<img <img
src="/assets/images/hugo-logo-wide.svg" src="{{ "/assets/images/hugo-logo-wide.svg" | relURL }}"
alt="Hugo Logo" alt="Hugo Logo"
height="18" height="18"
/> />
+6 -6
View File
@@ -3,17 +3,17 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- ============ import common css ========== --> <!-- ============ import common css ========== -->
<link rel="stylesheet" href="/assets/css/bootstrap.min.css" /> <link rel="stylesheet" href="{{ "/assets/css/bootstrap.min.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/layouts/main.css" /> <link rel="stylesheet" href="{{ "/assets/css/layouts/main.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/style.css" /> <link rel="stylesheet" href="{{ "/assets/css/style.css" | relURL }}"/>
<link rel="stylesheet" href="/assets/css/navigators/navbar.css" /> <link rel="stylesheet" href="{{ "/assets/css/navigators/navbar.css" | relURL }}"/>
<!--=================== cdn ==============================--> <!--=================== cdn ==============================-->
<link href="https://fonts.googleapis.com/css2?family=Muli:wght@300;400;500;600" rel="stylesheet"> <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" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css" />
<!--================= fab-icon =========================--> <!--================= fab-icon =========================-->
<link rel="icon" type="image/png" href="{{ .Site.Params.logo.favicon | default "/assets/images/favicon.png" | absURL }}" /> <link rel="icon" type="image/png" href="{{ site.Params.logo.favicon | default "/assets/images/favicon.png" | relURL }}" />
<!--================= custom style overrides =========================--> <!--================= custom style overrides =========================-->
<link rel="stylesheet" href="/assets/css/style.css" /> <link rel="stylesheet" href="{{ "/assets/css/style.css" | relURL }}"/>
@@ -1,7 +1,12 @@
{{ $authorImage:= "/assets/images/default-avatar.png"}} {{ $author:= site.Data.author }}
{{ if .Site.Data.site.author}} {{ if (index site.Data site.Language.Lang).author }}
{{ $authorImage = .Site.Data.site.author.image | relURL }} {{ $author = (index site.Data site.Language.Lang).author }}
{{ end }} {{ end }}
{{ $authorImage:= "/assets/images/default-avatar.png" }}
{{ if $author.image }}
{{ $authorImage = $author.image }}
{{ end }}
{{ if eq (printf "%T" .Params.author ) "maps.Params" }} {{ if eq (printf "%T" .Params.author ) "maps.Params" }}
{{ with .Params.author }} {{ with .Params.author }}
{{ if .image }} {{ if .image }}
@@ -1,7 +1,12 @@
{{ $authorName:= .Site.Params.author.name }} {{/* Uses the top level site's config for a single author across all locales */}}
{{ if .Site.Data.site.author}} {{ $authorName:= site.Params.author.name }}
{{ $authorName = .Site.Data.site.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 }} {{ end }}
{{/* Lastly, overrides with the post specific author if provided */}}
{{ if eq (printf "%T" .Params.author ) "maps.Params" }} {{ if eq (printf "%T" .Params.author ) "maps.Params" }}
{{ with .Params.author }} {{ with .Params.author }}
{{ if .name }} {{ if .name }}
@@ -1,12 +1,12 @@
{{ $pageURL:= .RelPermalink }} {{ $pageURL:= .RelPermalink }}
{{ if .Site.IsMultiLingual }} {{ if site.IsMultiLingual }}
{{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }} {{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }}
{{ end }} {{ end }}
<div class="dropdown languageSelector"> <div class="dropdown languageSelector">
<a class="btn dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="btn dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png"> <img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png">
{{ .Site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range .Translations }} {{ range .Translations }}
@@ -1,12 +1,12 @@
{{ $pageURL:= .RelPermalink }} {{ $pageURL:= .RelPermalink }}
{{ if .Site.IsMultiLingual }} {{ if site.IsMultiLingual }}
{{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }} {{ $pageURL = strings.TrimPrefix (path.Join "/" .Language.Lang) $pageURL }}
{{ end }} {{ end }}
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png"> <img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png">
{{ .Site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range .Translations }} {{ range .Translations }}
@@ -1,11 +1,11 @@
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" id="languageSelector" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png"> <img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/16.png">
{{ .Site.Language.LanguageName }} {{ site.Language.LanguageName }}
</a> </a>
<div class="dropdown-menu" aria-labelledby="languageSelector"> <div class="dropdown-menu" aria-labelledby="languageSelector">
{{ range $.Site.Home.AllTranslations }} {{ range site.Home.AllTranslations }}
<a class="dropdown-item nav-link languages-item" href="{{ .Permalink }}"> <a class="dropdown-item nav-link languages-item" href="{{ .RelPermalink }}">
<img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/24.png"> <img class="flag" src="https://www.countryflags.io/{{ partial "helpers/country-code.html" .Language }}/flat/24.png">
{{ .Language.LanguageName }} {{ .Language.LanguageName }}
</a> </a>
+9 -9
View File
@@ -1,10 +1,10 @@
{{ $mainLogo:="assets/images/main-logo.png" }} {{ $mainLogo:="/assets/images/main-logo.png" }}
{{ $invertedLogo:="assets/images/inverted-logo.png" }} {{ $invertedLogo:="/assets/images/inverted-logo.png" }}
{{ if .Site.Params.logo.main }} {{ if site.Params.logo.main }}
{{ $mainLogo = .Site.Params.logo.main }} {{ $mainLogo = site.Params.logo.main }}
{{ end }} {{ end }}
{{ if .Site.Params.logo.inverted }} {{ if site.Params.logo.inverted }}
{{ $invertedLogo = .Site.Params.logo.inverted }} {{ $invertedLogo = site.Params.logo.inverted }}
{{ end }} {{ end }}
<nav class="navbar navbar-expand-xl top-navbar final-navbar shadow"> <nav class="navbar navbar-expand-xl top-navbar final-navbar shadow">
@@ -13,7 +13,7 @@
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<a class="navbar-brand" href="{{ site.BaseURL | relLangURL }}"> <a class="navbar-brand" href="{{ site.BaseURL | relLangURL }}">
<img src="{{ $mainLogo | absURL }}"> <img src="{{ $mainLogo | relURL }}">
{{- site.Title -}} {{- site.Title -}}
</a> </a>
<button class="navbar-toggler navbar-light" id="toc-toggler" type="button" onclick="toggleTOC()"> <button class="navbar-toggler navbar-light" id="toc-toggler" type="button" onclick="toggleTOC()">
@@ -29,6 +29,6 @@
</div> </div>
</div> </div>
<!-- Store the logo information in a hidden img for the JS --> <!-- Store the logo information in a hidden img for the JS -->
<img src="{{ $mainLogo | absURL }}" class="d-none" id="main-logo"> <img src="{{ $mainLogo | relURL }}" class="d-none" id="main-logo">
<img src="{{ $invertedLogo | absURL }}" class="d-none" id="inverted-logo"> <img src="{{ $invertedLogo | relURL }}" class="d-none" id="inverted-logo">
</nav> </nav>
+15 -15
View File
@@ -1,22 +1,22 @@
{{ $mainLogo:="assets/images/main-logo.png" }} {{ $mainLogo:="/assets/images/main-logo.png" }}
{{ $invertedLogo:="assets/images/inverted-logo.png" }} {{ $invertedLogo:="/assets/images/inverted-logo.png" }}
{{ if .Site.Params.logo.main }} {{ if site.Params.logo.main }}
{{ $mainLogo = .Site.Params.logo.main }} {{ $mainLogo = site.Params.logo.main }}
{{ end }} {{ end }}
{{ if .Site.Params.logo.inverted }} {{ if site.Params.logo.inverted }}
{{ $invertedLogo = .Site.Params.logo.inverted }} {{ $invertedLogo = site.Params.logo.inverted }}
{{ end }} {{ end }}
{{ $sections:= .Site.Data.sections }} {{ $sections:= site.Data.sections }}
{{ if (index .Site.Data .Site.Language.Lang).sections }} {{ if (index site.Data site.Language.Lang).sections }}
{{ $sections = (index .Site.Data .Site.Language.Lang).sections }} {{ $sections = (index site.Data site.Language.Lang).sections }}
{{ end }} {{ end }}
<nav class="navbar navbar-expand-xl top-navbar initial-navbar" id="top-navbar"> <nav class="navbar navbar-expand-xl top-navbar initial-navbar" id="top-navbar">
<div class="container"> <div class="container">
<a class="navbar-brand" href="{{ .Site.BaseURL | relLangURL }}"> <a class="navbar-brand" href="{{ site.BaseURL | relLangURL }}">
<img src="{{ $invertedLogo | absURL }}" id="logo"> <img src="{{ $invertedLogo | relURL }}" id="logo">
{{- .Site.Title -}} {{- site.Title -}}
</a> </a>
<button <button
class="navbar-toggler navbar-dark" class="navbar-toggler navbar-dark"
@@ -60,7 +60,7 @@
<a class="nav-link" id="blog-link" href="{{ "/posts" | relLangURL }}">{{ i18n "posts" }}</a> <a class="nav-link" id="blog-link" href="{{ "/posts" | relLangURL }}">{{ i18n "posts" }}</a>
</li> </li>
{{ end }} {{ end }}
{{ range (index .Site.Data .Site.Language.Lang).site.customMenus }} {{ range (index site.Data site.Language.Lang).site.customMenus }}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="{{ .url }}">{{ .name }}</a> <a class="nav-link" href="{{ .url }}">{{ .name }}</a>
</li> </li>
@@ -72,6 +72,6 @@
</div> </div>
</div> </div>
<!-- Store the logo information in a hidden img for the JS --> <!-- Store the logo information in a hidden img for the JS -->
<img src="{{ $mainLogo | absURL }}" class="d-none" id="main-logo"> <img src="{{ $mainLogo | relURL }}" class="d-none" id="main-logo">
<img src="{{ $invertedLogo | absURL }}" class="d-none" id="inverted-logo"> <img src="{{ $invertedLogo | relURL }}" class="d-none" id="inverted-logo">
</nav> </nav>
@@ -6,7 +6,7 @@
{{ if (in site.Params.mainSections .Next.Type) }} {{ if (in site.Params.mainSections .Next.Type) }}
<div class="col-md-6 previous-article"> <div class="col-md-6 previous-article">
<a href="{{.Next.RelPermalink}}" class="btn btn-outline-info"> <a href="{{.Next.RelPermalink}}" class="btn btn-outline-info">
<span><i class="fas fa-chevron-circle-left"></i> Prev</span> <span><i class="fas fa-chevron-circle-left"></i> {{ i18n "prev" }}</span>
<br /> <br />
<span>{{ .Next.Title }}</span> <span>{{ .Next.Title }}</span>
</a> </a>
@@ -23,7 +23,7 @@
{{ end}} {{ end}}
<div class="{{ $columnWidth }} next-article"> <div class="{{ $columnWidth }} next-article">
<a href="{{ .Prev.RelPermalink }}" class="btn btn-outline-info"> <a href="{{ .Prev.RelPermalink }}" class="btn btn-outline-info">
<span>Next <i class="fas fa-chevron-circle-right"></i></span> <span>{{ i18n "next" }} <i class="fas fa-chevron-circle-right"></i></span>
<br /> <br />
<span>{{ .Prev.Title }}</span> <span>{{ .Prev.Title }}</span>
</a> </a>
+5 -5
View File
@@ -1,6 +1,6 @@
<script src="/assets/js/jquery-3.4.1.min.js"></script> <script src="{{ "/assets/js/jquery-3.4.1.min.js" | relURL }}"></script>
<script src="/assets/js/popper.min.js"></script> <script src="{{ "/assets/js/popper.min.js" | relURL }}"></script>
<script src="/assets/js/bootstrap.min.js"></script> <script src="{{ "/assets/js/bootstrap.min.js" | relURL }}"></script>
<script src="/assets/js/navbar.js"></script> <script src="{{ "/assets/js/navbar.js" | relURL }}"></script>
<script src="/assets/js/main.js"></script> <script src="{{ "/assets/js/main.js" | relURL }}"></script>
+8 -3
View File
@@ -3,16 +3,21 @@
{{ $sectionID = .section.id }} {{ $sectionID = .section.id }}
{{ end }} {{ end }}
{{ $author:= site.Data.author }}
{{ if (index site.Data site.Language.Lang).author }}
{{ $author = (index site.Data site.Language.Lang).author }}
{{ end }}
<div class="container anchor p-lg-5 about-section" id="{{ $sectionID }}"> <div class="container anchor p-lg-5 about-section" id="{{ $sectionID }}">
<div class="row pt-sm-2 pt-md-4 align-self-center"> <div class="row pt-sm-2 pt-md-4 align-self-center">
<!-- summary --> <!-- summary -->
<div class="col-sm-6"> <div class="col-sm-6">
<h3 class="p-1">{{ site.Params.author.name }}</h3> <h3 class="p-1">{{ $author.name }}</h3>
{{ if .designation }} {{ if .designation }}
<h5 class="p-1"> <h5 class="p-1">
{{ .designation }} {{ .designation }}
{{ if .company }} {{ if .company }}
at <a href="{{ .company.url }}">{{ .company.name }}</a> {{ i18n "at"}} <a href="{{ .company.url }}">{{ .company.name }}</a>
{{ end }} {{ end }}
</h5> </h5>
{{ end }} {{ end }}
@@ -33,7 +38,7 @@
</ul> </ul>
</div> </div>
{{ if .resume }} {{ if .resume }}
<a href="{{ .resume | absURL }}" target="#" <a href="{{ .resume | relURL }}" target="#"
><button class="btn btn-dark">{{ i18n "resume"}}</button></a ><button class="btn btn-dark">{{ i18n "resume"}}</button></a
> >
{{ end }} {{ end }}
@@ -1,6 +1,6 @@
<div <div
class="achievement-entry text-center" class="achievement-entry text-center"
style="background-image: url({{ .image | absURL }});" style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ .image | relURL }}');"
> >
<i class="fas fa-search-plus" id="enlarge-icon"></i> <i class="fas fa-search-plus" id="enlarge-icon"></i>
<h4 class="title" id="achievement-title">{{ .title }}</h4> <h4 class="title" id="achievement-title">{{ .title }}</h4>
+12 -12
View File
@@ -1,6 +1,6 @@
{{ $author:= .Site.Data.author }} {{ $author:= site.Data.author }}
{{ if (index .Site.Data .Site.Language.Lang).author }} {{ if (index site.Data site.Language.Lang).author }}
{{ $author = (index .Site.Data .Site.Language.Lang).author }} {{ $author = (index site.Data site.Language.Lang).author }}
{{ end }} {{ end }}
{{ $name:="Jane Doe" }} {{ $name:="Jane Doe" }}
@@ -10,17 +10,17 @@
{{ $name = $author.name }} {{ $name = $author.name }}
{{ end }} {{ end }}
{{ $sections:= .Site.Data.sections }} {{ $sections:= site.Data.sections }}
{{ if (index .Site.Data .Site.Language.Lang).sections }} {{ if (index site.Data site.Language.Lang).sections }}
{{ $sections = (index .Site.Data .Site.Language.Lang).sections }} {{ $sections = (index site.Data site.Language.Lang).sections }}
{{ end }} {{ end }}
{{ $backgroundImage:= "assets/images/default-background.jpg" }} {{ $backgroundImage:= "/assets/images/default-background.jpg" }}
{{ if .Site.Params.background }} {{ if site.Params.background }}
{{ $backgroundImage = .Site.Params.background }} {{ $backgroundImage = site.Params.background }}
{{ end }} {{ end }}
{{ $authorImage:= "assets/images/default-avatar.png" }} {{ $authorImage:= "/assets/images/default-avatar.png" }}
{{ if $author.image }} {{ if $author.image }}
{{ $authorImage = $author.image }} {{ $authorImage = $author.image }}
{{ end }} {{ end }}
@@ -28,10 +28,10 @@
<div class="container-fluid home" id="home"> <div class="container-fluid home" id="home">
<div <div
class="background container-fluid" class="background container-fluid"
style="background-image: url('{{ $backgroundImage | absURL }}');" style="background-image: url('{{ strings.TrimSuffix "/" site.BaseURL }}{{ $backgroundImage | relURL }}');"
></div> ></div>
<div class="container content text-center"> <div class="container content text-center">
<img src="{{ $authorImage | absURL }}" <img src="{{ $authorImage | relURL }}"
class="rounded-circle mx-auto d-block img-fluid" class="rounded-circle mx-auto d-block img-fluid"
/> />
<h1 class="greeting"> {{ $author.greeting }} {{ $name }}</h1> <h1 class="greeting"> {{ $author.greeting }} {{ $name }}</h1>
+1269 -30
View File
File diff suppressed because it is too large Load Diff
+13
View File
@@ -64,7 +64,9 @@ body {
} }
.toc ul { .toc ul {
list-style: none;
padding-left: 0.5rem; padding-left: 0.5rem;
margin-bottom: 0rem;
width: 100%; width: 100%;
} }
@@ -114,6 +116,8 @@ body {
.author-profile img { .author-profile img {
height: 120px; height: 120px;
width: 120px; width: 120px;
-o-object-fit: cover;
object-fit: cover;
background-color: #f9fafc; background-color: #f9fafc;
padding: 5px; padding: 5px;
} }
@@ -305,6 +309,10 @@ mark {
text-align: right; text-align: right;
} }
.languageSelector{
display: none;
}
/* ============= Device specific fixes ======= */ /* ============= Device specific fixes ======= */
/* Large screens such as TV */ /* Large screens such as TV */
@@ -368,10 +376,15 @@ mark {
.navbar-toggler { .navbar-toggler {
display: block; display: block;
} }
.navbar-collapse.lang-selector { .navbar-collapse.lang-selector {
display: none; display: none;
} }
.languageSelector{
display: block;
}
.hero-area { .hero-area {
height: 300px; height: 300px;
margin-top: 1rem; margin-top: 1rem;
+1 -1
View File
@@ -55,7 +55,7 @@
} }
.tree, .tree,
ul { .tree ul {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
+13
View File
@@ -18,6 +18,19 @@
background-size: cover; background-size: cover;
} }
/*
Resolves https://github.com/hossainemruz/toha/issues/70
fixed attached images use the whole <body> size. On mobile this can get really
tall which blows your image out. Setting the attachment back to scroll allows
your cover image to stretch within its own container
*/
@supports (-webkit-touch-callout: none) {
.background {
background-attachment: scroll;
}
}
.content { .content {
position: relative; position: relative;
top: -65%; top: -65%;

Some files were not shown because too many files have changed in this diff Show More