Skip to content

Commit

Permalink
customize blog
Browse files Browse the repository at this point in the history
  • Loading branch information
omnia-core committed Dec 6, 2024
1 parent e691652 commit 023199c
Show file tree
Hide file tree
Showing 54 changed files with 1,544 additions and 1,740 deletions.
Binary file modified .DS_Store
Binary file not shown.
39 changes: 39 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Deploy Blog

on:
push:
branches:
- main # Trigger the action on push to the 'main' branch (change as needed)
workflow_dispatch:

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3

# Step 2: Set up Ruby environment
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1' # Specify the Ruby version for Jekyll

# Step 3: Install dependencies
- name: Install dependencies
run: |
gem install bundler
bundle install
# Step 4: Build the Blog
- name: Build Blog
run: bundle exec jekyll build

# Step 5: Deploy to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
35 changes: 11 additions & 24 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,19 @@ title: "Omnia"
description: "A blog for all things tech"
logo: 'assets/images/apple-touch-icon.png'
favicon: 'assets/images/favicon.ico'
baseurl: /mediumish-theme-jekyll
google_analytics: 'UA-46278016-1'
disqus: 'demowebsite'
disqus: "omnia-core"
include: ["_pages"]
permalink: /:title/

# Authors
authors:
sal:
name: Sal
display_name: Sal
gravatar: e56154546cf4be74e393c62d1ae9f9d4
email: [email protected]
web: https://www.wowthemes.net
twitter: https://twitter.com/wowthemesnet
description: "Author of Mediumish, a Bootstrap Medium styled template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo."
john:
name: John
display_name: John
avatar: 'assets/images/avatar.png'
gravatar: b1cc14991db7a456fcd761680bbc8f81
email: [email protected]
web: https://www.wowthemes.net
twitter: https://twitter.com/wowthemesnet
description: "This is the author box. Write a short description of the author here. You are currently previewing Mediumish demo, a Jekyll template compatible with Github pages."
kevin:
name: Kevin
display_name: Kevin
gravatar: f1eea0082761fcd8e82ebd8aa6de5410
email: [email protected]
web: https://omnia-core.github.io
description: "Author of Omnia Blog."

# Plugins
plugins:
Expand Down Expand Up @@ -61,11 +49,10 @@ kramdown:
line_numbers: true

# Adsense (change to "enabled" to activate, also your client id and ad slot. Create a new ad unit from your Adsense account to get the slot.)
adsense: "disabled"
adsense-data-ad-client: "ca-pub-3412143450191416"
adsense-data-ad-slot: "1363087678"
adsense: "enabled"
adsense-data-ad-client: "ca-pub-1914240913191564"

# Lazy Images ("enabled" or "disabled")
lazyimages: "disabled"

exclude: [changelog.md, LICENSE.txt, README.md, Gemfile, Gemfile.lock]
exclude: [changelog.md, README.md, Gemfile, Gemfile.lock]
12 changes: 0 additions & 12 deletions _includes/adsense-under-header.html

This file was deleted.

9 changes: 9 additions & 0 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FSX1QMJC9G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-FSX1QMJC9G');
</script>
18 changes: 6 additions & 12 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<link rel="icon" href="{{ site.baseurl }}/assets/images/logo.png">
<link rel="icon" href="{{ site.baseurl }}/assets/images/apple-touch-icon.png">

<title>{{ page.title }} | {{site.name}}</title>

Expand All @@ -18,16 +18,13 @@

<script src="{{ site.baseurl }}/assets/js/jquery.min.js"></script>

{% if site.adsense == "enabled" %}
<meta name="google-adsense-account" content="{{ site.adsense-data-ad-client }}">
{% endif %}

</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-FSX1QMJC9G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-FSX1QMJC9G');
</script>
{% include google-analytics.html %}

{% capture layout %}{% if page.layout %}layout-{{ page.layout }}{% endif %}{% endcapture %}
<body class="{{layout}}">
Expand Down Expand Up @@ -171,9 +168,6 @@ <h2 class="d-md-block align-self-center py-1 font-weight-light">Explore <span cl
<div class="col-md-6 col-sm-6 text-center text-lg-left">
Copyright © {{ site.time | date: "%Y" }} {{ site.name }}
</div>
<div class="col-md-6 col-sm-6 text-center text-lg-right">
<a target="_blank" href="https://www.wowthemes.net/mediumish-free-jekyll-template/">Mediumish Jekyll Theme</a> by WowThemes.net
</div>
</div>
</div>
</footer>
Expand Down
7 changes: 0 additions & 7 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: default
disqus: false
archive: false
post_class: post-template
---
Expand Down Expand Up @@ -43,12 +42,6 @@ <h1 class="posttitle">{{ page.title }}</h1>

</div>

<!-- Adsense if enabled from _config.yml (change your pub id and slot) -->
{% if site.adsense == "enabled" %}
{% include adsense-under-header.html %}
{% endif %}
<!-- End Adsense -->

<!-- Post Featured Image -->
{% if page.image %}

Expand Down
34 changes: 25 additions & 9 deletions _pages/about.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,39 @@
---
layout: page
title: Mediumish Template for Jekyll
title: About Me
permalink: /about
comments: true
---

<div class="row justify-content-between">
<div class="col-md-8 pr-5">

