jambi 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/README.md +47 -2
 - data/_includes/accounts.html +8 -8
 - data/_includes/analytics.html +11 -0
 - data/_includes/article-header.html +12 -0
 - data/_includes/article-summary.html +3 -13
 - data/_includes/footer.html +4 -1
 - data/_layouts/post.html +1 -9
 - data/_sass/ui/article-list/_base.scss +4 -0
 - metadata +5 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 65ce58c537f627f70280d70cdab1723b6c7d3e78
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: b63b0453dc20c02d536612fb0d6c9c054296863e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: dfb84122f60758c43fdbe116aab95d2cc1feed44b6edbef00483d96bf904a2af21f2d58ef47611bf892a9c32fe0b99a2be7bfba0dee8d7fd1c2a9782ad404607
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3d6aefdeb0157791538c99f64f0e8e043aab603d73c14d635f3da4caefcff564d95dcf18b822d5e794d17214d5ebc90d04332e996ccc85eee1fdd7d870e6a59b
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # jambi
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            A minimal Jekyll theme for documenting things you've  
     | 
| 
      
 3 
     | 
    
         
            +
            A minimal Jekyll theme for documenting things you've created.
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
5 
     | 
    
         
             
            ## Installation
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
         @@ -26,7 +26,52 @@ Or install it yourself as: 
     | 
|
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
            ## Usage
         
     | 
| 
       28 
28 
     | 
    
         | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
      
 29 
     | 
    
         
            +
            ## Customizing
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            ### Configuration variables
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
            After installation, copy (then customize) these settings into your site's `_.config.yml` file:
         
     | 
| 
      
 34 
     | 
    
         
            +
             
     | 
| 
      
 35 
     | 
    
         
            +
            ```yaml
         
     | 
| 
      
 36 
     | 
    
         
            +
            # Jambi settings
         
     | 
| 
      
 37 
     | 
    
         
            +
            me:
         
     | 
| 
      
 38 
     | 
    
         
            +
              name: Your Name
         
     | 
| 
      
 39 
     | 
    
         
            +
              tagline: These are the things I create
         
     | 
| 
      
 40 
     | 
    
         
            +
              photo: "/images/header/me.jpg"
         
     | 
| 
      
 41 
     | 
    
         
            +
            google_analytics: UA-XXXXXXXXX-X
         
     | 
| 
      
 42 
     | 
    
         
            +
            excerpt_separator: <!--more-->  # you can specify your own separator, of course.
         
     | 
| 
      
 43 
     | 
    
         
            +
            permalink: pretty
         
     | 
| 
      
 44 
     | 
    
         
            +
            highlighter: rouge
         
     | 
| 
      
 45 
     | 
    
         
            +
            sass:
         
     | 
| 
      
 46 
     | 
    
         
            +
              style: compressed
         
     | 
| 
      
 47 
     | 
    
         
            +
            defaults:
         
     | 
| 
      
 48 
     | 
    
         
            +
              -
         
     | 
| 
      
 49 
     | 
    
         
            +
                scope:
         
     | 
| 
      
 50 
     | 
    
         
            +
                  path: ""
         
     | 
| 
      
 51 
     | 
    
         
            +
                  type: "posts"
         
     | 
| 
      
 52 
     | 
    
         
            +
                values:
         
     | 
| 
      
 53 
     | 
    
         
            +
                  layout: "post"
         
     | 
| 
      
 54 
     | 
    
         
            +
              -
         
     | 
| 
      
 55 
     | 
    
         
            +
                scope:
         
     | 
| 
      
 56 
     | 
    
         
            +
                  path: ""
         
     | 
| 
      
 57 
     | 
    
         
            +
                  type: "pages"
         
     | 
| 
      
 58 
     | 
    
         
            +
                values:
         
     | 
| 
      
 59 
     | 
    
         
            +
                  layout: "page"
         
     | 
| 
      
 60 
     | 
    
         
            +
            ```
         
     | 
| 
      
 61 
     | 
    
         
            +
             
     | 
| 
      
 62 
     | 
    
         
            +
            ### Stylesheet
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
            If you'd like to add your own custom styles:
         
     | 
| 
      
 65 
     | 
    
         
            +
             
     | 
| 
      
 66 
     | 
    
         
            +
            1. Create a file called `/assets/css/style.scss` in your site
         
     | 
| 
      
 67 
     | 
    
         
            +
            2. Add the following content to the top of the file, exactly as shown:
         
     | 
| 
      
 68 
     | 
    
         
            +
                ```scss
         
     | 
| 
      
 69 
     | 
    
         
            +
                ---
         
     | 
| 
      
 70 
     | 
    
         
            +
                ---
         
     | 
| 
      
 71 
     | 
    
         
            +
             
     | 
| 
      
 72 
     | 
    
         
            +
                @import "{{ site.theme }}";
         
     | 
| 
      
 73 
     | 
    
         
            +
                ```
         
     | 
