Skip to content

Commit e9ca25e

Browse files
committed
Blog Posts
0 parents  commit e9ca25e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1412
-0
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
# Unix-style newlines with a newline ending every file
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
[*.{js,css,scss}]
13+
quote_type = single
14+
15+
[*.{yml,yaml}]
16+
quote_type = double
17+
18+
[*.md]
19+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# Force bash scripts to always use LF line endings so that if a repo is accessed
5+
# in Unix via a file share from Windows, the scripts will work.
6+
*.sh text eol=lf
7+
8+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
9+
# in Windows via a file share from Linux, the scripts will work.
10+
*.{cmd,[cC][mM][dD]} text eol=crlf
11+
*.{bat,[bB][aA][tT]} text eol=crlf
12+
13+
# Denote all files that are truly binary and should not be modified.
14+
*.png binary
15+
*.jpg binary
16+
*.ico binary

.github/workflows/pages-deploy.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: "Build and Deploy"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- .gitignore
8+
- README.md
9+
- LICENSE
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
19+
# Allow one concurrent deployment
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: true
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
# submodules: true
34+
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
35+
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
36+
37+
- name: Setup Pages
38+
id: pages
39+
uses: actions/configure-pages@v4
40+
41+
- name: Setup Ruby
42+
uses: ruby/setup-ruby@v1
43+
with:
44+
ruby-version: 3.3
45+
bundler-cache: true
46+
47+
- name: Build site
48+
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
49+
env:
50+
JEKYLL_ENV: "production"
51+
52+
- name: Upload site artifact
53+
uses: actions/upload-pages-artifact@v3
54+
with:
55+
path: "_site${{ steps.pages.outputs.base_path }}"
56+
57+
deploy:
58+
environment:
59+
name: github-pages
60+
url: ${{ steps.deployment.outputs.page_url }}
61+
runs-on: ubuntu-latest
62+
needs: build
63+
steps:
64+
- name: Deploy to GitHub Pages
65+
id: deployment
66+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Bundler cache
2+
.bundle
3+
vendor
4+
Gemfile.lock
5+
6+
# Jekyll cache
7+
.jekyll-cache
8+
.jekyll-metadata
9+
_site
10+
11+
# RubyGems
12+
*.gem
13+
14+
# NPM dependencies
15+
node_modules
16+
package-lock.json
17+
18+
# IDE configurations
19+
.idea
20+
.vscode
21+
!.vscode/settings.json
22+
!.vscode/extensions.json
23+
24+
# Misc
25+
_sass/dist
26+
assets/js/dist

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "assets/lib"]
2+
path = assets/lib
3+
url = https://github.com/cotes2020/chirpy-static-assets.git

.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

Gemfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
gem "jekyll-theme-chirpy", "~> 7.0", ">= 7.0.1"
6+
gem "jekyll-seo-tag"
7+
gem "jekyll-archives"
8+
9+
group :test do
10+
gem "html-proofer", "~> 5.0"
11+
end

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Cotes Chung
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DevOps Visions

