Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
138 lines (98 sloc) 3.83 KB


ReAdABLE Source


put the code below in _config.yml (be carefull no tabs):

theme: jekyll-theme-leap-day
title: Welcome to 

To automate this update, you can use this script:

Red [
    Title: ""

; customize for your own blog (do not add tabs):
blog-properties: {
title: Welcome to My Bookmarks
description: MyBookmarks.Space

;instead of these two lines of code
;config-file: %_config.yml
;config: read config-file

;you can read and declare the file at once:
config: read (config-file: %_config.yml)
;or even (but less readable):
;config: read config-file: %_config.yml

unless find config "title" [
    append config blog-properties
    write config-file config

To make header clickable to return to home and have no-cache, put this code in _layouts\default.html (not _layout):

<!doctype html>
<html lang="{{ site.lang | default: "en-US" }}">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="CACHE-CONTROL" content="MAX-AGE=0"/>
    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
    <meta http-equiv="EXPIRES" content="Mon, 17 Sep 2012 12:00:00 GMT">

{% seo %}
    <link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
    <script src="" integrity="sha256-RTQy8VOmNlT6b2PIRur37p6JEBZUE7o8wPgMvu18MC4=" crossorigin="anonymous"></script>
    <script src="{{ '/assets/js/main.js' | relative_url }}"></script>
    <!--[if lt IE 9]>
      <script src="" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">


          <a href="/">
        <h1>{{ site.title | default: site.github.repository_name }}</h1>
        <p>{{ site.description | default: site.github.project_tagline }}</p>

      <div id="banner">
        <span id="logo"></span>

        <a href="{{ site.github.repository_url }}" class="button fork"><strong>View On GitHub</strong></a>
        {% if site.show_downloads %}
          <div class="downloads">
              <li><a href="{{ site.github.zip_url }}" class="button">ZIP</a></li>
              <li><a href="{{ site.github.tar_url }}" class="button">TAR</a></li>
        {% endif %}
      </div><!-- end banner -->

    <div class="wrapper">
        {{ content }}

        {% if site.github.is_project_page %}
          <p>Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
        {% endif %}
        <p><small>Hosted on GitHub Pages &mdash; Theme by <a href="">mattgraham</a></small></p>

    {% if site.google_analytics %}
        (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
        ga('create', '{{ site.google_analytics }}', 'auto');
        ga('send', 'pageview');
    {% endif %}