| 
      
 74 
     | 
    
         
            +
            3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
         
     | 
| 
       30 
75 
     | 
    
         | 
| 
       31 
76 
     | 
    
         
             
            ## Contributing
         
     | 
| 
       32 
77 
     | 
    
         | 
    
        data/_includes/accounts.html
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            <p class="usernames">
         
     | 
| 
       2 
     | 
    
         
            -
              {% if site. 
     | 
| 
       3 
     | 
    
         
            -
                <a href="https://github.com/{{ site. 
     | 
| 
      
 2 
     | 
    
         
            +
              {% if site.github_username %}
         
     | 
| 
      
 3 
     | 
    
         
            +
                <a href="https://github.com/{{ site.github_username }}"><i class="github"></i></a>
         
     | 
| 
       4 
4 
     | 
    
         
             
              {% endif %}
         
     | 
| 
       5 
     | 
    
         
            -
              {% if site. 
     | 
| 
       6 
     | 
    
         
            -
                <a href="https://twitter.com/{{ site. 
     | 
| 
      
 5 
     | 
    
         
            +
              {% if site.twitter_username %}
         
     | 
| 
      
 6 
     | 
    
         
            +
                <a href="https://twitter.com/{{ site.twitter_username }}"><i class="twitter"></i></a>
         
     | 
| 
       7 
7 
     | 
    
         
             
              {% endif %}
         
     | 
| 
       8 
     | 
    
         
            -
              {% if site. 
     | 
| 
       9 
     | 
    
         
            -
                <a href="https://linkedin.com/{{ site. 
     | 
| 
      
 8 
     | 
    
         
            +
              {% if site.linkedin_username %}
         
     | 
| 
      
 9 
     | 
    
         
            +
                <a href="https://linkedin.com/{{ site.linkedin_username }}"><i class="linkedin"></i></a>
         
     | 
| 
       10 
10 
     | 
    
         
             
              {% endif %}
         
     | 
| 
       11 
     | 
    
         
            -
              {% if site. 
     | 
| 
       12 
     | 
    
         
            -
                <a class="email" href="mailto:{{ site. 
     | 
| 
      
 11 
     | 
    
         
            +
              {% if site.email %}
         
     | 
| 
      
 12 
     | 
    
         
            +
                <a class="email" href="mailto:{{ site.email }}">{{ site.email }}</a>
         
     | 
| 
       13 
13 
     | 
    
         
             
              {% endif %}
         
     | 
| 
       14 
14 
     | 
    
         
             
            </p>
         
     | 
| 
         @@ -0,0 +1,11 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {% if site.google_analytics %}
         
     | 
| 
      
 2 
     | 
    
         
            +
              <script>
         
     | 
| 
      
 3 
     | 
    
         
            +
                (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
         
     | 
| 
      
 4 
     | 
    
         
            +
                (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
         
     | 
| 
      
 5 
     | 
    
         
            +
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
         
     | 
| 
      
 6 
     | 
    
         
            +
                })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
                ga('create', '{{ site.google_analytics }}', 'auto');
         
     | 
| 
      
 9 
     | 
    
         
            +
                ga('send', 'pageview');
         
     | 
| 
      
 10 
     | 
    
         
            +
              </script>
         
     | 
| 
      
 11 
     | 
    
         
            +
            {% endif %}
         
     | 
| 
         @@ -0,0 +1,12 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            <header>
         
     | 
| 
      
 2 
     | 
    
         
            +
              <h1 itemprop="name headline">{{ include.post.title | escape }}</h1>
         
     | 
| 
      
 3 
     | 
    
         
            +
              {% if include.post.subtitle %}
         
     | 
| 
      
 4 
     | 
    
         
            +
                <h2>{{ include.post.subtitle | escape }}</h2>
         
     | 
| 
      
 5 
     | 
    
         
            +
              {% endif %}
         
     | 
| 
      
 6 
     | 
    
         
            +
              <p class="info">
         
     | 
| 
      
 7 
     | 
    
         
            +
                <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.post.date | date: "%b %-d, %Y" }}</time>
         
     | 
| 
      
 8 
     | 
    
         
            +
                {% if include.post.category %}
         
     | 
| 
      
 9 
     | 
    
         
            +
                  <category>{{ include.post.category }}</category>
         
     | 
| 
      
 10 
     | 
    
         
            +
                {% endif %}
         
     | 
| 
      
 11 
     | 
    
         
            +
              </p>
         
     | 
| 
      
 12 
     | 
    
         
            +
            </header>
         
     | 
| 
         @@ -1,21 +1,11 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            <article>
         
     | 
| 
      
 1 
     | 
    
         
            +
            <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
         
     | 
| 
       2 
2 
     | 
    
         
             
              <a class="article-link" href="{{ include.post.url }}">
         
     | 
| 
       3 
     | 
    
         
            -
                 
     | 
| 
       4 
     | 
    
         
            -
                  <h1>{{ include.post.title | escape }}</h1>
         
     | 
| 
       5 
     | 
    
         
            -
                  {% if include.post.subtitle %}
         
     | 
| 
       6 
     | 
    
         
            -
                    <h2>{{ include.post.subtitle | escape }}</h2>
         
     | 
| 
       7 
     | 
    
         
            -
                  {% endif %}
         
     | 
| 
       8 
     | 
    
         
            -
                  <p class="info">
         
     | 
| 
       9 
     | 
    
         
            -
                    <time>{{ include.post.date | date: "%b %-d, %Y" }}</time>
         
     | 
| 
       10 
     | 
    
         
            -
                    {% if include.category %}
         
     | 
| 
       11 
     | 
    
         
            -
                      <category>{{ include.post.category }}</category>
         
     | 
| 
       12 
     | 
    
         
            -
                    {% endif %}
         
     | 
| 
       13 
     | 
    
         
            -
                  </p>
         
     | 
| 
       14 
     | 
    
         
            -
                </header>
         
     | 
| 
      
 3 
     | 
    
         
            +
                {% include article-header.html post=include.post %}
         
     | 
| 
       15 
4 
     | 
    
         
             
                <content>
         
     | 
| 
       16 
5 
     | 
    
         
             
                  <excerpt>
         
     | 
| 
       17 
6 
     | 
    
         
             
                    {{ include.post.excerpt }}
         
     | 
| 
       18 
7 
     | 
    
         
             
                  </excerpt>
         
     | 
| 
      
 8 
     | 
    
         
            +
                  <ellipsis>...</ellipsis>
         
     | 
| 
       19 
9 
     | 
    
         
             
                </content>
         
     | 
| 
       20 
10 
     | 
    
         
             
              </a>
         
     | 
| 
       21 
11 
     | 
    
         
             
            </article>
         
     | 
    
        data/_includes/footer.html
    CHANGED
    
    
    
        data/_layouts/post.html
    CHANGED
    
    | 
         @@ -2,15 +2,7 @@ 
     | 
|
| 
       2 
2 
     | 
    
         
             
            layout: default
         
     | 
| 
       3 
3 
     | 
    
         
             
            ---
         
     | 
| 
       4 
4 
     | 
    
         
             
            <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
         
     | 
| 
       5 
     | 
    
         
            -
               
     | 
| 
       6 
     | 
    
         
            -
                <h1 itemprop="name headline">{{ page.title | escape }}</h1>
         
     | 
| 
       7 
     | 
    
         
            -
                {% if page.subtitle %}
         
     | 
| 
       8 
     | 
    
         
            -
                  <h2>{{ page.subtitle | escape }}</h2>
         
     | 
| 
       9 
     | 
    
         
            -
                {% endif %}
         
     | 
| 
       10 
     | 
    
         
            -
                <time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
         
     | 
| 
       11 
     | 
    
         
            -
                  {{ page.date | date: "%b %-d, %Y" }}
         
     | 
| 
       12 
     | 
    
         
            -
                </time>
         
     | 
| 
       13 
     | 
    
         
            -
              </header>
         
     | 
| 
      
 5 
     | 
    
         
            +
              {% include article-header.html post=page %}
         
     | 
| 
       14 
6 
     | 
    
         
             
              <content itemprop="articleBody">
         
     | 
| 
       15 
7 
     | 
    
         
             
                {{ content }}
         
     | 
| 
       16 
8 
     | 
    
         
             
              </content>
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: jambi
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.2.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Adam Draper
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2017-07- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2017-07-11 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: jekyll
         
     | 
| 
         @@ -62,6 +62,8 @@ files: 
     | 
|
| 
       62 
62 
     | 
    
         
             
            - LICENSE.txt
         
     | 
| 
       63 
63 
     | 
    
         
             
            - README.md
         
     | 
| 
       64 
64 
     | 
    
         
             
            - _includes/accounts.html
         
     | 
| 
      
 65 
     | 
    
         
            +
            - _includes/analytics.html
         
     | 
| 
      
 66 
     | 
    
         
            +
            - _includes/article-header.html
         
     | 
| 
       65 
67 
     | 
    
         
             
            - _includes/article-summary.html
         
     | 
| 
       66 
68 
     | 
    
         
             
            - _includes/footer.html
         
     | 
| 
       67 
69 
     | 
    
         
             
            - _includes/head.html
         
     | 
| 
         @@ -116,5 +118,5 @@ rubyforge_project: 
     | 
|
| 
       116 
118 
     | 
    
         
             
            rubygems_version: 2.6.11
         
     | 
| 
       117 
119 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       118 
120 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       119 
     | 
    
         
            -
            summary: A minimal Jekyll theme for documenting things you've  
     | 
| 
      
 121 
     | 
    
         
            +
            summary: A minimal Jekyll theme for documenting things you've created.
         
     | 
| 
       120 
122 
     | 
    
         
             
            test_files: []
         
     |