Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gh pages2 #18

Closed
wants to merge 30 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 42 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
title: Hacker-Blog
description: "A Jekyll Blog Theme For Hackers"
title: 05m4n-Blog
description: "Programming,Cybersecurity"
author:
name: "SomeHacker"
email: "[email protected]"
url: "https://ashishchaudhary.in/hacker-blog"
name: "05N4N"
email: "[email protected]"
url: "https://o5m4n.github.io"

baseurl: /

Expand All @@ -20,6 +20,41 @@ defaults:
type: "posts"
values:
layout: "post"



# Site Author
author:
name : "05M4N"
avatar : "/assets/images/20430659.jpg" # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
bio : "A passionate full stack developer, GNU\\LINUX lover, and Cyeber-Security enthusiast.."
location : "Mexico"
email :
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: "mailto:[email protected]"
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://your-website.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/O5M4N" # url: "https://github.com/"
- label: "GitHub"
icon: "fab fa-fw fa-gitlab" #<i class="fab fa-gitlab"></i>
url: "https://gitlab.com/O5M4N" # url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/"
- label: "Linkedin"
icon: "fab fa-fw fa-linkedin"
url: "https://www.linkedin.com/in/eorg/"

future: true
plugins:
Expand All @@ -28,5 +63,5 @@ plugins:
- jekyll-sitemap

# Custom variables
owner : "SomeHacker"
year : "2020"
owner : "By 05m4n"
year : "2021"
5 changes: 4 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
<footer>
<div class="header-social-links">
{% include social-links.html %}
</div>
<a href="https://creativecommons.org/licenses/by-nc/3.0/deed.en_US">
<span>
<b>{{ site.owner}}</b>
</span>
{% capture currentyear %}{{ 'now' | date: "%Y" }}{% endcapture %}
<span>© {{ currentyear }}</span>
</a>
</footer>
</footer>
4 changes: 3 additions & 1 deletion _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl | replace: '//', '/' }}">

<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="ATOM Feed" /> {% seo %}
</head>

<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/>
</head>
4 changes: 2 additions & 2 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div>
<a href="{{ "/" | prepend: site.baseurl | replace: '//', '/' }}">
{% assign owner_first_name = site.owner | split: " " %}
<h1>{{ owner_first_name[0] | downcase }}@home:~$</h1>
<h1>{{ owner_first_name[0] | downcase }}</h1>
</a>
<div class="header-links">
{% include links.html %}
</div>
</div>
</header>
</header>
11 changes: 11 additions & 0 deletions _includes/social-links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{% assign author = page.author | default: page.authors[0] | default: site.author %}
{% assign author = site.data.authors[author] | default: author %}
<div>
{% if author.links %}
{% for link in author.links %}
{% if link.label and link.url %}
<a align="center" href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i></a>
{% endif %}
{% endfor %}
{% endif %}
</div>
6 changes: 5 additions & 1 deletion _sass/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ header {
text-align: center;
}

.header-social-links {
text-align: center;
}

.header-link {
display: inline;
}
Expand Down Expand Up @@ -270,4 +274,4 @@ a:active, a:focus {

#wrapper {
min-height: calc(100vh - 100px);
}
}
11 changes: 10 additions & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ layout: page
title: About
---

Something about me.
### Hellow World!

"I'm passionate full stack developer, GNU\\LINUX lover, and Cyeber-Security enthusiast.."

I beliebe in plain, static html pages, as stable and simple way to distrubute my own thoughs, ideas.
<h4 id="Happy Hacking" align="center"> Happy Hacking </h4>