├── .gitignore ├── LICENSE.md ├── README.md ├── _config.yml ├── _layouts ├── default.html └── post.html ├── _posts ├── 2014-04-01-test-styles.md ├── 2014-05-05-sportdb-update-v192.md ├── 2014-10-14-new-repo-baviria-bayern.md ├── 2014-10-21-sql-views.md ├── 2014-11-11-new-repo-maps.md ├── 2014-12-15-quick-starter-datafiles.md └── 2015-01-31-welcome.md ├── archive.html ├── css ├── _settings.scss └── style.scss ├── feed.xml └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | _site/ 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | CC0 1.0 Universal 2 | 3 | Statement of Purpose 4 | 5 | The laws of most jurisdictions throughout the world automatically confer 6 | exclusive Copyright and Related Rights (defined below) upon the creator and 7 | subsequent owner(s) (each and all, an "owner") of an original work of 8 | authorship and/or a database (each, a "Work"). 9 | 10 | Certain owners wish to permanently relinquish those rights to a Work for the 11 | purpose of contributing to a commons of creative, cultural and scientific 12 | works ("Commons") that the public can reliably and without fear of later 13 | claims of infringement build upon, modify, incorporate in other works, reuse 14 | and redistribute as freely as possible in any form whatsoever and for any 15 | purposes, including without limitation commercial purposes. These owners may 16 | contribute to the Commons to promote the ideal of a free culture and the 17 | further production of creative, cultural and scientific works, or to gain 18 | reputation or greater distribution for their Work in part through the use and 19 | efforts of others. 20 | 21 | For these and/or other purposes and motivations, and without any expectation 22 | of additional consideration or compensation, the person associating CC0 with a 23 | Work (the "Affirmer"), to the extent that he or she is an owner of Copyright 24 | and Related Rights in the Work, voluntarily elects to apply CC0 to the Work 25 | and publicly distribute the Work under its terms, with knowledge of his or her 26 | Copyright and Related Rights in the Work and the meaning and intended legal 27 | effect of CC0 on those rights. 28 | 29 | 1. Copyright and Related Rights. A Work made available under CC0 may be 30 | protected by copyright and related or neighboring rights ("Copyright and 31 | Related Rights"). Copyright and Related Rights include, but are not limited 32 | to, the following: 33 | 34 | i. the right to reproduce, adapt, distribute, perform, display, communicate, 35 | and translate a Work; 36 | 37 | ii. moral rights retained by the original author(s) and/or performer(s); 38 | 39 | iii. publicity and privacy rights pertaining to a person's image or likeness 40 | depicted in a Work; 41 | 42 | iv. rights protecting against unfair competition in regards to a Work, 43 | subject to the limitations in paragraph 4(a), below; 44 | 45 | v. rights protecting the extraction, dissemination, use and reuse of data in 46 | a Work; 47 | 48 | vi. database rights (such as those arising under Directive 96/9/EC of the 49 | European Parliament and of the Council of 11 March 1996 on the legal 50 | protection of databases, and under any national implementation thereof, 51 | including any amended or successor version of such directive); and 52 | 53 | vii. other similar, equivalent or corresponding rights throughout the world 54 | based on applicable law or treaty, and any national implementations thereof. 55 | 56 | 2. Waiver. To the greatest extent permitted by, but not in contravention of, 57 | applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and 58 | unconditionally waives, abandons, and surrenders all of Affirmer's Copyright 59 | and Related Rights and associated claims and causes of action, whether now 60 | known or unknown (including existing as well as future claims and causes of 61 | action), in the Work (i) in all territories worldwide, (ii) for the maximum 62 | duration provided by applicable law or treaty (including future time 63 | extensions), (iii) in any current or future medium and for any number of 64 | copies, and (iv) for any purpose whatsoever, including without limitation 65 | commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes 66 | the Waiver for the benefit of each member of the public at large and to the 67 | detriment of Affirmer's heirs and successors, fully intending that such Waiver 68 | shall not be subject to revocation, rescission, cancellation, termination, or 69 | any other legal or equitable action to disrupt the quiet enjoyment of the Work 70 | by the public as contemplated by Affirmer's express Statement of Purpose. 71 | 72 | 3. Public License Fallback. Should any part of the Waiver for any reason be 73 | judged legally invalid or ineffective under applicable law, then the Waiver 74 | shall be preserved to the maximum extent permitted taking into account 75 | Affirmer's express Statement of Purpose. In addition, to the extent the Waiver 76 | is so judged Affirmer hereby grants to each affected person a royalty-free, 77 | non transferable, non sublicensable, non exclusive, irrevocable and 78 | unconditional license to exercise Affirmer's Copyright and Related Rights in 79 | the Work (i) in all territories worldwide, (ii) for the maximum duration 80 | provided by applicable law or treaty (including future time extensions), (iii) 81 | in any current or future medium and for any number of copies, and (iv) for any 82 | purpose whatsoever, including without limitation commercial, advertising or 83 | promotional purposes (the "License"). The License shall be deemed effective as 84 | of the date CC0 was applied by Affirmer to the Work. Should any part of the 85 | License for any reason be judged legally invalid or ineffective under 86 | applicable law, such partial invalidity or ineffectiveness shall not 87 | invalidate the remainder of the License, and in such case Affirmer hereby 88 | affirms that he or she will not (i) exercise any of his or her remaining 89 | Copyright and Related Rights in the Work or (ii) assert any associated claims 90 | and causes of action with respect to the Work, in either case contrary to 91 | Affirmer's express Statement of Purpose. 92 | 93 | 4. Limitations and Disclaimers. 94 | 95 | a. No trademark or patent rights held by Affirmer are waived, abandoned, 96 | surrendered, licensed or otherwise affected by this document. 97 | 98 | b. Affirmer offers the Work as-is and makes no representations or warranties 99 | of any kind concerning the Work, express, implied, statutory or otherwise, 100 | including without limitation warranties of title, merchantability, fitness 101 | for a particular purpose, non infringement, or the absence of latent or 102 | other defects, accuracy, or the present or absence of errors, whether or not 103 | discoverable, all to the greatest extent permissible under applicable law. 104 | 105 | c. Affirmer disclaims responsibility for clearing rights of other persons 106 | that may apply to the Work or any use thereof, including without limitation 107 | any person's Copyright and Related Rights in the Work. Further, Affirmer 108 | disclaims responsibility for obtaining any necessary consents, permissions 109 | or other rights required for any use of the Work. 110 | 111 | d. Affirmer understands and acknowledges that Creative Commons is not a 112 | party to this document and has no duty or obligation with respect to this 113 | CC0 or use of the Work. 114 | 115 | For more information, please see 116 | 117 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # What's `jekyll-minimal-theme`? 2 | 3 | It's another minimal(istic) Jekyll static site generator theme, 4 | that is, a ready-to-fork template pack. 5 | 6 | See a live demo @ [`henrythemes.github.io/jekyll-minimal-theme` »](http://henrythemes.github.io/jekyll-minimal-theme) 7 | 8 | For example: 9 | 10 | ``` 11 | ├── _config.yml # site configuration 12 | ├── _posts # sample blog posts 13 | | ├── 2014-05-05-sportdb-update-v192.md # filename format: 14 | | ├── 2014-10-10-new-repo-baviria-bayern.md # => YEAR-MONTH-DAY-TITLE.MARKUP 15 | | ├── 2014-10-21-sql-views.md 16 | | ├── 2014-11-11-new-reop-maps.md 17 | | └── 2014-12-15-quick-starter-datafiles.md 18 | ├── _layouts 19 | | ├── default.html # master layout template 20 | | └── post.html # single blog post template 21 | ├── css 22 | | ├── _settings.scss # style settings (e.g. variables) 23 | | └── style.scss # master style page 24 | ├── feed.xml # web feed template (e.g. in atom format) 25 | ├── archive.html # archive template 26 | └── index.html # index template 27 | ``` 28 | 29 | will result in (with `permalink: /:title.html`): 30 | 31 | ``` 32 | └── _site # output build folder; site gets generated here 33 | ├── css 34 | | └── style.css # styles for pages (copied 1:1 as is) 35 | ├── sportdb-update-v192.html # blog post page 36 | ├── new-repo-baviria-bayern.html # another blog post page 37 | ├── sql-views.html # "" 38 | ├── new-repo-maps.html # "" 39 | ├── quick-starter-datafiles.html # "" 40 | ├── feed.xml # web feed (e.g. in atom format) 41 | ├── archive.html # archive page 42 | └── index.html # index page 43 | ``` 44 | 45 | 46 | ## Usage 47 | 48 | To use - delete all sample posts in the `_posts` folder and 49 | change the settings in `_config.yml` to use your own `site.title` 50 | and `site.url`: 51 | 52 | ``` 53 | title: 'Jekyll Minimal Theme' 54 | url: 'http://henrythemes.github.io/jekyll-minimal-theme' 55 | author: 56 | name: 'Jekyll Minimal Theme Team' 57 | ``` 58 | 59 | 60 | ## Color n Typography Settings (in `css/_settings.scss`) 61 | 62 | Typography (Fonts): 63 | 64 | ~~~ 65 | $font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 66 | 67 | $code-font-family: Menlo, Monaco, "Courier New", monospace; 68 | ~~~ 69 | 70 | Colors: 71 | 72 | ~~~ 73 | $masthead-color: #505050; 74 | $masthead-small-color: #C0C0C0; 75 | 76 | $post-title-color: #303030; 77 | $post-date-color: #9a9a9a; 78 | 79 | 80 | $body-color: #515151; 81 | $body-background-color: #fff; 82 | 83 | $link-color: #268bd2; 84 | 85 | $headings-color: #313131; // h1,h2,h3,h4,h5,h6 86 | 87 | $strong-color: #303030; // strong 88 | 89 | $pre-background-color: #f9f9f9; // pre 90 | 91 | $blockquote-color: #7a7a7a; // blockquote 92 | $blockquote-border-color: #e5e5e5; 93 | 94 | $table-border-color: #e5e5e5; 95 | $table-odd-background-color: #f9f9f9; 96 | ~~~ 97 | 98 | A big thanks to the Poole theme; the `jekyll-minimal-theme` started out w/ 99 | the typography and color settings from the Poole theme. 100 | 101 | 102 | ## Alternative (Minimal) Jekyll Themes 103 | 104 | - Poole Theme by Mark Otto - [(Source)](https://github.com/poole/poole) 105 | 106 | - Pixyll Theme by John Otander - [(Source)](https://github.com/johnotander/pixyll) 107 | 108 | ~~~ 109 | in _main.scss: 110 | font-family: "Merriweather", "PT Serif", Georgia, "Times New Roman", serif; 111 | code-font-family: Menlo, Monaco, "Courier New", monospace; 112 | h1-h6|button|form|pagination|footer -font-family: 113 | 'Lato', 'Helvetica Neue', Helvetica, sans-serif; 114 | 115 | in _basscss.scss: 116 | font-family: 'Helvetica Neue', Helvetica, sans-serif; 117 | ~~~ 118 | 119 | - Hikari Theme by Mathieu Mayer-Mazzoli - [(Source)](https://github.com/m3xm/hikari-for-Jekyll) 120 | 121 | ~~~ 122 | in components/_syntax.scss: 123 | code-font-family: 'Courier', monospace; 124 | in base/_variables.scss: 125 | font-family: 'Open Sans', sans-serif; 126 | variant-font-family: 'Lora', Georgia, serif; 127 | in base/_global.scss: 128 | h1-h6-font-family: 'Open Sans', sans-serif; 129 | in base/_reset.scss: 130 | font-family: sans-serif; 131 | code-font-family: monospace, monospace; 132 | ~~~ 133 | 134 | 135 | ### More Themes 136 | 137 | See the [Dr. Jekyll's Themes](https://drjekyllthemes.github.io) directory. 138 | 139 | ### More Quick Starter Wizard Scripts 140 | 141 | See the [Mr. Hyde's Scripts](https://github.com/mrhydescripts/scripts) library. 142 | 143 | 144 | ## License 145 | 146 | ![](https://publicdomainworks.github.io/buttons/zero88x31.png) 147 | The theme and scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever. 148 | 149 | ## Questions? Comments? 150 | 151 | Send them along to the [wwwmake forum](http://groups.google.com/group/wwwmake). 152 | Thanks! 153 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | ########### 2 | # site.title, site.url, site.author.name 3 | 4 | title: 'Jekyll Minimal Theme' 5 | author: 6 | name: 'Jekyll Minimal Theme Team' 7 | 8 | ## note: 9 | # use site.path in your templates to make it work for both protocols e.g. http and https 10 | # use site.url only inside the web feed template (e.g. requires full url incl. protocol) 11 | path: /jekyll-minimal-theme 12 | url: 'http://henrythemes.github.io/jekyll-minimal-theme' 13 | 14 | 15 | ######## 16 | # more settings 17 | 18 | markdown: kramdown 19 | 20 | sass: 21 | sass_dir: css 22 | style: expanded 23 | 24 | permalink: /:title.html 25 | 26 | exclude: 27 | - README.md 28 | 29 | 30 | safe: true 31 | lsi: false 32 | 33 | -------------------------------------------------------------------------------- /_layouts/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {{ page.title }} - {{ site.title }} 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |

