jekyll-theme-composer 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4dd704cb5ec8be437837fbda669cf9f371666b0a44d2ea2edc64cdfe272d78b7
4
+ data.tar.gz: ad6e3b648ed0fa712055712c49d3981df4ae0d85b78f080d2ed931980682f281
5
+ SHA512:
6
+ metadata.gz: 777466f307e2158bcb548b2cea5ba36b49e7fe929354cd212ed35e9d41871a0b4f2013950cb001d23086ce70be59810eadd052b7115348a56be293ad66d09467
7
+ data.tar.gz: 9e4b0069905e8bc8e1580a37bf6c83022740bbe5e7f0f53cc4e679e04dc8a017f243592d6a936294f1d4f7651e7877cad8dbb41193bb4aa0d6f6307330137e32
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023-present Eric Galluzzo
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,317 @@
1
+ # jekyll-theme-composer
2
+
3
+ *Composer* is a theme for (mainly classical) music composers. It's based on Minima, Jekyll's default theme, as is this documentation. The Composer theme was designed by Eric Galluzzo, who couldn't find a theme suitable for building a composer's website -- so he made one himself. As of version 0.1, it has the following capabilities:
4
+
5
+ - Show a list of works, sorted by date
6
+ - Display an individual work, with support for embedded media
7
+ - Show a list of video game credits, sorted by date
8
+ - Display an individual game, with support for embedded media
9
+
10
+ It has also preserved all of Minima's default capabilities, so the support for posts and such is still intact.
11
+
12
+ Please be warned that this theme is still in flux and has not yet reached version 1.0, so things may break between minor versions.
13
+
14
+ To see a preview of the Composer theme, please visit [Eric Galluzzo's site](https://www.ericgalluzzo.com/).
15
+
16
+ ## Installation
17
+
18
+ Add this line to your Jekyll site's Gemfile:
19
+
20
+ ```ruby
21
+ gem "jekyll-theme-composer"
22
+ ```
23
+
24
+ And add this line to your Jekyll site's `_config.yml` file:
25
+
26
+ ```yaml
27
+ theme: jekyll-theme-composer
28
+ collections:
29
+ works:
30
+ output: true
31
+ games:
32
+ output: true
33
+ ```
34
+
35
+ (If you are switching from the Minima theme, you will want to change your existing `minima` top-level configuration to `composer`.)
36
+
37
+ And then execute:
38
+
39
+ $ bundle
40
+
41
+
42
+ ## Contents At-A-Glance
43
+
44
+ Composer has been scaffolded by the `jekyll new-theme` command and therefore has all the necessary files and directories to have a new Jekyll site up and running with no further configuration.
45
+
46
+ ### Layouts
47
+
48
+ Refers to files within the `_layouts` directory, that define the markup for your theme.
49
+
50
+ - `default.html` — The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says ` {{ content }} ` and are linked to this file via [FrontMatter](https://jekyllrb.com/docs/frontmatter/) declaration `layout: default`.
51
+ - `home.html` — The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
52
+ - `page.html` — The layout for your documents that contain FrontMatter, but are not posts.
53
+ - `post.html` — The layout for your posts.
54
+ - `works.html` — The layout for your list of completed concert works. [[More Info.](#works-layout)]
55
+ - `work.html` — The layout for an individual completed concert work. [[More Info.](#work-layout)]
56
+ - `games.html` — The layout for your list of video game credits. [[More Info.](#games-layout)]
57
+ - `game.html` — The layout for an individual video game credit. [[More Info.](#game-layout)]
58
+
59
+ ### Includes
60
+
61
+ Refers to snippets of code within the `_includes` directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
62
+
63
+ - `disqus_comments.html` — Code to markup disqus comment box.
64
+ - `footer.html` — Defines the site's footer section.
65
+ - `google-analytics.html` — Inserts Google Analytics module (active only in production environment).
66
+ - `head.html` &mdash; Code-block that defines the `<head></head>` in *default* layout.
67
+ - `header.html` &mdash; Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
68
+ - `media.html` &mdash; Shows embedded media in an `<iframe>` surrounded by a `<figure>`.
69
+
70
+ ### Sass
71
+
72
+ Refers to `.scss` files within the `_sass` directory that define the theme's styles.
73
+
74
+ - `composer.scss` &mdash; The core file imported by preprocessed `main.scss`, it defines the variable defaults for the theme and also further imports sass partials to supplement itself.
75
+ - `composer/_base.scss` &mdash; Resets and defines base styles for various HTML elements, mostly based on Minima.
76
+ - `composer/_layout.scss` &mdash; Defines the visual style for various layouts, a superset of Minima.
77
+ - `composer/_syntax-highlighting.scss` &mdash; Defines the styles for syntax-highlighting, copied straight from Minima.
78
+
79
+ ### Assets
80
+
81
+ Refers to various asset files within the `assets` directory.
82
+ Contains the `main.scss` that imports sass files from within the `_sass` directory. This `main.scss` is what gets processed into the theme's main stylesheet `main.css` called by `_layouts/default.html` via `_includes/head.html`.
83
+
84
+ This directory can include sub-directories to manage assets of similar type, and will be copied over as is, to the final transformed site directory. For example, you may find it useful to have subdirectories for watermarked scores and game screenshots.
85
+
86
+ ### Plugins
87
+
88
+ Composer comes with [`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin preinstalled to make sure your website gets the most useful meta tags. See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up.
89
+
90
+ ## Usage
91
+
92
+ ### Home Layout
93
+
94
+ `home.html` is a flexible HTML layout for the site's landing-page / home-page / index-page. <br/>
95
+
96
+ #### Main Heading and Content-injection
97
+
98
+ The *home* layout will inject all content from your `index.md` / `index.html` **before** the **`Posts`** heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. *We recommended that you title this section with a Heading2 (`##`)*.
99
+
100
+ Usually the `site.title` itself would suffice as the implicit 'main-title' for a landing-page. But, if your landing-page would like a heading to be explicitly displayed, then simply define a `title` variable in the document's front matter and it will be rendered with an `<h1>` tag.
101
+
102
+ #### Post Listing
103
+
104
+ This section will be automatically included only when your site contains one or more valid posts or drafts (if the site is configured to `show_drafts`).
105
+
106
+ The title for this section is `Posts` by default and rendered with an `<h2>` tag. You can customize this heading by defining a `list_title` variable in the document's front matter.
107
+
108
+ ### Works Layout
109
+
110
+ `works.html` shows a list of concert works, from newest to oldest as determined by the `date` on each work's front matter. The summary lists the title, the year of composition, the instrumentation summary and the duration for each work. These should be specified via the `title`, `date`, `instrumentation_summary` and `duration` variables in the front matter for the work. (see [work layout](#work-layout) below).
111
+
112
+ To customize the page itself, you can specify the title via the `title` variable in the front matter. Any content on the page will be inserted before the list of works.
113
+
114
+ ### Work Layout
115
+
116
+ `work.html` is the layout for an individual concert work. Each work should be a separate file in the `_works` directory. The following variables are available in the front matter:
117
+
118
+ ```yaml
119
+ title: My Work # the work's title; this is required
120
+ instrumentation_summary: for choir and orchestra
121
+ instrumentation: choir (SSAATTBB) and orchestra (3-3-3-3 4-3-3-1 timp + 3 perc, hp, strings)
122
+ date: 2014-08-12 # date of composition
123
+ duration: 6 minutes
124
+ score_url: /assets/pdf/MyWork.pdf # this should be pre-watermarked if you want your score watermarked
125
+ commissioned_by: Someone
126
+ written_for: Someone # usually "commissioned_by" and "written_for" are mutually exclusive
127
+ premiered_by: Boston Symphony Orchestra
128
+ premiered_at: Symphony Hall
129
+ premiered_on: 2015-10-23
130
+ ```
131
+
132
+ In addition, all the [embeddable media variables](#media-variables) are available.
133
+
134
+ The only variable that is required is `title` (although `date` is highly recommended). If you don't know the exact date that you finished the work, just pick a date sometime during that year. By default, only the year will be displayed.
135
+
136
+ Any content will be displayed as a program note after the other information.
137
+
138
+ ### Games Layout
139
+
140
+ `games.html` is the layout for a collection of games, in reverse order of release as determined by the `date` in the game's front matter. Each game will be displayed as a thumbnail image, the title of the game, and the year of its release. To customize the title of the page, set the `title` variable in the page's front matter.
141
+
142
+ ### Game Layout
143
+
144
+ `game.html` is the layout for a single video game. Each game should be a separate file in the `_games` directory. The following variables are available in the front matter:
145
+
146
+ ```yaml
147
+ title: My Game # the name of the game; this is required
148
+ date: 2021-06-09 # release date
149
+ game_url: https://example.com/mygame/ # the URL of the game's website
150
+ thumbnail_url: /assets/games/Thumbnail.jpg # path to an asset containing a thumbnail of the game
151
+ image_url: /assets/games/MyGame.jpg # path to an asset containing a screenshot of the game
152
+ ```
153
+
154
+ In addition, all the [embeddable media variables](#media-variables) are available.
155
+
156
+ Only `title` is required (although `date` is highly recommended). Thumbnail images should have the same aspect ratio (usually 16:9), and should generally have a width of 560px. If no thumbnail image is specified, the image URL will be used as a thumbnail instead. Otherwise the game will have no thumbnail image on the collection page.
157
+
158
+ ### Media Variables
159
+
160
+ Every concert work and game may embed an audio/video player by setting one of the following variables:
161
+
162
+ ```yaml
163
+ youtube_id: 11I27DKUYA8
164
+ soundcloud_url: https://soundcloud.com/egalluzzo/sets/the-corruption-within
165
+ bandcamp_id: 1940188238
166
+ spotify_url: https://open.spotify.com/album/1t0vRPt56WTBa65VvfuAN4
167
+ ```
168
+
169
+ Here's how to find each of the above items.
170
+
171
+ - `youtube_id` &mdash; Go to a YouTube video in your browser; the YouTube ID is the bit after `watch?v=` in the normal YouTube URL.
172
+ - `soundcloud_url` &mdash; This is the normal URL to a track or playlist on SoundCloud, which you can find in the address bar of your browser when navigating to a SoundCloud track or playlist.
173
+ - `bandcamp_id` &mdash; This one is a bit tricky. To find it:
174
+ 1. Go to the track or album for which you want to find the ID.
175
+ 1. Hit "Share/Embed".
176
+ 1. Hit "Embed this track".
177
+ 1. Choose any of the sizes shown.
178
+ 1. In the "Embed code", you'll see something like `<iframe style="border: 0; width: 100%; height: 120px;" src="https://bandcamp.com/EmbeddedPlayer/album=1940188238/size=large/...`.
179
+ 1. The bit you want is the number after the `album=`.
180
+ - `spotify_url` is the normal URL to the Spotify album or track, which you can find in the address bar of your browser when navigating to a Spotify album or track.
181
+
182
+ --
183
+
184
+ ### Customization
185
+
186
+ To override the default structure and style of Composer, simply create the relevant directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
187
+ For example, to override the [`_includes/head.html `](_includes/head.html) file to specify a custom style path, create an `_includes` directory, copy `_includes/head.html` from the `jekyll-theme-composer` gem folder to `<yoursite>/_includes` and start editing that file.
188
+
189
+ The site's default CSS is in a subdirectory within the gem itself, [`assets/main.scss`](assets/main.scss). To **override the default CSS**, the file has to exist at your site source. Do either of the following:
190
+ - Create a new instance of `main.scss` at site source.
191
+ - Create a new file `main.scss` at `<your-site>/assets/`
192
+ - Add the frontmatter dashes, and
193
+ - Add `@import "composer";`, to `<your-site>/assets/main.scss`
194
+ - Add your custom CSS.
195
+ - Download the file from this repo
196
+ - Create a new file `main.scss` at `<your-site>/assets/`
197
+ - Copy the contents at [assets/main.scss](assets/main.scss) onto the `main.scss` you just created, and edit away!
198
+ - Copy directly from the `jekyll-theme-composer` gem
199
+ - Go to your local `jekyll-theme-composer` gem installation directory (run `bundle show jekyll-theme-composer` to get the path to it).
200
+ - Copy the `assets/` folder from there into the root of `<your-site>`
201
+ - Change whatever values you want, inside `<your-site>/assets/main.scss`
202
+
203
+ --
204
+
205
+ ### Customize navigation links
206
+
207
+ This allows you to set which pages you want to appear in the navigation area and configure order of the links.
208
+
209
+ For instance, to only link to the `about` and the `portfolio` page, add the following to you `_config.yml`:
210
+
211
+ ```yaml
212
+ header_pages:
213
+ - about.md
214
+ - portfolio.md
215
+ ```
216
+
217
+ --
218
+
219
+ ### Change default date format
220
+
221
+ You can change several default date formats by specifying `site.composer.date_format`
222
+ in `_config.yml`.
223
+
224
+ ```yaml
225
+ # Composer date format
226
+ # refer to http://shopify.github.io/liquid/filters/date/ if you want to customize this
227
+ composer:
228
+ date_format: "%b %-d, %Y" # for posts
229
+ work_date_format: "%Y" # for concert works, both on the list and the individual work
230
+ game_date_format: "%Y" # dates that show up on the list of games
231
+ game_release_date_format: "%B %-d, %Y" # game release dates on individual game pages
232
+ ```
233
+
234
+ --
235
+
236
+ ### Enabling comments (via Disqus)
237
+
238
+ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
239
+
240
+ To enable it, add the following lines to your Jekyll site:
241
+
242
+ ```yaml
243
+ disqus:
244
+ shortname: my_disqus_shortname
245
+ ```
246
+
247
+ You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
248
+
249
+ Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
250
+
251
+ If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
252
+
253
+ --
254
+
255
+ ### Social networks
256
+
257
+ You can add links to the accounts you have on other sites, with respective icon, by adding one or more of the following options in your config:
258
+
259
+ ```yaml
260
+ twitter_username: jekyllrb
261
+ github_username: jekyll
262
+ dribbble_username: jekyll
263
+ facebook_username: jekyll
264
+ flickr_username: jekyll
265
+ instagram_username: jekyll
266
+ linkedin_username: jekyll
267
+ pinterest_username: jekyll
268
+ youtube_username: jekyll
269
+ googleplus_username: +jekyll
270
+ rss: rss
271
+
272
+ mastodon:
273
+ - username: jekyll
274
+ instance: example.com
275
+ - username: jekyll2
276
+ instance: example.com
277
+ ```
278
+
279
+ --
280
+
281
+ ### Enabling Google Analytics
282
+
283
+ To enable Google Analytics, add the following lines to your Jekyll site:
284
+
285
+ ```yaml
286
+ google_analytics: UA-NNNNNNNN-N
287
+ ```
288
+
289
+ Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
290
+
291
+ --
292
+
293
+ ### Enabling Excerpts on the Home Page
294
+
295
+ To display post-excerpts on the Home Page, simply add the following to your `_config.yml`:
296
+
297
+ ```yaml
298
+ show_excerpts: true
299
+ ```
300
+
301
+ ## Future Directions
302
+
303
+ In future versions, Composer may add support for films, TV shows and discography, to accommodate a wider range of composers. In addition, it may add the ability to categorize each type of medium (concert works, films, etc.) by genre or instrumentation.
304
+
305
+ ## Contributing
306
+
307
+ Bug reports and pull requests are welcome on GitHub at https://github.com/jekyll/minima. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
308
+
309
+ ## Development
310
+
311
+ To set up your environment to develop this theme, run `script/bootstrap`.
312
+
313
+ To test your theme, run `script/server` (or `bundle exec jekyll serve`) and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme and the contents. As you make modifications, your site will regenerate and you should see the changes in the browser after a refresh.
314
+
315
+ ## License
316
+
317
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/_config.yml ADDED
@@ -0,0 +1,11 @@
1
+ collections:
2
+ works:
3
+ output: true
4
+ games:
5
+ output: true
6
+ films:
7
+ output: true
8
+ shows:
9
+ output: true
10
+ albums:
11
+ output: true
@@ -0,0 +1,20 @@
1
+ {%- if page.comments != false and jekyll.environment == "production" -%}
2
+
3
+ <div id="disqus_thread"></div>
4
+ <script>
5
+ var disqus_config = function () {
6
+ this.page.url = '{{ page.url | absolute_url }}';
7
+ this.page.identifier = '{{ page.url | absolute_url }}';
8
+ };
9
+
10
+ (function() {
11
+ var d = document, s = d.createElement('script');
12
+
13
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
14
+
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
20
+ {%- endif -%}
@@ -0,0 +1,35 @@
1
+ <footer class="site-footer h-card">
2
+ <data class="u-url" href="{{ "/" | relative_url }}"></data>
3
+
4
+ <div class="wrapper">
5
+
6
+ <h2 class="footer-heading">{{ site.title | escape }}</h2>
7
+
8
+ <div class="footer-col-wrapper">
9
+ <div class="footer-col footer-col-1">
10
+ <ul class="contact-list">
11
+ <li class="p-name">
12
+ {%- if site.author -%}
13
+ {{ site.author | escape }}
14
+ {%- else -%}
15
+ {{ site.title | escape }}
16
+ {%- endif -%}
17
+ </li>
18
+ {%- if site.email -%}
19
+ <li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
20
+ {%- endif -%}
21
+ </ul>
22
+ </div>
23
+
24
+ <div class="footer-col footer-col-2">
25
+ {%- include social.html -%}
26
+ </div>
27
+
28
+ <div class="footer-col footer-col-3">
29
+ <p>{{- site.description | escape -}}</p>
30
+ </div>
31
+ </div>
32
+
33
+ </div>
34
+
35
+ </footer>
@@ -0,0 +1,12 @@
1
+ <script>
2
+ if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
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
+ }
11
+ </script>
12
+
@@ -0,0 +1,11 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ {%- seo -%}
6
+ <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
7
+ {%- feed_meta -%}
8
+ {%- if jekyll.environment == 'production' and site.google_analytics -%}
9
+ {%- include google-analytics.html -%}
10
+ {%- endif -%}
11
+ </head>
@@ -0,0 +1,30 @@
1
+ <header class="site-header" role="banner">
2
+
3
+ <div class="wrapper">
4
+ {%- assign default_paths = site.pages | map: "path" -%}
5
+ {%- assign page_paths = site.header_pages | default: default_paths -%}
6
+ <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
7
+
8
+ {%- if page_paths -%}
9
+ <nav class="site-nav">
10
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
11
+ <label for="nav-trigger">
12
+ <span class="menu-icon">
13
+ <svg viewBox="0 0 18 15" width="18px" height="15px">
14
+ <path d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z"/>
15
+ </svg>
16
+ </span>
17
+ </label>
18
+
19
+ <div class="trigger">
20
+ {%- for path in page_paths -%}
21
+ {%- assign my_page = site.pages | where: "path", path | first -%}
22
+ {%- if my_page.title -%}
23
+ <a class="page-link" href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
24
+ {%- endif -%}
25
+ {%- endfor -%}
26
+ </div>
27
+ </nav>
28
+ {%- endif -%}
29
+ </div>
30
+ </header>
@@ -0,0 +1 @@
1
+ <a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1 @@
1
+ <a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -0,0 +1,20 @@
1
+ {%- if page.youtube_id -%}
2
+ <figure class="youtube">
3
+ <iframe loading="lazy" title="{{ page.title }} on YouTube" width="560" height="315" src="https://www.youtube.com/embed/{{ page.youtube_id | url_encode }}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
4
+ </figure>
5
+ {%- endif -%}
6
+ {%- if page.soundcloud_url -%}
7
+ <figure class="soundcloud">
8
+ <iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url={{ page.soundcloud_url | url_encode }}&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
9
+ </figure>
10
+ {%- endif -%}
11
+ {%- if page.bandcamp_id -%}
12
+ <figure class="bandcamp">
13
+ <iframe width="100%" height="120" frameborder="no" src="https://bandcamp.com/EmbeddedPlayer/album={{ page.bandcamp_id | url_encode }}/size=large/bgcol=ffffff/linkcol=0687f5/tracklist=false/artwork=small/transparent=true/" seamless></iframe>
14
+ </figure>
15
+ {%- endif -%}
16
+ {%- if page.spotify_url -%}
17
+ <figure class="spotify">
18
+ <iframe width="100%" height="352" frameborder="0" allowfullscreen="" loading="lazy" src="{{ page.spotify_url | replace_first: 'spotify.com/', 'spotify.com/embed/' }}" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></iframe>
19
+ </figure>
20
+ {%- endif -%}
@@ -0,0 +1,14 @@
1
+ <ul class="social-media-list">
2
+ {%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
3
+ {%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
4
+ {%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
5
+ {%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
6
+ {%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
7
+ {%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
8
+ {%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
9
+ {%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
10
+ {%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
11
+ {%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
12
+ {%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
13
+ {%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
14
+ </ul>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="{{ page.lang | default: site.lang | default: "en" }}">
3
+
4
+ {%- include head.html -%}
5
+
6
+ <body>
7
+
8
+ {%- include header.html -%}
9
+
10
+ <main class="page-content" aria-label="Content">
11
+ <div class="wrapper">
12
+ {{ content }}
13
+ </div>
14
+ </main>
15
+
16
+ {%- include footer.html -%}
17
+
18
+ </body>
19
+
20
+ </html>
@@ -0,0 +1,33 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <article class="game">
6
+
7
+ <h1>{{ page.title }}</h1>
8
+
9
+ {%- include media.html -%}
10
+
11
+ {%- if page.image_url -%}
12
+ <img class="screenshot" src="{{ page.image_url | relative_url }}" alt="Screenshot for {{ page.title }}" />
13
+ {%- endif -%}
14
+
15
+ <h2 class="release-date-title">Game Information</h2>
16
+ {%- if page.date -%}
17
+ <div>
18
+ {%- assign date_format = site.composer.game_release_date_format | default: "%B %-d, %Y" -%}
19
+ Release date: {{ page.date | date: date_format }}
20
+ </div>
21
+ {%- endif -%}
22
+ {%- if page.game_url -%}
23
+ <div>
24
+ Visit the <a href="{{ page.game_url | relative_url }}">game website</a>
25
+ </div>
26
+ {%- endif -%}
27
+
28
+ <h2 class="game-notes-title">Notes</h2>
29
+ <div class="game-notes">
30
+ {{ content }}
31
+ </div>
32
+
33
+ </article>
@@ -0,0 +1,35 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <div class="games">
6
+ {%- if page.title -%}
7
+ <h1 class="page-heading">{{ page.title }}</h1>
8
+ {%- endif -%}
9
+
10
+ {{ content }}
11
+
12
+ {%- if site.games.size > 0 -%}
13
+ <ul class="game-list">
14
+ {%- assign games_by_date_desc = site.games | reverse -%}
15
+ {%- for game in games_by_date_desc -%}
16
+ <li>
17
+ {%- if game.thumbnail_url or game.image_url -%}
18
+ <a href="{{ game.url | relative_url }}">
19
+ <img class="thumbnail" src="{{ game.thumbnail_url | default: game.image_url | relative_url }}" alt="Image for {{ game.title }}"/>
20
+ </a>
21
+ {%- endif -%}
22
+
23
+ {%- assign date_format = site.composer.game_date_format | default: "%Y" -%}
24
+ <a class="game-link" href="{{ game.url | relative_url }}">
25
+ <div class="game-heading">
26
+ <span class="game-title">{{ game.title }}</span>
27
+ <span class="game-date">({{ game.date | date: date_format }})</span>
28
+ </div>
29
+ </a>
30
+ </li>
31
+ {%- endfor -%}
32
+ </ul>
33
+ {%- endif -%}
34
+
35
+ </div>