• Submit Ticket
  • My Tickets
Themeix Support Portal
  • Submit Ticket
  • My Tickets

Docs: Newsfeed Jekyll Theme

/Jekyll Themes / Newsfeed Jekyll Theme /
  • Newsfeed Jekyll Theme Introduction
  • Post front matter for newsfeed
  • Theme Layouts for Newsfeed Jekyll
  • Why my category / tag not wroking
  • Disqus Comment Settings for Jekyll Themes
  • Jekyll Theme Deployment

Newsfeed Jekyll Theme Introduction

Newsfeed is a Jekyll magazine template with a clean and modern look. It’s a perfect choice for news and magazine websites. The theme comes with a responsive layout, a touch of CSS3 to smooth animations, and a solid foundation to build on. Newsfeed comes with 6 different homepages and 3 blog post layouts


Open in New Tab

Post front matter for newsfeed

Here is an example of Newsfeed Jekyll theme post front matter formatting :

layout: post2
title: "The holding named diet present switching location"
post_id: 1
author_name: Themeix
author_id: 3
featured: true
date: 2018-03-02 8:14:30 +0600
tags: [education]
categories: [Trending,Recipe]
post_image: '/assets/images/home-4/blog-img1.jpg'
comments: true
excerpt: The and room. Know and nation question would the to copy. And leather and eyes human would collection.

Open in New Tab

Theme Layouts for Newsfeed Jekyll

This theme comes with 11 different layouts and styles for the inner pages.

  • 404.html
  • author.html
  • Update author.html
  • blog.html
  • blog2.html
  • category.html
  • default.html
  • no_header.html
  • post.html
  • post2.html
  • post3.html
  • tag.html

Open in New Tab

Why my category / tag not wroking

If you are having issue with category / tag then follow the tips bellow :

1) Check the post configuration and make sure you are using the correct settings make for tags and categories.

For Tag : tags For Category : categories

2) Check the text what you are using as category / tag. It should be english ( Bug Report Here : https://github.com/sverrirs/jekyll-paginate-v2/issues/171 )

3) Make sure you wrote your tags and category with comma separted.

Example :

tags: [wordpress, jekyll, ghost, themeix]

Open in New Tab

Disqus Comment Settings for Jekyll Themes

You need to change the shortname to use your own discuss comment system.

Open _includes/disqus_comment.html  or _includes/comments.html file, and change the XXXXX value on line number 15 with your Disqus account shortname.

s.src = '//XXXXX.disqus.com/embed.js';

So, if your Disqus shortname is example, the final code above should be

s.src = ‘//example.disqus.com/embed.js’;

<div id="disqus_thread"></div>
<script>

/**
*  RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
*  LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL;  // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://XXXXX.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<script id="dsq-count-scr" src="//XXXXXX.disqus.com/count.js" async></script>

That’s all you need to setup Disqus from the theme side. If you get any issue feel free contact us.


Open in New Tab

Jekyll Theme Deployment

To run our jekyll theme locally, navigate to the theme directory from your PC and run bundle install command in git client app. to install the dependencies, then run bundle exec jekyll serve to start the Jekyll server.

Here following some good resources to deploy jekyll :

  • Manual Deployment
  • Automated Deployment (Example: Travis CI, Circle CI, Buddy etc)
  • 3rd Party Deployment  (Example : Aerobatic, CloudCannon, Github Pages, Kickster, Netlify, Static Publisher)


Open in New Tab

©2016 - 2021 Themeix. All Rights Reserved.
Loading...

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.