Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
Open
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
1 change: 0 additions & 1 deletion _authors/jeremy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ cover: '/images/07.jpg'
location: London, U.K.
website: https://www.jnpwebdeveloper.com
twitter: https://twitter.com/jnpwebdeveloper
facebook: https://www.facebook.com
---
2 changes: 1 addition & 1 deletion _authors/martin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ cover: '/images/07.jpg'
location: London, U.K.
website: https://nexii.dev
twitter: https://twitter.com/nexii
facebook: https://www.facebook.com
codepen: https://codepen.io/nexii
---
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins:
- jekyll-sitemap

paginate: 7
paginate_path: "/blog/page/:num"
paginate_path: "/articles/page/:num"


#-------------------------------
Expand All @@ -24,7 +24,7 @@ collections:
permalink: /:name
posts:
output: true
permalink: /blog/:slug
permalink: /articles/:slug
authors:
output: true
permalink: /:name
Expand Down
31 changes: 17 additions & 14 deletions _data/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ menu__settings:
menu__items:
- title: 'Home'
url: '/'
- title: 'Blog'
url: '/blog/'
- title: 'Articles'
url: '/articles/'
- title: 'Authors'
url: '/authors/'
- title: 'Pages'
Expand All @@ -22,8 +22,6 @@ menu__settings:
title: 'About'
- url: '/contact/'
title: 'Contact'
- url: '/elements/'
title: 'Elements'


#-------------------------------
Expand All @@ -47,7 +45,7 @@ author:
# Blog Section Settings
blog__settings:
enable: true
blog__title: Latest Posts
blog__title: Latest Articles
blog__description:


Expand All @@ -69,7 +67,7 @@ tag__settings:
#-------------------------------
# Author Section Settings
author__section:
enable: true
enable: false
author__section__title: Hello, my name is Alena. I’m reviewer and content creator.
author__section__description: I’m a published content creator, brand copywriter, photographer, and social media content creator and manager. I help brands connect with their customers by developing engaging content that entertains, educates, and offers value to their audience.
aurhor__section__button__text: More About Me
Expand All @@ -81,7 +79,7 @@ author__section:
#-------------------------------
# Newsletter Settings
mailchimp__settings:
enable: true
enable: false
mailchimp__title: Get interesting news
mailchimp__description: Subscribe to our newsletter and we’ll send you the emails of latest posts.
mailchimp__identifier: frnla.us6.list-manage.com/subscribe/post?u=6314d69a3f315af7ce3fb00a0&id=3038727cc3 # Add your MailChimp form identifier. For example - frnla.us6.list-manage.com/subscribe/post?u=6314d69a3f315af7ce3fb00a0&id=3038727cc3
Expand All @@ -97,11 +95,14 @@ footer__description: Don’t limit yourself. Many people limit themselves to wha

# Social Links
social:
- {icon: "twitter", link: "https://twitter.com"}
- {icon: "facebook", link: "https://facebook.com"}
- {icon: "codepen", link: "https://codepen.io"}
- {icon: "pinterest", link: "https://pinterest.com"}
- {icon: "vimeo", link: "https://vimeo.com"}
- {icon: "twitter", link: "https://twitter.com/jnpwebdeveloper"}
- {icon: "twitter", link: "https://twitter.com/Nexii"}
- {icon: "codepen", link: "https://codepen.io/nexii"}
# - {icon: "twitter", link: "https://twitter.com"}
# - {icon: "facebook", link: "https://facebook.com"}
# - {icon: "codepen", link: "https://codepen.io"}
# - {icon: "pinterest", link: "https://pinterest.com"}
# - {icon: "vimeo", link: "https://vimeo.com"}

# Example of adding a new link to the footer - {icon: "instagram", link: "https://instagram.com"}
# Other icons can be found at https://ionicons.com/v4/
Expand All @@ -112,12 +113,14 @@ footer__menu__settings:
menu__items:
- title: 'Home'
url: '/'
- title: 'Articles'
url: '/articles/'
- title: 'Authors'
url: '/authors/'
- title: 'About'
url: '/about/'
- title: 'Contact'
url: '/contact/'
- title: 'Elements'
url: '/elements/'


#-------------------------------
Expand Down
10 changes: 5 additions & 5 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<div class="pagination__list">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="previous-link" href="/blog/">&laquo;</a>
<a class="previous-link" href="/articles/">&laquo;</a>
{% else %}
<a class="previous-link" href="/blog/page/{{ paginator.previous_page }}/">&laquo;</a>
<a class="previous-link" href="/articles/page/{{ paginator.previous_page }}/">&laquo;</a>
{% endif %}

{% else %}
Expand All @@ -20,20 +20,20 @@
{% if paginator.page == 1 %}
<span class="active-link">1</span>
{% else %}
<a class="back-link" href="/blog/">1</a>
<a class="back-link" href="/articles/">1</a>
{% endif %}
{% for count in (2..paginator.total_pages) %}

{% if count == paginator.page %}
<span class="active-link">{{ count }}</span>
{% else %}
<a class="count-number" href="/blog/page/{{ count }}/">{{ count }}</a>
<a class="count-number" href="/articles/page/{{ count }}/">{{ count }}</a>
{% endif %}
{% endfor %}
</div>

{% if paginator.next_page %}
<a class="next-link" href="{{ site.baseurl }}/blog/page/{{ paginator.next_page }}/">&raquo;</a>
<a class="next-link" href="{{ site.baseurl }}/articles/page/{{ paginator.next_page }}/">&raquo;</a>
{% else %}
<span class="disabled">&raquo;</span>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/section-blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="section__info">
<div class="section__head">
<h2 class="section__title">{{ site.data.settings.blog__settings.blog__title }}</h2>
<a class="section__link" href="{{ '/blog' | relative_url }}">See all posts<i class="ion ion-md-arrow-forward"></i></a>
<a class="section__link" href="{{ '/articles' | relative_url }}">See all posts<i class="ion ion-md-arrow-forward"></i></a>
</div>
{% if site.data.settings.blog__settings.blog__description %}
<p class="section__description">{{ site.data.settings.blog__settings.blog__description }}</p>
Expand Down
3 changes: 3 additions & 0 deletions _layouts/author.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ <h1 class="author__name">{{ page.name }}</h1>
{% if page.facebook %}
<a class="author__social__item" href="{{ page.facebook }}" aria-label="Facebook link"><i class="ion ion-logo-facebook"></i> Facebook</a>
{% endif %}
{% if page.codepen %}
<a class="author__social__item" href="{{ page.codepen }}" aria-label="Codepen link"><i class="ion ion-logo-codepen"></i> Codepen</a>
{% endif %}
</div>

{{ content }}
Expand Down
3 changes: 1 addition & 2 deletions blog/index.html → articles/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: default
title: Blog
description: Laruso blog features productivity, tips, inspiration and strategies for massive profits. Find out how to set up a successful blog or how to make yours even better!
title: Articles
---

<!-- begin hero -->
Expand Down