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

Dev #14

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ source "https://rubygems.org"
# If you have any plugins, put them here!
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
group :jekyll_plugins do
gem 'jekyll-admin'
gem 'jekyll-feed'
gem 'jekyll-sitemap'
gem 'jekyll-paginate'
gem 'jekyll-seo-tag'
gem 'jekyll-archives'
gem 'tzinfo-data'
gem 'tzinfo'
end
end
51 changes: 32 additions & 19 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
title: "Affiliates"
email: [email protected]
timezone: UTC
baseurl: "/affiliates-jekyll-theme"
title: "Haade"
email: [email protected]
timezone: Europe/Paris
baseurl: "/"
permalink: "/:title/"
logo: 'assets/images/logo.png'
favicon: 'assets/images/favicon.ico'
author: Sal
author: Nico
paginate: 30
disqus: 'demowebsite'
locale: en_us
lang: en_us
locale: fr_fr
lang: fr_fr
feed_items: 10
feed_update_period: daily
feed_update_frequency: 1
Expand All @@ -24,18 +24,19 @@ ganalytics: UA-113961478-1

# Authors
authors:
sal:
name: Sal
display_name: Sal
avatar: 'assets/images/sal.png'
email: [email protected]
nico:
name: Nico
display_name: Nico
gravatar: 66178447db0764d08b4bd975c515fa5d
email: [email protected]
web: https://www.wowthemes.net/category/jekyll-themes/
twitter: https://twitter.com/wowthemesnet
description: "Author of Affiliates, a template available for WordPress, HTML, Ghost and Jekyll. You are currently previewing Jekyll template demo."
john:
name: John
display_name: John
avatar: 'assets/images/john.png'
description: "Admirateur en domotique, spécialisée en montage Diy sur Home-Assistant, Jeedom et Openhab, montez votre réseau en Zigbee ou Z-wave à moindre prix."
yann:
name: Yann
display_name: Yann
avatar: 'assets/images/yann.png'
gravatar: b1cc14991db7a456fcd761680bbc8f81
email: [email protected]
web: https://www.wowthemes.net/category/jekyll-themes/
twitter: https://twitter.com/wowthemesnet
Expand All @@ -47,10 +48,22 @@ social:
facebook: https://www.facebook.com/bootstrapstartercom-346329609045284
twitter: https://twitter.com/bstartercom

# Admin
jekyll_admin:
hidden_links:
- posts
- pages
- staticfiles
- datafiles
- configuration
homepage: "pages"

# Plugins
plugins:
plugins:
- jekyll-paginate
- jekyll-sitemap
- jekyll-feed
- jekyll-seo-tag
- jekyll-archives
- jekyll-archives


14 changes: 7 additions & 7 deletions _data/menus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ topmenu:
- title: Contact
url: "contact/"

- title: Get this theme
url: https://bootstrapstarter.com/template-affiliates-bootstrap-jekyll/
class: "ml-2 btn btn-dark text-white px-3"
external: true
#- title: Get this theme
# url: https://bootstrapstarter.com/template-affiliates-bootstrap-jekyll/
# class: "ml-2 btn btn-dark text-white px-3"
# external: true

# Footer Menu
footermenu:
Expand All @@ -27,6 +27,6 @@ footermenu:
- title: Contact
url: "contact/"

