David Dong

David Dong

Java/C/C#/Python

Java/C/C#/Python

  • posts

  • RawPosts - A theme for Jekyll

    RawPosts is a simple, elegant, and clean Jekyll theme. It is born from the creation of my blog website. It is designed with a fully responsive feature and can be deployed on Github Pages. I open-sourced this theme on Github with an MIT license, so it is free for use.

  • 关于本博客模板使用上的一些问题

    本博客使用了 RawPosts 主题模板,不时有网友在 fork 使用该主题的时候提出了一些问题,这里我将该主题的使用方法汇总成一篇帖子,方便大家参考。

  • Install python3.6 on ubuntu16.04

    Today I spent some time installing the python3.6 on my ubuntu16.04. Here is a short note for the process, which might be useful for anyone who wants to do the same thing.

  • Use jekyll-toc plugin on Github Pages

    Today I want to add an auto TOC (Table of Contents) function to my blog. I used to write TOC manually and it is really boring. I found a good plugin jekyll-toc in Github, which can fully meet my requirement.

  • Syntax Highlighting your code in Jekyll with Rouge

    Syntax highlighting is important (especially for programming blogs) because it improves the readability of posts. This article will introduce a syntax highlighter - Rouge.

  • How did I implement related posts function in my blog

    What will you learn in this post?
    This post introduced how to implement the related posts function with Jekyll.

  • Liquid grammar

    I recently used Liquid language to design my blog website. The Liquid is an open-source template language written in Ruby. This article is a short study note of Liquid and presented some main knowledge.

  • Calculate reading time in Jekyll

    I believe it is a good idea to estimate the reading time of every post and display it to readers following the post excerpts.

  • Archive in Jekyll

    After setting up the pagination, the next thing I wanted to add to my blog was a proper archive by both date and category rather than just the reverse-chronological list of posts. Although this wasn’t as straightforward as setting up pagination, a bit of searching turned up some sites that helped me get everything running.

  • Pagination in Jekyll

    If you don’t have pagination for your blog and you want to do it, this page is probably helpful to you.

  • Gitalk Usage

    If you are looking for a quick solution about how to add a comment function on your blog, this article probably can help you.

  • Mark一下 Markdown 语言的基本语法

    示例图片 最近在写博客的时候用到了 Markdown 语言,做为一个学习总结,有必要把常用的语法mark一下。