GithubHelp home page GithubHelp logo

jekyllDecent

Build Status MIT License Release v1.1.4

This is a blog template for a static site generator named Jekyll based on a Ghost template named Decent.

Demo Blog: GitHub generated site

Active Blog: jwillmer.de

Content

Screenshots

Home

Post

Installation

  • To generate/host the blog you need to install Jekyll.
  • For the plugins (github-pages) you need to install Bundler: gem install bundler
    • Open a command prompt and install the plugins (github-pages): bundle install
    • On Windows you will propably get an exception. To solve it you can read How to install Jekyll and pages-gem on Windows (x64) or you remove the plugins by deleting the Gemfile and delete all gems: from the _config.yml

Build

  • To build the static site you can use the generated site folder that Jekyll creates when you use jekyll serve or you can build it explicitly with jekyll build.
  • If you like to use GitHub to host your blog you can fork this project and publish the code to gh-pages. GitHub has jekyll included and will generate the site for you.

User Content

Blogposts can be written in Markdown.

  • The folder for blog content is _posts
  • For author details you need to modify ´_data/authors.yml`
  • For site properties (like the name) you need to modify _config.yml
  • For the about page you need to modify the about.md in _pages

After modifying *.yml files you need to restart jekyll to take effect.

Following (additional) features are supported in the header (YAML Front Matter) of each post:

---
title:         Example              #Page/post title
author:        jwillmer             #Page/post author
cover:         /assets/mountain.jpg #Optional: Posibillity to change cover on a post/page
redirect_from: /foo                 #Optional: Secondary url that will redirect to this page if GitHub-pages gem is installed!
visible:       false                #Optional: Hide page from listing in the menu.
weight:        5                    #Optional: Influence sorting of pages in the menu
menutitle:     Offline              #Optional: Use a secondary name in the menu (for page) or in the post list (for posts)
tags:          hallo welt           #Will be displayed as tags in posts and as keywords in the header
keywords       hallo welt           #Will only be used if no tags are defined or if it is a page (Don't use tags on pages!)
---

Features

The features described in this section are specific for this template. All other language features can be found in the kramdown documentation.

Image Features

Parallax Effect

Keep in mind that paralax effect will not be captured if you like to print the page.

<div class="bg-scroll" style="background-image: url('{{ site.github.url }}/media/img/mountain1.jpg')"></div>

Caption for Image

<figure>
![]({{ site.github.url }}/media/img/chen.jpg)
<figcaption>This is figcaption. A beautiful picture.</figcaption>
</figure>

Image Allignment

![]({{ site.github.url }}/media/img/untitled-9.gif#right)
![]({{ site.github.url }}/media/img/untitled-9.gif#left)

Allignment with caption

<figure class="left">
![]({{ site.github.url }}/media/img/chen.jpg)
<figcaption>hello world!</figcaption>
</figure>

Fullscreen image

<div class="large">
![]({{ site.github.url }}/media/img/DSC01093.JPG)
</div>

With caption

<figure class="large">
![]({{ site.github.url }}/media/img/DSC01135-1.jpg)
<figcaption>wow so handsome</figcaption>
</figure>

Image Gallery

<div class="album">
![]({{ site.github.url }}/media/img/Screenshot_2016-04-09-19-16-28.png)
![]({{ site.github.url }}/media/img/Screenshot_2016-04-02-00-48-25.png)
![]({{ site.github.url }}/media/img/Screenshot_2016-04-01-12-03-36.png)
![]({{ site.github.url }}/media/img/Screenshot_2016-04-01-12-01-33.png)
![]({{ site.github.url }}/media/img/Screenshot_2016-03-24-12-13-58.png)
![]({{ site.github.url }}/media/img/Screenshot_2016-03-17-22-50-05.png)
</div>

With caption

<div class="album">
<figure>
![]({{ site.github.url }}/media/img/wiebe.jpg)
<figcaption>wow so handsome</figcaption>
</figure>

<figure>
![]({{ site.github.url }}/media/img/day.jpg)
<figcaption>wow so handsome</figcaption>
</figure>

</div>

Sourcecode Features

With language highlighting

    ```html
    <script>
        var decentThemeConfig = {
            ga: 'YOUR TRACK ID'
        };
    </script>
    ```

With language highlighting, line numbers and line highlighting

<pre data-line="5" class="line-numbers language-javascript"><code>
Array.prototype.uniq = function () {
    var map = {};
    return this.filter(function (item) {
        if (map[item]) {
            return false;
        } else {
            map[item] = true;
            return true;
        }
    });
};
</code></pre>

Author in quote

> Our destiny offers not the cup of despair, but the chalice of opportunity. So let us seize it, not in fear, but in gladness.
> 
> <cite>——R.M. Nixon</cite>

PDF and PowerPoint integration

<iframe src='https://view.officeapps.live.com/op/embed.aspx?src=http://img.labnol.org/di/PowerPoint.ppt' frameborder='0'></iframe>

License

The theme is released under The MIT License (MIT).

The MIT License (MIT)

Copyright (c) 2016 Jens Willmer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.    

qiuyumo208's Projects

algorithm-pattern icon algorithm-pattern

算法模板,最科学的刷题方式,最快速的刷题路径,你值得拥有~

algorithm_interview_notes-chinese icon algorithm_interview_notes-chinese

2018/2019/校招/春招/秋招/算法/机器学习(Machine Learning)/深度学习(Deep Learning)/自然语言处理(NLP)/C/C++/Python/面试笔记

complex-nne_aer icon complex-nne_aer

Improving Knowledge Graph Embedding Using Simple Constraints (ACL-2108)

deeplearning-500-questions icon deeplearning-500-questions

深度学习500问,以问答形式对常用的概率知识、线性代数、机器学习、深度学习、计算机视觉等热点问题进行阐述,以帮助自己及有需要的读者。 全书分为18个章节,近30万字。由于水平有限,书中不妥之处恳请广大读者批评指正。 未完待续............ 如有意合作,联系[email protected] 版权所有,违权必究 Tan 2018.06

deeplearningexamples icon deeplearningexamples

State-of-the-Art Deep Learning scripts organized by models - easy to train and deploy with reproducible accuracy and performance on enterprise-grade infrastructure.

easyjob icon easyjob

:fire:2018互联网求职面试知识复习

flash-linux0.11-talk icon flash-linux0.11-talk

你管这破玩意叫操作系统源码 — 像小说一样品读 Linux 0.11 核心代码

go icon go

Algorithms Implemented in GoLang

hhne icon hhne

Source code for AAAI 2019 paper "Hyperbolic Heterogeneous Information Network Embedding"

hybed icon hybed

Neural hyperbolic embedding of graphs

poincaredisk icon poincaredisk

Drawing primitives in the hyperbolic Poincare Disk Model with Cairo

pytorch icon pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.