- title: Download
url: https://bootstrapstarter.com/template-affiliates-bootstrap-jekyll/
external: true
#- title: Download
# url: google.fr/
# external: true
18 changes: 14 additions & 4 deletions _includes/postbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@ <h2 class="card-title h4 serif-font"><a href="{{ post.url | absolute_url }}">{{
<p class="card-text text-muted">{{ post.excerpt | strip_html | truncatewords:15 }}</p>
<div class="metafooter">
<div class="wrapfooter small d-flex align-items-center">
{% if post.author %}
<span class="meta-footer-thumb">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</span>
<span class="author-meta">
By <span class="post-name"> {% if post.author %}{{ author.display_name }}{% else %}{{ site.author }}{% endif %}, </span>
on <span class="post-date">{{ post.date | date_to_string }}</span>
</span>
<span class="post-name"><a target="_blank" href="{{ author.web }}">{{ author.display_name }}</a></span>
{% endif %}
<span class="post-date">{{ post.date | date_to_string }}</span>
</span>
<span class="post-read-more"><a href="{{ site.baseurl }}{{ post.url }}" title="Read Story"><svg class="svgIcon-use" width="25" height="25" viewbox="0 0 25 25"><path d="M19 6c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v14.66h.012c.01.103.045.204.12.285a.5.5 0 0 0 .706.03L12.5 16.85l5.662 4.126a.508.508 0 0 0 .708-.03.5.5 0 0 0 .118-.285H19V6zm-6.838 9.97L7 19.636V6c0-.55.45-1 1-1h9c.55 0 1 .45 1 1v13.637l-5.162-3.668a.49.49 0 0 0-.676 0z" fill-rule="evenodd"></path></svg></a></span>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<!-- end post -->
<!-- end post -->
85 changes: 45 additions & 40 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,18 @@
================================================== -->

<div class="row">


<!-- Post -->

<!-- Post -->
{% assign author = site.authors[page.author] %}

<div class="col-sm-8">
<!-- Post Featured Image -->
{% if page.image %}<img class="featured-image img-fluid rounded" src="{{ site.baseurl }}/{{ page.image }}" alt="{{ page.title }}">{% endif %}
<!-- End Featured Image -->
<div class="mainheading">

<div class="mainheading">

<!-- Post Featured Image -->
{% if page.image %}<img class="featured-image img-fluid rounded" src="{{ site.baseurl }}/{{ page.image }}" alt="{{ page.title }}">{% endif %}
<!-- End Featured Image -->

<!-- Post Categories -->
<div class="after-post-tags">
<ul class="tags">
Expand All @@ -32,13 +33,13 @@
</ul>
</div>
<!-- End Categories -->

<!-- Post Title -->
<h1 class="posttitle">{{ page.title }}</h1>
<h1 class="posttitle">{{ page.title }}</h1>

</div>



<!-- Post Content -->
<div class="article-post serif-font">
Expand All @@ -49,15 +50,15 @@ <h1 class="posttitle">{{ page.title }}</h1>
<!-- Post Date -->
<p>
<small>
<span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>
<span class="post-date"><time class="post-date" datetime="{{ page.date | date:"%Y-%m-%d" }}">{{ page.date | date_to_string }}</time></span>
{% if page.last_modified_at %}
(Updated: <time datetime="{{ page.last_modified_at | date_to_xmlschema }}" itemprop="dateModified">{{ page.last_modified_at | date: "%b %-d, %Y" }}</time>)
{% endif %}
</small>
</p>



<!-- Prev/Next -->
<div class="row PageNavigation mt-4 prevnextlinks d-flex justify-content-between">
{% if page.previous.url %}
Expand All @@ -72,48 +73,52 @@ <h1 class="posttitle">{{ page.title }}</h1>
{% endif %}
</div>
<!-- End Prev/Next -->


<!-- Author Box -->
{% if page.author %}
<div class="row post-top-meta">
<div class="col-md-2">
<img class="author-thumb" src="{{site.baseurl}}/{{author.avatar}}" alt="{{ author.display_name }}">
</div>
<div class="col-md-10">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}




<!-- Author Box -->
{% if page.author %}
<div class="row post-top-meta">
<div class="col-xs-12 col-md-3 col-lg-2 text-center text-md-left mb-4 mb-md-0">
{% if author.avatar %}
<img class="author-thumb" src="{{site.baseurl}}/{{ author.avatar }}" alt="{{ author.display_name }}">
{% else %}
<img class="author-thumb" src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=250&d=mm&r=x" alt="{{ author.display_name }}">
{% endif %}
</div>
<div class="col-xs-12 col-md-9 col-lg-10 text-center text-md-left">
<a target="_blank" class="link-dark" href="{{ author.web }}">{{ author.display_name }}</a><a target="_blank" href="{{ author.twitter }}" class="btn follow">Follow</a>
<span class="author-description">{{ author.description }}</span>
</div>
</div>
{% endif %}


<!-- Begin Comments
================================================== -->
<section>
<div id="comments">
{% include disqus.html %}
<div id="comments">
{% include disqus.html %}
</div>
</section>
<!--End Comments
================================================== -->



</div>
<!-- End Post -->




<!-- Sidebar -->
<div class="col-sm-4">
{% include sidebar.html %}
</div>



</div>

<!-- End Article
================================================== -->
================================================== -->
2 changes: 1 addition & 1 deletion _posts/2020-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: nico
categories: [ Jekyll, tutorial ]
image: assets/images/3.jpg
---
Expand Down
3 changes: 2 additions & 1 deletion _posts/2020-01-12-we-all-wait-for-summer.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
layout: post
title: "We all wait for summer"
author: nico
categories: [ Jekyll, tutorial ]
image: assets/images/1.jpg
---
This is changed. As I engage in the so-called "bull sessions" around and about the school, I too often find that most college men have a misconception of the purpose of education. Most of the "brethren" think that <a href="#">education should equip</a> them with the proper instruments of exploitation so that they can forever trample over the masses. Still others think that education should furnish them with noble ends rather than means to an end.

It seems to me that education has a two-fold function to perform in the life of man and in society: the one is utility and the other is culture. Education must enable a man to become more efficient, to achieve with increasing facility the ligitimate goals of his life.
It seems to me that education has a two-fold function to perform in the life of man and in society: the one is utility and the other is culture. Education must enable a man to become more efficient, to achieve with increasing facility the ligitimate goals of his life.
Loading