14 | {{ site.title }} 15 | 16 |    Archive 17 | 18 | 19 |    Feed 20 | 21 | 22 |    About 23 | 24 |

25 |
26 | 27 |
28 | {{ content }} 29 |
30 | 31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /_layouts/post.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | --- 4 | 5 |
6 |

{{ page.title }}

7 | 8 | {{ content }} 9 |
10 | 11 | -------------------------------------------------------------------------------- /_posts/2014-04-01-test-styles.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Test Theme Styles" 4 | --- 5 | 6 | # Heading 1 7 | 8 | ## Heading 2 9 | 10 | ### Heading 3 11 | 12 | #### Heading 4 13 | 14 | ##### Heading 5 15 | 16 | ###### Heading 6 17 | 18 | 19 | **Strange Case of Dr Jekyll and Mr Hyde** is the original 20 | title of a novella written by the Scottish author Robert Louis Stevenson 21 | that was first published in 1886. The work is commonly known today as 22 | **The Strange Case of Dr. Jekyll and Mr. Hyde**, 23 | **Dr. Jekyll and Mr. Hyde**, or simply 24 | **Jekyll & Hyde**. 25 | It is about a London lawyer named Gabriel John Utterson 26 | who investigates strange occurrences between 27 | his old friend, Dr. Henry Jekyll, and the evil Edward Hyde. 28 | 29 | The work is commonly associated with the rare mental condition often called 30 | "split personality", referred to in psychiatry as dissociative identity disorder, 31 | where within the same body there exists more than one distinct personality. 32 | In this case, there are two personalities within Dr Jekyll, one apparently good 33 | and the other evil. The novella's impact is such that it has become a part of 34 | the language, with the very phrase "Jekyll and Hyde" coming to mean a person 35 | who is vastly different in moral character from one situation to the next. 36 | 37 | **Inspiration and writing** 38 | 39 | Robert Louis Stevenson Stevenson had long been intrigued by the idea... 40 | 41 | **Plot** 42 | 43 | John Utterson, a lawyer, is on his weekly walk with his relative... 44 | 45 | 46 | ### Lists 47 | 48 | Table of Contents: 49 | 50 | 1. Inspiration and writing 51 | 2. Plot 52 | 3. Characters 53 | 1. Dr. Henry Jekyll/Edward Hyde 54 | 2. Gabriel John Utterson 55 | 3. Richard Enfield 56 | 4. Dr. Hastie Lanyon 57 | 5. Mr. Poole 58 | 6. Inspector Newcomen 59 | 7. Sir Danvers Carew, MP 60 | 8. Maid 61 | 4. Analysis 62 | 5. Reception 63 | 6. Adaptations 64 | 7. References 65 | 8. Further reading 66 | 67 | Categories: 68 | 69 | - Short stories by Robert Louis Stevenson 70 | - 1886 short stories 71 | - Novellas 72 | - Novels set in London 73 | - Gothic novels 74 | - Victorian novels 75 | - Works based on the Faust legend 76 | - Dissociative identity disorder in fiction 77 | 78 | Robert Louis Stevenson: 79 | 80 | - Books 81 | - An Inland Voyage (1878) 82 | - Travels with a Donkey in the Cévennes (1879) 83 | - The Silverado Squatters (1883) 84 | - Memories and Portraits (1887) 85 | - Across the Plains (1892) 86 | - Eight Years of Trouble in Samoa (1892) 87 | - The Amateur Emigrant (1895) 88 | - Novels 89 | - Treasure Island (1883) 90 | - Prince Otto (1885) 91 | - Kidnapped (1886) 92 | - The Black Arrow: A Tale of the Two Roses (1888) 93 | - The Master of Ballantrae (1889) 94 | - The Wrong Box (1889) 95 | - The Wrecker (1892) 96 | - Catriona (1893) 97 | - The Ebb-Tide (1894) 98 | - Weir of Hermiston (1896) 99 | - St. Ives (1897) 100 | 101 | 102 | 103 | ### Blockquotes 104 | 105 | Biographer Graham Balfour quoted Stevenson's wife Fanny Stevenson: 106 | 107 | > In the small hours of one morning, [...] I was awakened by cries of horror 108 | > from Louis. Thinking he had a nightmare, I awakened him. He said angrily: 109 | > "Why did you wake me? I was dreaming a fine bogey tale." 110 | > I had awakened him at the first transformation scene. 111 | 112 | 113 | Quotes from "The Strange Case of Dr. Jekyll and Mr. Hyde": 114 | 115 | > Quiet minds cannot be perplexed or frightened but go on in fortune 116 | > or misfortune at their own private pace, like a clock during a thunderstorm. 117 | > 118 | > -- Robert Louis Stevenson 119 | 120 | 121 | > It is one thing to mortify curiosity, another to conquer it. 122 | > 123 | > -- Robert Louis Stevenson 124 | 125 | 126 | > If I am the chief of sinners, I am the chief of sufferers also. 127 | > 128 | > -- Robert Louis Stevenson 129 | 130 | 131 | 132 | ### Tables 133 | 134 | ---------------- | ------------------------ 135 | Author | Robert Louis Stevenson 136 | Original title | Strange Case Of Dr Jekyll And Mr Hyde 137 | Country | United Kingdom 138 | Language | English 139 | Series | None 140 | Genre | Drama, Horror, Thriller, Gothic, Science fiction 141 | Publisher | Longmans, Green & Co. 142 | Publication date | 5 January 1886 143 | 144 | 145 | ### Code n Code Blocks 146 | 147 | The `white-space` CSS property is used to to describe 148 | how white spaces inside the element is handled. Example: 149 | 150 | ~~~ 151 | white-space: normal 152 | white-space: nowrap 153 | white-space: pre 154 | white-space: pre-wrap 155 | white-space: pre-line 156 | 157 | white-space: inherit 158 | ~~~ 159 | 160 | Many CSS properties take `` values, 161 | such as `width`, `margin`, `padding`, `font-size`, `border-width`, `text-shadow`, ... 162 | 163 | Some specific examples: 164 | 165 | - `1in` is always `96px`, 166 | - `3pt` is always `4px`, 167 | - `25.4mm` is always `96px`. 168 | 169 | ~~~ 170 | html { font-size: 62.5%; } 171 | body { font-size: 1.4rem; } /* =14px */ 172 | h1 { font-size: 2.4rem; } /* =24px */ 173 | ~~~ 174 | 175 | -------------------------------------------------------------------------------- /_posts/2014-05-05-sportdb-update-v192.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "sportdb Update v1.9.2 - Added Match Goals Reader e.g. [Messi 3', 45+1']" 4 | --- 5 | 6 | 7 | What's news? sportdb command line updates: 8 | 9 | The match schedule reader now will add goals (plus auto-add missing 10 | players). All still a little rough but working without any (extra) configuration. Example: 11 | 12 | ~~~ 13 | (1) Thu Jun/12 17:00 Brazil 3-1 (1-1) Croatia @ Arena de São Paulo, São Paulo 14 | [Neymar 29', 71' (pen.) Oscar 90+1'; Marcelo 11' (o.g.)] 15 | ~~~ 16 | 17 | The reader will add four goal records (see the table goals w/ fields such as 18 | `player_id`, `team_id`, `minute`, `offset`, `score1`, `score2` etc.): 19 | 20 | ~~~ 21 | 1 | Marcelo 11' (o.g.) 1-0 Croatia (Team 2) 22 | 2 | Neymar 29' 1-1 Brazil (Team 1) 23 | 3 | Neymar 71' (pen.) 2-1 Brazil (Team 1) 24 | 4 | Oscar 90'+1' 3-1 Brazil (Team 1) 25 | ~~~ 26 | 27 | -------------------------------------------------------------------------------- /_posts/2014-10-14-new-repo-baviria-bayern.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "New Repo - Bayern (Baviria) - incl. European Beer Stars 2011, 2012, 2013" 4 | --- 5 | 6 | Moved all beer, brewpub n brewery data for Bayern 7 | (Baviria) to its own repo, that is, [`openbeer/by-bayern`](https://github.com/openbeer/by-bayern). 8 | 9 | Also includes all European Beer Star winners from Bayern 10 | (Baviria) for the years 2011, 2012 and 2013. Cheers. Prost. 11 | 12 | -------------------------------------------------------------------------------- /_posts/2014-10-21-sql-views.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "football.db SQL Queries Made Easy (Thanks to Views)" 4 | --- 5 | 6 | First thanks to Joe Kampschmidt for getting started w/ 7 | some [SQL queries examples](http://openfootball.github.io/docs/sql-queries-intro.html). 8 | 9 | Added some SQL views to make it easier to query the `football.db`. 10 | Example - List World Cup Brazil 2014 Games: 11 | 12 | Before (Table Edition): 13 | 14 | ~~~ 15 | SELECT t1.title, 16 | t2.title, 17 | g.* 18 | FROM games g 19 | LEFT OUTER JOIN teams t1 ON t1.id = g.team1_id 20 | LEFT OUTER JOIN teams t2 ON t2.id = g.team2_id 21 | INNER JOIN rounds r ON r.id = g.round_id 22 | INNER JOIN events e ON e.id = r.event_id 23 | WHERE e.key = 'world.2014' 24 | ~~~ 25 | 26 | After (View Edition): 27 | 28 | ~~~ 29 | SELECT * 30 | FROM events_games_list 31 | WHERE e.key = 'world.2014'; 32 | ~~~ 33 | 34 | [More views](https://github.com/openfootball/schema.sql) include: 35 | 36 | - `teams_list` 37 | - `games_list` 38 | - `events_list` 39 | - `events_teams_list` 40 | - `events_games_list` 41 | - `events_rounds_list` 42 | - `events_groups_list` 43 | -------------------------------------------------------------------------------- /_posts/2014-11-11-new-repo-maps.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "New Repo /maps - Free Full-Screen Interactive Beer Maps w/ Brewery Listings" 4 | --- 5 | 6 | Added a new repo, that is, `/maps` for hosting 'full-screen' 7 | interactive beer maps with brewery listings. 8 | 9 | See an example [beer map for Austria](http://openbeer.github.io/maps/at) (~200 breweries n brewpubs) 10 | live or [check the source using](https://github.com/openbeer/maps) the mapbox.js mapping library. 11 | -------------------------------------------------------------------------------- /_posts/2014-12-15-quick-starter-datafiles.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Added football.db Quick Starter Datafile Templates - $ sportdb new worldcup" 4 | --- 5 | 6 | The sportdb command line tool now includes a new quick starter 7 | template command to (auto-)download Datafile scripts from the new 8 | [`openfootball/datafile` registry](https://github.com/openfootball/datafile). 9 | 10 | For example, to build yourself a copy of the `worldcup2014.db` type: 11 | 12 | ~~~ 13 | $ sportdb new worldcup2014 14 | ~~~ 15 | 16 | The new command will run these steps: 17 | 18 | - Step 1: Download `worldcup2014.rb` Datafile (from GitHub) to your 19 | working folder as `./Datafile` 20 | - Step 2: Run the `sportdb` build command 21 | - Step 2.a: Download all datasets listed in the Datafile as zip 22 | archives (from GitHub) to `./tmp` 23 | - Step 2.b: Create the "empty" database, that is, table structure, 24 | indexes, etc. (schema) 25 | - Step 2.c: Read in all datasets from the zip archives in `./tmp` (no need to unpack) 26 | 27 | That's it. All done and setup with a single command. Still early and rough. 28 | 29 | PS: The first quick starter Datafile templates include: 30 | 31 | - `worldcup` => All World Cups 1930-2014 32 | - `en` => English Premier Leagues 33 | - `en2014-15` => English Premier League 2014/15 34 | - `cl2014-15` => (European) Champions League 2014/15 35 | -------------------------------------------------------------------------------- /_posts/2015-01-31-welcome.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: post 3 | title: "Welcome to jekyll-minimal-theme - Another Minimal Jekyll Theme" 4 | --- 5 | 6 | What's `jekyll-minimal-theme`? 7 | 8 | It's another minimal(istic) Jekyll static site generator theme, 9 | that is, a ready-to-fork template pack. For example: 10 | 11 | ~~~ 12 | ├── _config.yml # site configuration 13 | ├── _posts # sample blog posts 14 | | ├── 2014-05-05-sportdb-update-v192.md # filename format: 15 | | ├── 2014-10-10-new-repo-baviria-bayern.md # => YEAR-MONTH-DAY-TITLE.MARKUP 16 | | ├── 2014-10-21-sql-views.md 17 | | ├── 2014-11-11-new-reop-maps.md 18 | | └── 2014-12-15-quick-starter-datafiles.md 19 | ├── _layouts 20 | | ├── default.html # master layout template 21 | | └── post.html # single blog post template 22 | ├── css 23 | | ├── _settings.scss # style settings (e.g. variables) 24 | | └── style.scss # master style page 25 | ├── feed.xml # web feed template (e.g. in atom format) 26 | ├── archive.html # archive template 27 | └── index.html # index template 28 | ~~~ 29 | 30 | will result in (with `permalink: /:title.html`): 31 | 32 | ~~~ 33 | └── _site # output build folder; site gets generated here 34 | ├── css 35 | | └── style.css # styles for pages (copied 1:1 as is) 36 | ├── sportdb-update-v192.html # blog post page 37 | ├── new-repo-baviria-bayern.html # another blog post page 38 | ├── sql-views.html # "" 39 | ├── new-repo-maps.html # "" 40 | ├── quick-starter-datafiles.html # "" 41 | ├── feed.xml # web feed (e.g. in atom format) 42 | ├── archive.html # archive page 43 | └── index.html # index page 44 | ~~~ 45 | 46 | To use - delete all sample posts in the `_posts` folder and 47 | change the settings in `_config.yml` to use your own `site.title` 48 | and `site.url`: 49 | 50 | ~~~ 51 | title: 'Jekyll Minimal Theme' 52 | url: 'http://drjekyllthemes.github.io/jekyll-minimal-theme' 53 | author: 54 | name: 'Jekyll Minimal Theme Team' 55 | ~~~ 56 | 57 | -------------------------------------------------------------------------------- /archive.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Archive 4 | --- 5 | 6 |

Archive

7 | 8 | {% for post in site.posts %} 9 | 10 |
11 | {{ post.date | date: "%b %-d, %Y" }} 12 | » 13 | 14 | {{ post.title }} 15 | 16 |
17 | 18 | {% endfor %} 19 | 20 | -------------------------------------------------------------------------------- /css/_settings.scss: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////// 2 | // css theme variables / settings 3 | 4 | 5 | $font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 6 | 7 | $code-font-family: Menlo, Monaco, "Courier New", monospace; 8 | 9 | 10 | $masthead-color: #505050; 11 | $masthead-small-color: #C0C0C0; 12 | 13 | $post-title-color: #303030; 14 | $post-date-color: #9a9a9a; 15 | 16 | 17 | $body-color: #515151; 18 | $body-background-color: #fff; 19 | 20 | $link-color: #268bd2; 21 | 22 | $headings-color: #313131; // h1,h2,h3,h4,h5,h6 23 | 24 | $strong-color: #303030; // strong 25 | 26 | $pre-background-color: #f9f9f9; // pre 27 | 28 | $blockquote-color: #7a7a7a; // blockquote 29 | $blockquote-border-color: #e5e5e5; 30 | 31 | $table-border-color: #e5e5e5; 32 | $table-odd-background-color: #f9f9f9; 33 | 34 | 35 | -------------------------------------------------------------------------------- /css/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | ########### 3 | # note: will result in an all-in-one-file stylesheet e.g. style.css 4 | ########### 5 | --- 6 | 7 | 8 | @import 'settings'; 9 | 10 | 11 | html { 12 | font-family: $font-family; 13 | font-size: 20px; 14 | line-height: 1.5; 15 | } 16 | 17 | body { 18 | color: $body-color; 19 | background-color: $body-background-color; 20 | } 21 | 22 | ////////////// 23 | // Links 24 | 25 | a { 26 | color: $link-color; 27 | text-decoration: none; 28 | 29 | strong { 30 | color: inherit; 31 | } 32 | 33 | &:hover, 34 | &:focus { 35 | text-decoration: underline; 36 | } 37 | } 38 | 39 | 40 | //////////////////////////// 41 | // Headings 42 | 43 | h1, h2, h3, h4, h5, h6 { 44 | margin-bottom: .5rem; 45 | font-weight: bold; 46 | line-height: 1.25; 47 | color: $headings-color; 48 | text-rendering: optimizeLegibility; 49 | } 50 | h1 { 51 | font-size: 2rem; 52 | } 53 | h2 { 54 | margin-top: 1rem; 55 | font-size: 1.5rem; 56 | } 57 | h3 { 58 | margin-top: 1.5rem; 59 | font-size: 1.25rem; 60 | } 61 | h4, h5, h6 { 62 | margin-top: 1rem; 63 | font-size: 1rem; 64 | } 65 | 66 | ///////////// 67 | // Body text 68 | 69 | p { 70 | margin-top: 0; 71 | margin-bottom: 1rem; 72 | } 73 | 74 | strong { 75 | color: $strong-color; 76 | } 77 | 78 | 79 | ///////////// 80 | // Lists 81 | 82 | ul, ol, dl { 83 | margin-top: 0; 84 | margin-bottom: 1rem; 85 | } 86 | 87 | dt { 88 | font-weight: bold; 89 | } 90 | dd { 91 | margin-bottom: .5rem; 92 | } 93 | 94 | 95 | ////////////////////// 96 | // Code 97 | 98 | code, 99 | pre { 100 | font-family: $code-font-family; 101 | } 102 | code { 103 | padding: .25em .5em; 104 | font-size: 85%; 105 | } 106 | 107 | pre { 108 | margin-top: 0; 109 | margin-bottom: 1rem; 110 | padding: 1rem; 111 | font-size: .8rem; 112 | line-height: 1.4; 113 | background-color: $pre-background-color; 114 | 115 | code { 116 | padding: 0; 117 | font-size: 100%; 118 | color: inherit; 119 | background-color: transparent; 120 | } 121 | } 122 | 123 | 124 | ///////////////////// 125 | // Quotes 126 | 127 | blockquote { 128 | padding: .5rem 1rem; 129 | margin: .8rem 0; 130 | color: $blockquote-color; 131 | border-left: .25rem solid $blockquote-border-color; 132 | 133 | p:last-child { 134 | margin-bottom: 0; 135 | } 136 | } 137 | 138 | 139 | img { 140 | display: block; 141 | max-width: 100%; 142 | margin: 0 0 1rem; 143 | border-radius: 5px; 144 | } 145 | 146 | 147 | ////////////////////// 148 | // Tables 149 | 150 | table { 151 | margin-bottom: 1rem; 152 | width: 100%; 153 | border: 1px solid $table-border-color; 154 | border-collapse: collapse; 155 | 156 | td, 157 | th { 158 | padding: .25rem .5rem; 159 | border: 1px solid $table-border-color; 160 | } 161 | 162 | tr:nth-child(odd) td, 163 | tr:nth-child(odd) th { 164 | background-color: $table-odd-background-color; 165 | } 166 | } 167 | 168 | 169 | 170 | //////////////////////////////// 171 | // Container 172 | // -- centers page content 173 | 174 | .container { 175 | max-width: 38rem; 176 | padding-left: 1rem; 177 | padding-right: 1rem; 178 | margin-left: auto; 179 | margin-right: auto; 180 | } 181 | 182 | /////////////////////////////////////////////////// 183 | // Masthead 184 | 185 | .masthead { 186 | padding-top: 1rem; 187 | padding-bottom: 1rem; 188 | margin-bottom: 3rem; 189 | 190 | .masthead-title { 191 | margin-top: 0; 192 | margin-bottom: 0; 193 | color: $masthead-color; 194 | 195 | a { 196 | color: $masthead-color; 197 | } 198 | 199 | small { 200 | color: $masthead-small-color; 201 | font-size: 75%; 202 | font-weight: 400; 203 | letter-spacing: 0; 204 | } 205 | } 206 | } 207 | 208 | 209 | ////////////////////////// 210 | // Posts 211 | 212 | .post { 213 | margin-bottom: 4em; 214 | 215 | // note: only change margin for title,date if inside post block 216 | .post-title { 217 | margin-top: 0; 218 | } 219 | 220 | // Meta data line below post title 221 | .post-date { 222 | display: block; 223 | margin-top: -.5rem; 224 | margin-bottom: 1rem; 225 | } 226 | } 227 | 228 | .post-title, 229 | .post-title a { 230 | color: $post-title-color; 231 | } 232 | 233 | .post-date { 234 | color: $post-date-color; 235 | } 236 | -------------------------------------------------------------------------------- /feed.xml: -------------------------------------------------------------------------------- 1 | --- 2 | layout: null 3 | --- 4 | 5 | 6 | News 'n' Updates | {{ site.title }} 7 | 8 | 9 | {{ site.time | date_to_xmlschema }} 10 | {{ site.url }}/ 11 | 12 | {{ site.author.name }} 13 | 14 | Jekyll v{{ jekyll.version }} 15 | 16 | {% for post in site.posts limit: 10 %} 17 | 18 | {{ post.title | xml_escape }} 19 | 20 | {{ post.date | date_to_xmlschema }} 21 | {{ site.url }}{{ post.id }} 22 | {{ post.content | xml_escape }} 23 | 24 | {% endfor %} 25 | 26 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | --- 2 | layout: default 3 | title: Welcome 4 | --- 5 | 6 | 7 | {% for post in site.posts %} 8 | 9 | 18 | 19 | {% endfor %} 20 | 21 | --------------------------------------------------------------------------------