First draft has been done
This commit is contained in:
parent
53d3bcd037
commit
15cb063b28
16
_config.yml
16
_config.yml
|
@ -24,6 +24,9 @@ url: "https://lxsameer.com" # the base hostname & protocol for your site, e.g. h
|
|||
twitter_username: lxsameer
|
||||
github_username: lxsameer
|
||||
|
||||
permalink: /:categories/:title/
|
||||
|
||||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
plugins:
|
||||
|
@ -45,3 +48,16 @@ plugins:
|
|||
|
||||
sass:
|
||||
sass_dir: _sass
|
||||
|
||||
|
||||
collections:
|
||||
category:
|
||||
output: true
|
||||
|
||||
defaults:
|
||||
-
|
||||
scope:
|
||||
path: ""
|
||||
type: category
|
||||
values:
|
||||
layout: "category"
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
layout: default
|
||||
theme: dark
|
||||
---
|
||||
|
||||
<div class="columns is-flex centered">
|
||||
|
||||
<div class="column is-half">
|
||||
<h2>Posts on: {{ page.title }}</h2>
|
||||
|
||||
{% unless page.content == '' %}
|
||||
<p>{{ page.content }}</p>
|
||||
{% endunless %}
|
||||
|
||||
{% for post in site.categories[page.category] %}
|
||||
<div class="post-preview">
|
||||
<a href="{{ post.url | prepend: site.baseurl }}">
|
||||
<h2 class="post-title is-size-2">
|
||||
{{ post.title }}
|
||||
</h2>
|
||||
</a>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
|
@ -1,9 +1,9 @@
|
|||
<html class="light">
|
||||
<html class="{% if page.theme %}{{page.theme }}{% else %}light{% endif %}">
|
||||
<head>
|
||||
<link href="/assets/styles/web.css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
|
||||
</head>
|
||||
<body class="{{ page.theme }}">
|
||||
<body class="{% if page.theme %}{{page.theme }}{% else %}light{% endif %}">
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<div class="columns is-centered centered is-flex">
|
||||
|
@ -23,6 +23,28 @@
|
|||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% if page.url != "/" %}
|
||||
<div class="column navlink">
|
||||
<a class="" href="/">
|
||||
<span class="icon is-large">
|
||||
<i class="fas fa-home fa-lg"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.url != "/gpg.html" %}
|
||||
<div class="column navlink">
|
||||
<a class="" href="/gpg.html">
|
||||
<span class="icon is-large">
|
||||
<i class="fas fa-key fa-lg"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if page.url != "/blog.html" %}
|
||||
<div class="column navlink">
|
||||
<a class="" href="/blog/">
|
||||
<span class="icon is-large">
|
||||
|
@ -30,6 +52,7 @@
|
|||
</span>
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="column navlink">
|
||||
<a class="" href="https://linkedin.com/lxsameer">
|
||||
|
|
|
@ -8,8 +8,71 @@ theme: dark
|
|||
<h1 class="is-size-1">
|
||||
{{page.title}}
|
||||
</h1>
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<ul class="details is-size-7">
|
||||
<li>{{page.date | date_to_string }} |</li>
|
||||
{% for tag in page.categories %}
|
||||
<a href="/categories/{{tag}}">
|
||||
<li class="category">
|
||||
|
||||
{{ tag | capitalize }}
|
||||
</li>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<span>
|
||||
{% for tag in page.tags %}
|
||||
<span class="tag is-light">{{ tag | capitalize }}</span>
|
||||
{% endfor %}
|
||||
</span>
|
||||
|
||||
</div>
|
||||
|
||||
<content class="post">
|
||||
{{ content }}
|
||||
</content>
|
||||
<hr/>
|
||||
|
||||
<div class="share-page">
|
||||
<div class="columns is-flex">
|
||||
<div>
|
||||
<div class="column">
|
||||
<span class="is-size-3">Share on:</span>
|
||||
</div>
|
||||
</div>
|
||||
<a href="https://twitter.com/intent/tweet?text={{ page.title }}&url={{ site.url }}{{ page.url }}&via={{ site.twitter_username }}&related={{ site.twitter_username }}" rel="nofollow" target="_blank" title="Share on Twitter">
|
||||
<div class="column">
|
||||
<span class="icon is-large">
|
||||
<i class="fab fa-twitter fa-lg"></i>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="http://www.linkedin.com/shareArticle?mini=true&url={{page.url}}&title={{page.title}}&summary={{page.description}}&source={{site.url}}" rel="nofollow" target="_blank" title="Share on LinkedIn">
|
||||
<div class="column">
|
||||
<span class="icon is-large">
|
||||
<i class="fab fa-linkedin fa-lg"></i>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="https://plus.google.com/share?url={{ site.url }}{{ page.url }}" rel="nofollow" target="_blank" title="Share on Google+">
|
||||
<div class="column">
|
||||
<span class="icon is-large">
|
||||
<i class="fab fa-google fa-lg"></i>
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="columns is-flex centered">
|
||||
<div class="column is-half has-text-centered">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
layout: page
|
||||
title: "I'm moved from Github to Gitlab"
|
||||
date: 2018-11-02
|
||||
theme: dark
|
||||
categories: Announcements
|
||||
tags: gitlab
|
||||
---
|
||||
As soon as I hear about Micro$oft acquiring Github I decided to migrate to Gitlab. My guts tells me to do not trust a corperation behind the [Holloween docuemnt](https://en.wikipedia.org/wiki/Halloween_documents). Micro$oft might be a different company these days but their history is enough to not to trust them. Even if they are different and have no bad intentions, but still acquiring company such as Github means that the very first thig they will do is to integrate Github with their own services and that's enough for me to move.
|
||||
|
||||
In the other hand Gitlab is a free software with tons of feature like built-in CI and docker registery and other cool stuff. I totally recommend Gitlab as a better alternative to Github.
|
|
@ -1,27 +0,0 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Welcome to Jekyll!"
|
||||
date: 2019-02-23 19:44:57 +0000
|
||||
theme: dark
|
||||
categories: jekyll update
|
||||
---
|
||||
|
||||
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
|
||||
|
||||
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
|
||||
|
||||
Jekyll also offers powerful support for code snippets:
|
||||
|
||||
{% highlight ruby %}
|
||||
def print_hi(name)
|
||||
puts "Hi, #{name}"
|
||||
end
|
||||
print_hi('Tom')
|
||||
#=> prints 'Hi, Tom' to STDOUT.
|
||||
{% endhighlight %}
|
||||
|
||||
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
|
||||
|
||||
[jekyll-docs]: https://jekyllrb.com/docs/home
|
||||
[jekyll-gh]: https://github.com/jekyll/jekyll
|
||||
[jekyll-talk]: https://talk.jekyllrb.com/
|
|
@ -0,0 +1,61 @@
|
|||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
|
||||
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
|
||||
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #555555 } /* Operator */
|
||||
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #009999 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
|
||||
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
|
||||
.highlight .go { color: #AAAAAA } /* Generic.Output */
|
||||
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
|
||||
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
||||
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
|
||||
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
|
||||
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
|
||||
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
|
||||
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
|
||||
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
|
||||
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
|
||||
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
|
||||
.highlight .m { color: #FF6600 } /* Literal.Number */
|
||||
.highlight .s { color: #CC3300 } /* Literal.String */
|
||||
.highlight .na { color: #330099 } /* Name.Attribute */
|
||||
.highlight .nb { color: #336666 } /* Name.Builtin */
|
||||
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
|
||||
.highlight .no { color: #336600 } /* Name.Constant */
|
||||
.highlight .nd { color: #9999FF } /* Name.Decorator */
|
||||
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
||||
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
|
||||
.highlight .nf { color: #CC00FF } /* Name.Function */
|
||||
.highlight .nl { color: #9999FF } /* Name.Label */
|
||||
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
|
||||
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
|
||||
.highlight .nv { color: #003333 } /* Name.Variable */
|
||||
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
|
||||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
||||
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
|
||||
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
|
||||
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
|
||||
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
|
||||
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
|
||||
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
|
||||
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
|
||||
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
|
||||
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
|
||||
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
|
||||
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
|
||||
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
|
||||
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
|
||||
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
|
||||
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
|
||||
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
|
||||
.highlight .vc { color: #003333 } /* Name.Variable.Class */
|
||||
.highlight .vg { color: #003333 } /* Name.Variable.Global */
|
||||
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
|
||||
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,93 @@
|
|||
Copyright (c) 2010-2014 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,21 +2,23 @@
|
|||
---
|
||||
|
||||
@font-face
|
||||
font-family: 'Open Sans Condensed Bold'
|
||||
src: url('/assets/fonts/OpenSansCondensed-Bold.ttf') format('truetype')
|
||||
font-family: 'Lato'
|
||||
src: url('/assets/fonts/Lato-Regular.ttf') format('truetype')
|
||||
|
||||
@font-face
|
||||
font-family: 'Open Sans Condensed'
|
||||
src: url('/assets/fonts/OpenSansCondensed-Light.ttf') format('truetype')
|
||||
font-family: 'Lato Bold'
|
||||
src: url('/assets/fonts/Lato-Bold.ttf') format('truetype')
|
||||
|
||||
|
||||
$white-ter: #fafafa
|
||||
$footer-background-color: $white-ter
|
||||
$purple: #433983
|
||||
$family-primary: 'Open Sans Condensed'
|
||||
$family-primary: 'Lato'
|
||||
$family-secendary: 'Lato Bold'
|
||||
$background: $white-ter
|
||||
$primary: $purple
|
||||
|
||||
|
||||
html.light
|
||||
background: $background
|
||||
$background: $white-ter
|
||||
|
@ -27,6 +29,7 @@ html.dark
|
|||
|
||||
@charset "utf-8"
|
||||
@import "./bulma.sass"
|
||||
@import "./code.scss"
|
||||
|
||||
|
||||
body.light
|
||||
|
@ -34,6 +37,11 @@ body.light
|
|||
background: $background
|
||||
with: 100%
|
||||
height: 100%
|
||||
a
|
||||
color: $primary
|
||||
&:hover
|
||||
color: lighten($primary, 30%)
|
||||
|
||||
.navlink
|
||||
border-radius: $radius
|
||||
a
|
||||
|
@ -51,15 +59,24 @@ body.dark
|
|||
background: $purple
|
||||
with: 100%
|
||||
height: 100%
|
||||
a
|
||||
color: $white
|
||||
|
||||
&:hover
|
||||
color: darken($white, 30%)
|
||||
text-decoration: underline
|
||||
|
||||
content.post
|
||||
p
|
||||
padding-top: 1em
|
||||
a
|
||||
color: $white
|
||||
font-weight: 700
|
||||
|
||||
font-size: 1.3rem
|
||||
line-height: 1.5rem
|
||||
line-height: 2rem
|
||||
code.highlighter-rouge
|
||||
background: lighten($purple, 10%)
|
||||
background: darken($purple, 10%)
|
||||
color: $light
|
||||
border-radius: $radius
|
||||
padding: 0.1em 0.2em
|
||||
|
@ -80,6 +97,14 @@ body.dark
|
|||
background: $light
|
||||
a
|
||||
color: $grey-dark
|
||||
.share-page
|
||||
a
|
||||
color: $light
|
||||
border-radius: $radius
|
||||
|
||||
&:hover
|
||||
background: $light
|
||||
color: $grey-dark
|
||||
|
||||
.column.is-flex.centered
|
||||
justify-content: center
|
||||
|
@ -90,3 +115,25 @@ body.dark
|
|||
|
||||
.cv-button
|
||||
margin-top: 3rem
|
||||
|
||||
.is-size-1
|
||||
font-family: 'Lato Bold' !important
|
||||
|
||||
|
||||
span.info
|
||||
padding-right: 10px
|
||||
|
||||
ul.details
|
||||
a
|
||||
color: $light
|
||||
border-radius: $radius
|
||||
|
||||
&:hover
|
||||
background: $light
|
||||
color: $grey-dark
|
||||
|
||||
list-decoration: none
|
||||
li
|
||||
display: inline
|
||||
li.category
|
||||
padding: 0.5em
|
||||
|
|
3
blog.md
3
blog.md
|
@ -2,9 +2,6 @@
|
|||
layout: post
|
||||
theme: dark
|
||||
---
|
||||
|
||||
|
||||
|
||||
{% for post in site.posts %}
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: default
|
||||
permalink: /categories/
|
||||
title: Categories
|
||||
theme: dark
|
||||
---
|
||||
|
||||
<div class="columns centered is-flex">
|
||||
<div class="column is-half">
|
||||
{% for category in site.categories %}
|
||||
<ul>
|
||||
{% capture category_name %}{{ category | first }}{% endcapture %}
|
||||
<li class="is-size-3">
|
||||
<a href="/categories/{{category_name}}">{{ category_name | capitalize }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
layout: categories
|
||||
title: Cooking
|
||||
category: cooking
|
||||
theme: dark
|
||||
---
|
Loading…
Reference in New Issue