Using Liquid in Jekyll - Live with Demos

Web Notes

2016.08.20

Using Liquid in Jekyll - Live with Demos

Liquid is a simple template language that Jekyll uses to process pages for your site. With Liquid you can output complex contents without additional plugins.

Related posts in Jekyll using pure Liquid

Web Notes

2016.07.13

Related posts in Jekyll using pure Liquid

Jekyll features a simple “Related posts” variable per post page with "site.related_posts", which just contains the 10 most recent posts by default. It only works perfectly when LSI (latent semantic indexing) option was enabled (slow building speed). The Liquid tags might be helpful here.

Host Jekyll site on Google Firebase with free SSL

Tutorials

2016.07.02

Host Jekyll site on Google Firebase with free SSL

Firebase Hosting is a developer focused static web hosting provider that is super fast, secure and reliable. You can quickly and easily deploy your static websites to a global content-delivery network (CDN) with a single command.

Install Jekyll on Windows with Chocolatey

Tutorials / Tools

2016.06.25

Install Jekyll on Windows with Chocolatey

In this installation guide we’ll be using Windows 10 & package manager Chocolatey. These instructions should also work for older versions of Windows.

使用 Disqus API 加载最近评论

Web Notes / JavaScript Notes

2016.04.13

使用 Disqus API 加载最近评论

Disqus 以前提供了最近评论的 JavaScript 代码,但是官方提示说不再继续支持,而是提供了新的 Disqus API 供开发者使用。那么我们好好把 Disqus API 用起来,做一个最近评论的列表吧。

HTML 相对路径和绝对路径区别分析

Web Notes

2015.09.26

HTML 相对路径和绝对路径区别分析

HTML 初学者会经常遇到这样一个问题,如何正确引用一个文件。比如,怎样在一个 HTML 网页中引用另外一个 HTML 网页作为超链接(hyperlink),怎样在一个网页中插入一张图片。如果你在引用文件时(如加入超链接,或者插入图片等),使用了错误的文件路径,就会导致引用失效(无法浏览链接文件,或无法显示插入的图片等)。

Ads by Google