_config.yml

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
# The Site Configuration
2+
3+
# Import the theme
4+
theme: jekyll-theme-chirpy
5+
6+
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
7+
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
8+
# otherwise, the layout language will use the default value of 'en'.
9+
lang: en
10+
11+
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
12+
timezone:
13+
14+
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
15+
# ↓ --------------------------
16+
17+
title: DevOps Visions Community # the main title
18+
19+
tagline: <div>If you want to go fast, go alone. If you want to go far, go together</div> # it will display as the sub-title
20+
21+
description:
22+
23+
# Fill in the protocol & hostname for your site.
24+
# e.g. 'https://username.github.io', note that it does not end with a '/'.
25+
url: "https://github.com/DevOpsVisions/devopsvisions.github.io"
26+
27+
github:
28+
username: DevOpsVisions # change to your github username
29+
30+
31+
#twitter:
32+
#username: # change to your twitter username
33+
34+
social:
35+
# Change to your full name.
36+
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37+
name: DevOps Visions
38+
links:
39+
# The first element serves as the copyright owner's link
40+
- https://www.linkedin.com/company/devops-visions
41+
- https://github.com/DevOpsVisions/devopsvisions.github.io
42+
# Uncomment below to add more social links
43+
# - https://www.facebook.com/username
44+
# - https://www.linkedin.com/in/username
45+
46+
# Site Verification Settings
47+
webmaster_verifications:
48+
google: # fill in your Google verification code
49+
bing: # fill in your Bing verification code
50+
alexa: # fill in your Alexa verification code
51+
yandex: # fill in your Yandex verification code
52+
baidu: # fill in your Baidu verification code
53+
facebook: # fill in your Facebook verification code
54+
55+
# ↑ --------------------------
56+
# The end of `jekyll-seo-tag` settings
57+
58+
# Web Analytics Settings
59+
analytics:
60+
google:
61+
id: # fill in your Google Analytics ID
62+
goatcounter:
63+
id: # fill in your GoatCounter ID
64+
umami:
65+
id: # fill in your Umami ID
66+
domain: # fill in your Umami domain
67+
matomo:
68+
id: # fill in your Matomo ID
69+
domain: # fill in your Matomo domain
70+
cloudflare:
71+
id: # fill in your Cloudflare Web Analytics token
72+
73+
# Pageviews settings
74+
pageviews:
75+
provider: # now only supports 'goatcounter'
76+
77+
# Prefer color scheme setting.
78+
#
79+
# Note: Keep empty will follow the system prefer color by default,
80+
# and there will be a toggle to switch the theme between dark and light
81+
# on the bottom left of the sidebar.
82+
#
83+
# Available options:
84+
#
85+
# light - Use the light color scheme
86+
# dark - Use the dark color scheme
87+
#
88+
theme_mode: # [light | dark]
89+
90+
# The CDN endpoint for media resources.
91+
# Notice that once it is assigned, the CDN url
92+
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
93+
#
94+
# e.g. 'https://cdn.com'
95+
cdn:
96+
97+
# the avatar on sidebar, support local or CORS resources
98+
avatar: '/assets/img/mics/devops-visions.png'
99+
100+
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
101+
# It can be overridden by a customized `page.image` in front matter.
102+
social_preview_image: # string, local or CORS resources
103+
104+
# boolean type, the global switch for TOC in posts.
105+
toc: true
106+
107+
comments:
108+
# Global switch for the post comment system. Keeping it empty means disabled.
109+
provider: # [disqus | utterances | giscus]
110+
# The provider options are as follows:
111+
disqus:
112+
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
113+
# utterances settings › https://utteranc.es/
114+
utterances:
115+
repo: # <gh-username>/<repo>
116+
issue_term: # < url | pathname | title | ...>
117+
# Giscus options › https://giscus.app
118+
giscus:
119+
repo: # <gh-username>/<repo>
120+
repo_id:
121+
category:
122+
category_id:
123+
mapping: # optional, default to 'pathname'
124+
strict: # optional, default to '0'
125+
input_position: # optional, default to 'bottom'
126+
lang: # optional, default to the value of `site.lang`
127+
reactions_enabled: # optional, default to the value of `1`
128+
129+
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
130+
assets:
131+
self_host:
132+
enabled: # boolean, keep empty means false
133+
# specify the Jekyll environment, empty means both
134+
# only works if `assets.self_host.enabled` is 'true'
135+
env: # [development | production]
136+
137+
pwa:
138+
enabled: true # the option for PWA feature (installable)
139+
cache:
140+
enabled: true # the option for PWA offline cache
141+
# Paths defined here will be excluded from the PWA cache.
142+
# Usually its value is the `baseurl` of another website that
143+
# shares the same domain name as the current website.
144+
deny_paths:
145+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
146+
147+
paginate: 10
148+
149+
# The base URL of your site
150+
baseurl: ""
151+
152+
# ------------ The following options are not recommended to be modified ------------------
153+
154+
kramdown:
155+
footnote_backlink: "&#8617;&#xfe0e;"
156+
syntax_highlighter: rouge
157+
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
158+
css_class: highlight
159+
# default_lang: console
160+
span:
161+
line_numbers: false
162+
block:
163+
line_numbers: true
164+
start_line: 1
165+
166+
collections:
167+
tabs:
168+
output: true
169+
sort_by: order
170+
171+
defaults:
172+
- scope:
173+
path: "" # An empty string here means all files in the project
174+
type: posts
175+
values:
176+
layout: post
177+
comments: true # Enable comments in posts.
178+
toc: true # Display TOC column in posts.
179+
# DO NOT modify the following parameter unless you are confident enough
180+
# to update the code of all other post links in this project.
181+
permalink: /posts/:title/
182+
- scope:
183+
path: _drafts
184+
values:
185+
comments: false
186+
- scope:
187+
path: ""
188+
type: tabs # see `site.collections`
189+
values:
190+
layout: page
191+
permalink: /:title/
192+
- scope:
193+
path: assets/js/dist
194+
values:
195+
swcache: true
196+
197+
sass:
198+
style: compressed
199+
200+
compress_html:
201+
clippings: all
202+
comments: all
203+
endings: all
204+
profile: false
205+
blanklines: false
206+
ignore:
207+
envs: [development]
208+
209+
exclude:
210+
- "*.gem"
211+
- "*.gemspec"
212+
- docs
213+
- tools
214+
- README.md
215+
- LICENSE
216+
- "*.config.js"
217+
- package*.json
218+
219+
jekyll-archives:
220+
enabled: [categories, tags]
221+
layouts:
222+
category: category
223+
tag: tag
224+
permalinks:
225+
tag: /tags/:name/
226+
category: /categories/:name/

0 commit comments

Comments
 (0)