<p>This website is built with Jekyll and Mediumish template for Jekyll. It's for demonstration purposes, no real content can be found. Mediumish template for Jekyll is compatible with Github pages, in fact even this demo is created with Github Pages and hosted with Github.</p>
<p>Hi, I’m <strong>Kevin</strong>—a software engineer, tech enthusiast, and lifelong learner passionate about building and exploring the ever-evolving world of technology. 💻✨</p>

<p class="mb-5"><img class="shadow-lg" src="{{site.baseurl}}/assets/images/mediumish-jekyll-template.png" alt="jekyll template mediumish" /></p>
<h4>Documentation</h4>
<p>I started this blog to document my journey, share insights, and provide valuable resources for developers at all stages of their careers. Whether you're just starting out in tech, looking for tips and tricks, or seeking inspiration for your next big project, you’ve come to the right place!</p>

<p>Please, read the docs <a href="https://bootstrapstarter.com/bootstrap-templates/template-mediumish-bootstrap-jekyll/">here</a>.</p>

<h4>Questions or bug reports?</h4>
<h5>What You'll Find Here</h5>
<ul>
<li><strong>Go (Golang) Tips and Troubleshooting:</strong> Deep dives into Go’s features, tips for mastering the language, and solutions to common challenges.</li>
<li><strong>Project Insights:</strong> Behind-the-scenes looks at projects I’m working on or tools I’ve built.</li>
<li><strong>Tech Musings:</strong> Reflections on trends, ideas, and the future of technology.</li>
<li><strong>Career & Community:</strong> Thoughts on career growth, personal development, and contributing to the tech community.</li>
</ul>

<p>Head over to our <a href="https://github.com/wowthemesnet/mediumish-theme-jekyll">Github repository</a>!</p>
<h5>My Mission</h5>
<p>I believe in the power of sharing knowledge and building a supportive developer community. My goal is to create content that informs, inspires, and empowers you to grow in your tech journey.</p>


<h5>A Little More About Me</h5>
<p>When I’m not coding or writing, you’ll likely find me:</p>
<ul>
<li>Experimenting with new tech tools and frameworks</li>
<li>Playing basketball 🏀</li>
<li>Enjoying a good cup of coffee ☕ or binge-watching Netflix</li>
</ul>

<p>Thanks for visiting, and I hope you find something here that inspires or helps you. Happy coding, and happy Go-ing! 🐹✨</p>

</div>

Expand All @@ -26,9 +42,9 @@ comments: true
<div class="sticky-top sticky-top-80">
<h5>Buy me a coffee</h5>

<p>Thank you for your support! Your donation helps me to maintain and improve <a target="_blank" href="https://github.com/wowthemesnet/mediumish-theme-jekyll">Mediumish <i class="fab fa-github"></i></a>.</p>
<p>Thank you for your support! Your donation helps me to maintain and improve Omnia Blog.</p>

<a target="_blank" href="https://www.wowthemes.net/donate/" class="btn btn-danger">Buy me a coffee</a> <a target="_blank" href="https://bootstrapstarter.com/bootstrap-templates/template-mediumish-bootstrap-jekyll/" class="btn btn-warning">Documentation</a>
<a target="_blank" href="https://www.wowthemes.net/donate/" class="btn btn-danger">Buy me a coffee</a>

</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions _posts/2018-01-11-customer-service.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Inception Movie"
author: john
author: kevin
categories: [ Jekyll, tutorial ]
tags: [red, yellow]
image: assets/images/11.jpg
Expand All @@ -21,7 +21,7 @@ It's actually really simple! Add the rating in your YAML front matter. It also s
---
layout: post
title: "Inception Movie"
author: john
author: kevin
categories: [ Jekyll, tutorial ]
tags: [red, yellow]
image: assets/images/11.jpg
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-11-quick-start-guide.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Let's test spoilers"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/12.jpg
featured: true
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-12-is-intelligence-enough.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "External Featured Image"
author: sal
author: kevin
categories: [ Jekyll, tutorial, web development ]
image: "https://images.unsplash.com/photo-1541544537156-7627a7a4aa1c?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=a20c472bc23308e390c8ffae3dd90c60&auto=format&fit=crop&w=750&q=80"
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Never stopped worrying or loving the bomb"
author: sal
author: kevin
categories: [ Jekyll ]
image: assets/images/14.jpg
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Options for creating a new site with Jekyll"
author: john
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/13.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-12-press-and-education.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Press and education"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/7.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-12-red-riding.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Red Riding Hood"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/1.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-12-tree-of-codes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Tree of Codes"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/9.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-01-12-we-all-wait-for-summer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "We all wait for summer"
author: john
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/5.jpg
rating: .5
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-05-12-about-bundler.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "About Bundler"
author: sal
author: kevin
categories: [ Jekyll ]
image: assets/images/2.jpg
rating: 3
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-06-12-acumulated-experience.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Accumulated experience of social living"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/15.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-06-12-education.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Education must also train one for quick, resolute and effective thinking."
author: john
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/3.jpg
beforetoc: "Markdown editor is a very powerful thing. In this article I'm going to show you what you can actually do with it, some tricks and tips while editing your post."
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-06-12-first-mass-produced.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "The first mass-produced book to deviate from a rectilinear format"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/17.jpg
---
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-06-12-powerful-things-markdown-editor.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: "Powerful things you can do with the Markdown editor"
author: sal
author: kevin
categories: [ Jekyll, tutorial ]
image: assets/images/16.jpg
---
Expand Down
Loading

0 comments on commit 023199c

Please sign in to comment.