From 9dc8718c6bb4a21c874189cf5c44cfd37e67081d Mon Sep 17 00:00:00 2001 From: "Martin \"Nexii\" Pitt" Date: Thu, 7 Jul 2022 15:55:31 +0100 Subject: [PATCH 1/3] Cleanup sections, temporarily disabling some for now. Renamed blog section articles throughout. --- _authors/martin.md | 2 +- _config.yml | 4 ++-- _data/settings.yml | 31 +++++++++++++++++-------------- _includes/pagination.html | 10 +++++----- _includes/section-blog.html | 2 +- {blog => articles}/index.html | 6 ++++-- 6 files changed, 30 insertions(+), 25 deletions(-) rename {blog => articles}/index.html (83%) diff --git a/_authors/martin.md b/_authors/martin.md index 8aa7c20..cb67fb1 100644 --- a/_authors/martin.md +++ b/_authors/martin.md @@ -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 --- diff --git a/_config.yml b/_config.yml index 9277c6e..f5b1e7c 100755 --- a/_config.yml +++ b/_config.yml @@ -13,7 +13,7 @@ plugins: - jekyll-sitemap paginate: 7 -paginate_path: "/blog/page/:num" +paginate_path: "/articles/page/:num" #------------------------------- @@ -24,7 +24,7 @@ collections: permalink: /:name posts: output: true - permalink: /blog/:slug + permalink: /articles/:slug authors: output: true permalink: /:name diff --git a/_data/settings.yml b/_data/settings.yml index 4c88d61..212e11a 100644 --- a/_data/settings.yml +++ b/_data/settings.yml @@ -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' @@ -22,8 +22,6 @@ menu__settings: title: 'About' - url: '/contact/' title: 'Contact' - - url: '/elements/' - title: 'Elements' #------------------------------- @@ -47,7 +45,7 @@ author: # Blog Section Settings blog__settings: enable: true - blog__title: Latest Posts + blog__title: Latest Articles blog__description: @@ -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 @@ -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 @@ -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/ @@ -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/' #------------------------------- diff --git a/_includes/pagination.html b/_includes/pagination.html index 89b0719..55cb674 100755 --- a/_includes/pagination.html +++ b/_includes/pagination.html @@ -7,9 +7,9 @@
{% if paginator.previous_page %} {% if paginator.previous_page == 1 %} - « + « {% else %} - « + « {% endif %} {% else %} @@ -20,20 +20,20 @@ {% if paginator.page == 1 %} 1 {% else %} - 1 + 1 {% endif %} {% for count in (2..paginator.total_pages) %} {% if count == paginator.page %} {{ count }} {% else %} - {{ count }} + {{ count }} {% endif %} {% endfor %}
{% if paginator.next_page %} - » + » {% else %} » {% endif %} diff --git a/_includes/section-blog.html b/_includes/section-blog.html index 3daa327..3d9587e 100644 --- a/_includes/section-blog.html +++ b/_includes/section-blog.html @@ -10,7 +10,7 @@

{{ site.data.settings.blog__settings.blog__title }}

- See all posts + See all posts
{% if site.data.settings.blog__settings.blog__description %}

{{ site.data.settings.blog__settings.blog__description }}

diff --git a/blog/index.html b/articles/index.html similarity index 83% rename from blog/index.html rename to articles/index.html index e7bb214..ad25625 100644 --- a/blog/index.html +++ b/articles/index.html @@ -1,7 +1,9 @@ --- 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 +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! --- From 3e1b60b78788880106d9e5ebe6e7d7df18ccd699 Mon Sep 17 00:00:00 2001 From: "Martin \"Nexii\" Pitt" Date: Thu, 7 Jul 2022 15:59:29 +0100 Subject: [PATCH 2/3] Remove facebook social and add codepen instead --- _authors/jeremy.md | 1 - _layouts/author.html | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/_authors/jeremy.md b/_authors/jeremy.md index 5f63c95..26e5088 100644 --- a/_authors/jeremy.md +++ b/_authors/jeremy.md @@ -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 --- diff --git a/_layouts/author.html b/_layouts/author.html index 19852cb..e7cf72b 100644 --- a/_layouts/author.html +++ b/_layouts/author.html @@ -36,6 +36,9 @@

{{ page.name }}

{% if page.facebook %} {% endif %} + {% if page.codepen %} + + {% endif %}
{{ content }} From b0e3e25e27b74d3fc9cdb4194aa51cc68b133526 Mon Sep 17 00:00:00 2001 From: "Martin \"Nexii\" Pitt" Date: Thu, 7 Jul 2022 16:03:17 +0100 Subject: [PATCH 3/3] Remove blog description --- articles/index.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/articles/index.html b/articles/index.html index ad25625..46abf8a 100644 --- a/articles/index.html +++ b/articles/index.html @@ -1,9 +1,6 @@ --- layout: default title: Articles -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! ---