jekyll-98 0.1.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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +222 -0
- data/_config.yml +127 -0
- data/_includes/about_text.html +13 -0
- data/_includes/custom-head.html +6 -0
- data/_includes/desktop_icons.html +38 -0
- data/_includes/footer.html +13 -0
- data/_includes/google-analytics.html +9 -0
- data/_includes/head.html +11 -0
- data/_includes/okcancel.html +4 -0
- data/_includes/post_list.html +62 -0
- data/_includes/social.html +230 -0
- data/_includes/start-menu-item.html +13 -0
- data/_includes/startmenu.html +70 -0
- data/_includes/stylelink.html +12 -0
- data/_includes/systray.html +35 -0
- data/_includes/titlebar.html +15 -0
- data/_includes/window.html +22 -0
- data/_layouts/category_index.html +15 -0
- data/_layouts/default.html +16 -0
- data/_layouts/error.html +58 -0
- data/_layouts/home.html +21 -0
- data/_layouts/post.html +28 -0
- data/_sass/jekyll-98/_base.scss +47 -0
- data/_sass/jekyll-98/_contact.scss +47 -0
- data/_sass/jekyll-98/_desktop_icons.scss +38 -0
- data/_sass/jekyll-98/_footer.scss +222 -0
- data/_sass/jekyll-98/_home.scss +16 -0
- data/_sass/jekyll-98/_layout.scss +8 -0
- data/_sass/jekyll-98/_post.scss +61 -0
- data/_sass/jekyll-98/_post_list.scss +88 -0
- data/_sass/jekyll-98/_window.scss +31 -0
- data/_sass/jekyll-98/custom-styles.scss +2 -0
- data/_sass/jekyll-98/custom-variables.scss +1 -0
- data/_sass/jekyll-98/initialize.scss +39 -0
- data/assets/404.md +6 -0
- data/assets/98sound.wav +0 -0
- data/assets/about.html +18 -0
- data/assets/contact.html +39 -0
- data/assets/css/style.scss +7 -0
- data/assets/icons/98banner.png +0 -0
- data/assets/icons/accessibility.png +0 -0
- data/assets/icons/agent.png +0 -0
- data/assets/icons/archive.png +0 -0
- data/assets/icons/back.png +0 -0
- data/assets/icons/bin-empty-2k.png +0 -0
- data/assets/icons/bin-empty-98.png +0 -0
- data/assets/icons/bin-full-2k.png +0 -0
- data/assets/icons/bin-full-98.png +0 -0
- data/assets/icons/calendar.png +0 -0
- data/assets/icons/camera.png +0 -0
- data/assets/icons/cancel.png +0 -0
- data/assets/icons/chart.png +0 -0
- data/assets/icons/code.png +0 -0
- data/assets/icons/computer-2k.png +0 -0
- data/assets/icons/computer.png +0 -0
- data/assets/icons/contact.png +0 -0
- data/assets/icons/desktop.png +0 -0
- data/assets/icons/document-audio.png +0 -0
- data/assets/icons/document-image.png +0 -0
- data/assets/icons/document-media.png +0 -0
- data/assets/icons/document-video.png +0 -0
- data/assets/icons/document.png +0 -0
- data/assets/icons/documents.png +0 -0
- data/assets/icons/email.png +0 -0
- data/assets/icons/error.png +0 -0
- data/assets/icons/favorites-web.png +0 -0
- data/assets/icons/feed.png +0 -0
- data/assets/icons/gaming.png +0 -0
- data/assets/icons/help.png +0 -0
- data/assets/icons/help_small.png +0 -0
- data/assets/icons/history.png +0 -0
- data/assets/icons/home.png +0 -0
- data/assets/icons/html.png +0 -0
- data/assets/icons/ie.png +0 -0
- data/assets/icons/info.png +0 -0
- data/assets/icons/links.png +0 -0
- data/assets/icons/media-player.png +0 -0
- data/assets/icons/microphone.png +0 -0
- data/assets/icons/modem.png +0 -0
- data/assets/icons/mouse.png +0 -0
- data/assets/icons/movie-maker.png +0 -0
- data/assets/icons/ms-dos.png +0 -0
- data/assets/icons/network.png +0 -0
- data/assets/icons/news.png +0 -0
- data/assets/icons/no.png +0 -0
- data/assets/icons/notepad-5.png +0 -0
- data/assets/icons/print.png +0 -0
- data/assets/icons/question.png +0 -0
- data/assets/icons/refresh.png +0 -0
- data/assets/icons/search-web.png +0 -0
- data/assets/icons/search.png +0 -0
- data/assets/icons/settings-gears.png +0 -0
- data/assets/icons/sound.png +0 -0
- data/assets/icons/spacer.png +0 -0
- data/assets/icons/start.png +0 -0
- data/assets/icons/streaming.png +0 -0
- data/assets/icons/themes.png +0 -0
- data/assets/icons/time-date.png +0 -0
- data/assets/icons/tree.png +0 -0
- data/assets/icons/users-key.png +0 -0
- data/assets/icons/users.png +0 -0
- data/assets/icons/warning.png +0 -0
- data/assets/icons/web.png +0 -0
- data/assets/icons/windows.png +0 -0
- data/assets/icons/yes.png +0 -0
- data/assets/screenshot.png +0 -0
- data/assets/social/Mail.png +0 -0
- data/assets/social/Mail2.png +0 -0
- data/assets/social/devto.svg +5 -0
- data/assets/social/dribble.svg +6 -0
- data/assets/social/facebook.svg +6 -0
- data/assets/social/flickr.svg +8 -0
- data/assets/social/github.svg +1 -0
- data/assets/social/gitlab.svg +6 -0
- data/assets/social/instagram.svg +9 -0
- data/assets/social/keybase.svg +6 -0
- data/assets/social/linkedin.svg +7 -0
- data/assets/social/mastodon.svg +6 -0
- data/assets/social/pinterest.svg +6 -0
- data/assets/social/social-icons.svg +0 -0
- data/assets/social/stackoverflow.svg +6 -0
- data/assets/social/telegram.svg +6 -0
- data/assets/social/twitch.svg +6 -0
- data/assets/social/twitter.svg +6 -0
- data/assets/social/youtube.svg +6 -0
- metadata +225 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: b1aa5539ec57db08757297dfef8e7bee522cee256d24b767155fb68d37926e0e
|
4
|
+
data.tar.gz: b3d532341d1457beb67c0783f7ea6228b9ecda8cdad33b340841f599a49a8a0f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2d009ad350745fef5db50481043f2602fea30004cc287fb218d7eb8fb2ab11031f95178a091e926a566969ac048dd89dd9a99242ebe77a76afca30b0d9175241
|
7
|
+
data.tar.gz: e439941be5b215f31fe14d8e00e3315285a4f5a4e8dd622b52fcd8cc2374b0bd1538a1251aac4292facd6748875a3c2713d836cdeabe2e5003a1442672f89757
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 queenkjuul
|
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,222 @@
|
|
1
|
+
# jekyll-98
|
2
|
+
|
3
|
+
[***See it in action right here!***](https://queenkjuul.github.io/jekyll-98/)
|
4
|
+
|
5
|
+
A theme for Jekyll built using the [XP.css](https://github.com/botoxparty/XP.css) fork of [98.css](https://github.com/jdan/98.css) which aims to recreate the aesthetics of Windows 98 in a mobile-friendly, customizable blog format.
|
6
|
+
|
7
|
+
*Almost* no JavaScript, but should be perfectly usable without. Ships with pagination, atom feed generation, automatic social media links, and per-category index pages out of the box.
|
8
|
+
|
9
|
+

|
10
|
+
|
11
|
+
## Installation
|
12
|
+
|
13
|
+
### Quick Start
|
14
|
+
|
15
|
+
This repo is actually a fully functional jekyll site! You can clone or fork this repo, update the config with your own values, add some posts, et voila! You have a website ready to be hosted with Github Pages or built and served on your own host.
|
16
|
+
|
17
|
+
If you use this repo as a base, make sure your GitHub Repo > Settings > Pages > Source is set to "GitHub Actions." The `main` branch is deployed by default. Edit `.github/workflows/jekyll.yml` to change branches. [See note below about GitHub Actions](#github-pages--jekyll-remote-theme)
|
18
|
+
|
19
|
+
```sh
|
20
|
+
git clone https://github.com/queenkjuul/jekyll-98
|
21
|
+
cd jekyll-98
|
22
|
+
bundle
|
23
|
+
bundle exec jekyll serve # preview
|
24
|
+
bundle exec jekyll build # build
|
25
|
+
```
|
26
|
+
|
27
|
+
### GitHub Pages / jekyll-remote-theme
|
28
|
+
|
29
|
+
In your site's _config.yml, add:
|
30
|
+
|
31
|
+
```yml
|
32
|
+
remote_theme: queenkjuul/jekyll-98
|
33
|
+
```
|
34
|
+
|
35
|
+
#### GitHub Pages Deployment
|
36
|
+
|
37
|
+
**NOTE:** the "deploy from branch (classic)" GitHub Pages deployment method FAILS to generate category index pages. However, the default Jekyll GitHub Action works. [See instructions from GitHub here and set up your site's repo to publish with the default Jekyll workflow](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-with-a-custom-github-actions-workflow).
|
38
|
+
|
39
|
+
Using the legacy "deploy from branch" option will not break the site, but it will break the [`desktop_categories`](#theme-settings) and [`show_categories`](#settings) functions. If they are left enabled, the site will build and deploy, but those links will lead to 404s, so it's best to disable them.
|
40
|
+
|
41
|
+
### Manual installation
|
42
|
+
|
43
|
+
*WIP - Should be packaged as a gem soon*
|
44
|
+
|
45
|
+
in your blog root folder, create a directory `_themes`
|
46
|
+
|
47
|
+
`cd` into `_themes` and clone this repo into it
|
48
|
+
|
49
|
+
Add this line to your Jekyll site's `Gemfile`:
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
gem "jekyll-98", :path => "_themes"
|
53
|
+
```
|
54
|
+
|
55
|
+
And add this line to your Jekyll site's `_config.yml`:
|
56
|
+
|
57
|
+
```yaml
|
58
|
+
theme: jekyll-98
|
59
|
+
```
|
60
|
+
|
61
|
+
And then execute:
|
62
|
+
|
63
|
+
```sh
|
64
|
+
bundle
|
65
|
+
```
|
66
|
+
|
67
|
+
Or install it yourself as:
|
68
|
+
|
69
|
+
```sh
|
70
|
+
gem install jekyll-98
|
71
|
+
```
|
72
|
+
|
73
|
+
## Usage
|
74
|
+
|
75
|
+
Theme should provide sane defaults, but there's lots to customize. For full configuration options, refer to [_config.yml](https://github.com/queenkjuul/jekyll-98/blob/main/_config.yml). Add whatever settings you want *to your site's _config.yml*.
|
76
|
+
|
77
|
+
### Posts
|
78
|
+
|
79
|
+
#### Titles and excerpts
|
80
|
+
|
81
|
+
The default Post layout includes a header containing the post title as defined in the front matter. This means that if the first line of your post is a header containing the title, the title will appear twice. Keep this in mind. Also, Jekyll will by default use the first block of your post as its excerpt, so it's best to avoid first-line headers. You can always define an excerpt explicitly in the front matter like so:
|
82
|
+
|
83
|
+
```yml
|
84
|
+
---
|
85
|
+
title: Post Title
|
86
|
+
excerpt: this is what will show on the home page (if show_excerpts is enabled)
|
87
|
+
---
|
88
|
+
```
|
89
|
+
|
90
|
+
#### List formatting
|
91
|
+
|
92
|
+
If you add `{:.tree-view}` before your bulleted lists, they will render in Windows Explorer-style tree view mode. I'd like to do this automatically, but I don't know how to apply a class automatically to the kramdown/jekyll output. If you know how, get in touch! Open an issue, raise a PR, or (please don't really) email me.
|
93
|
+
|
94
|
+
Example:
|
95
|
+
|
96
|
+
```md
|
97
|
+
{:.tree-view}
|
98
|
+
- First Item
|
99
|
+
- Second Item
|
100
|
+
- Third Item
|
101
|
+
```
|
102
|
+
|
103
|
+
{:.tree-view}
|
104
|
+
- First Item
|
105
|
+
- Second Item
|
106
|
+
- Third Item
|
107
|
+
|
108
|
+
#### Front matter
|
109
|
+
|
110
|
+
You will want to define the following in your posts' front matter:
|
111
|
+
|
112
|
+
- Required:
|
113
|
+
- `title: string` - as mentioned above, will be displayed as a top-level header in the post page layout, as well as in lists
|
114
|
+
- `layout: post` - you probably want to leave this
|
115
|
+
- `date: YYYY-MM-DD HH:MM:SS +/-0000` - time zone offset at end. Only for internal use, actual formatted date shown to users is formatted per `jekyll-98.date_format` in `_config.yml`
|
116
|
+
- Optional
|
117
|
+
- `categories: string1 string2 ...` - space-separated list of post categories. Posts can be browsed by category with links on the homepage. Uses [jekyll-category-pages](https://github.com/field-theory/jekyll-category-pages).
|
118
|
+
- `icon: icon_string` - `icon_string` is the filename of any icon in the jekyll-98 `assets/icons` folder, minus the extension (so omit `.png`). Optional. Unfortunately for now, can't be automatically set by category. Will appear in any post list.
|
119
|
+
- `excerpt: string` - excerpt to be shown in post lists if excerpts is enabled in `_config.yml`. If not defined, jekyll will use the first paragraph of your post.
|
120
|
+
|
121
|
+
## Configuration
|
122
|
+
|
123
|
+
### Basic site info
|
124
|
+
|
125
|
+
```yaml
|
126
|
+
title: blog name
|
127
|
+
author: # ***PUBLIC BY DEFAULT!***
|
128
|
+
name: &name your name # need &name prefix for Contact page to work
|
129
|
+
email: &email your@email.com # need &email prefix for Contact page
|
130
|
+
description: what's the deal with websites?
|
131
|
+
```
|
132
|
+
|
133
|
+
Basic Jekyll/Pages info from the template, such as title, author, and description. Author is a parent node, with child nodes name and email. Site title is used everywhere. Description appears on Home and About pages. Author info only shows up (optionally) on the Contact page. `title`, `author`, and `description` should be defined at the root level of your `_config.yml`
|
134
|
+
|
135
|
+
### Settings
|
136
|
+
|
137
|
+
```yaml
|
138
|
+
show_excerpts: false # show post excerpts in post lists
|
139
|
+
show_categories: true # show category links in post lists - REQUIRES GITHUB ACTIONS TO WORK WITH GITHUB PAGES, SEE README
|
140
|
+
paginate: 3 # set to false to disable, numbers above 3 might be weird on mobile
|
141
|
+
paginate_path: /page/:num # change if you know what you're doing
|
142
|
+
google_analytics: asdf1234 # your google analytics key
|
143
|
+
```
|
144
|
+
|
145
|
+
Enabling excerpts will show the first bit of a post on the home page. This can be a little unreliable with the layout of the posts list, so either disable (default) or experiment. You can define an explicit excerpt (instead of letting Jekyll guess) by defining `excerpt` in the post's front matter (see [Posts](#posts))
|
146
|
+
|
147
|
+
`show_categories` is NOT compatible with the default "deploy from a branch" GitHub Pages deployment method. Instead, [use a GitHub Action](#github-pages-deployment)
|
148
|
+
|
149
|
+
### Theme settings
|
150
|
+
|
151
|
+
Theme settings are defined within the `jekyll-98` node of your _config.yml
|
152
|
+
|
153
|
+
```yaml
|
154
|
+
title: ...
|
155
|
+
author: ...
|
156
|
+
...
|
157
|
+
jekyll-98:
|
158
|
+
date_format: ...
|
159
|
+
...
|
160
|
+
```
|
161
|
+
|
162
|
+
#### `date_format`
|
163
|
+
|
164
|
+
change how timestamps are shown - refer to [https://shopify.github.io/liquid/filters/date/](https://shopify.github.io/liquid/filters/date/) if you want to customize this
|
165
|
+
|
166
|
+
#### `icon`
|
167
|
+
|
168
|
+
you can define a different icon to use for the "my computer" homepage icon on the desktop here.
|
169
|
+
|
170
|
+
#### `desktop_categories`
|
171
|
+
|
172
|
+
Categories defined in this array will generate desktop icons and start menu links, assuming there are posts that exist that are tagged with that category. Note that things might get weird layout wise if you have more than 5-7 desktop icons total (`desktop_categories` and `site_links` combined)
|
173
|
+
|
174
|
+
Not compatible with the default "Deploy from a branch" GitHub Pages deployment method. [Use the default Jekyll deployment Action instead](#github-pages-deployment)
|
175
|
+
|
176
|
+
#### `site_links`
|
177
|
+
|
178
|
+
You can define additional links to include on the desktop and start menu. Links must have a title, url, icon, and alt text/description. the `alt` text is both the alt-text for the actual icon image tag (for screen readers) but also appears in the start menu. The start menu does not wrap text, so long descriptions might stretch the menu out to goofy proportions.
|
179
|
+
|
180
|
+
```yml
|
181
|
+
jekyll-98:
|
182
|
+
site_links:
|
183
|
+
- title: 'Name'
|
184
|
+
url: https://example.com
|
185
|
+
icon: document # see assets/icons
|
186
|
+
alt: 'Descriptive text'
|
187
|
+
```
|
188
|
+
|
189
|
+
#### `social_links`
|
190
|
+
|
191
|
+
All available sites/icons are listed in the theme [`_config.yml`](https://github.com/queenkjuul/jekyll-98/blob/main/_config.yml). Define a username, and the site will appear in the taskbar, as well as the Contact page (if enabled)
|
192
|
+
|
193
|
+
#### `contact`
|
194
|
+
|
195
|
+
By default, the contact page will display the name and email set in the site config. Commenting/removing these lines will prevent the Contact page from being generated (and links to it will be removed)
|
196
|
+
|
197
|
+
See [`_config.yml`](https://github.com/queenkjuul/jekyll-98/blob/main/_config.yml) for details on setting up additional info beyond name + email.
|
198
|
+
|
199
|
+
#### `about`
|
200
|
+
|
201
|
+
You can add any info you like to the default About page. The About page will automatically include your site description. Additional lines defined in the `jekyll-98.about` array will appear in a bulleted list on the About page, below the description.
|
202
|
+
|
203
|
+
## Contributing
|
204
|
+
|
205
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/queenkjuul/jekyll-98. 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.
|
206
|
+
|
207
|
+
## Development
|
208
|
+
|
209
|
+
To set up your environment to develop this theme, run `bundle install`.
|
210
|
+
|
211
|
+
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
212
|
+
|
213
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
214
|
+
To add a custom directory to your theme-gem, please edit the regexp in `jekyll-98.gemspec` accordingly.
|
215
|
+
|
216
|
+
## License
|
217
|
+
|
218
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
219
|
+
|
220
|
+
social icons from https://github.com/edent/SuperTinyIcons
|
221
|
+
|
222
|
+
credit Alex Meub https://win98icons.alexmeub.com/
|
data/_config.yml
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
#### GLOBAL - Site information
|
2
|
+
# About your website
|
3
|
+
title: Your awesome title
|
4
|
+
author: # *** NAME AND EMAIL INCLUDED IN RSS FEED BY DEFAULT ***
|
5
|
+
name: &name GitHub User # removing &name breaks contact page
|
6
|
+
email: &email your-email@domain.com # removing &email breaks contact page
|
7
|
+
description: > # > means to ignore newlines until next section
|
8
|
+
Write an awesome description for your new site here. You can edit this
|
9
|
+
line in _config.yml. It will appear in your document head meta (for
|
10
|
+
Google search results) and in your feed.xml site description.
|
11
|
+
It will also appear on the site About page.
|
12
|
+
# url: https://jekyll-98.github.io # will try to use github pages url if omitted
|
13
|
+
|
14
|
+
#### SETTINGS - Sitewide preferences
|
15
|
+
remote_theme: queenkjuul/jekyll-98
|
16
|
+
show_excerpts: true # mostly works, see README
|
17
|
+
show_categories: true
|
18
|
+
paginate: 3 # set to a number of posts per page
|
19
|
+
# only 3 works well on small mobile screens
|
20
|
+
# set to false to disable pagination (all posts listed on home page)
|
21
|
+
paginate_path: /page/:num # probably shouldn't touch
|
22
|
+
# google_analytics: # input your google analytics key for tracking
|
23
|
+
|
24
|
+
#### THEME - Controls for desktop and extra pages
|
25
|
+
jekyll-98:
|
26
|
+
date_format: "%b %-d, %Y" # refer to https://shopify.github.io/liquid/filters/date/ if you want to customize this
|
27
|
+
|
28
|
+
### SITE ICON
|
29
|
+
# select site icon which will be used for homepage links
|
30
|
+
# on the desktop and in the start menu
|
31
|
+
# see assets/icons for choices, omit extension
|
32
|
+
icon: computer
|
33
|
+
|
34
|
+
### DESKTOP FOLDERS
|
35
|
+
# select which of your post categories should have its own desktop icon
|
36
|
+
# should probably try and keep total icons (desktop_categories and site_links)
|
37
|
+
# to 7 or less total
|
38
|
+
desktop_categories:
|
39
|
+
- posts
|
40
|
+
|
41
|
+
### DESKTOP / START MENU LINKS
|
42
|
+
# site_links generate desktop icons (if device width allows)
|
43
|
+
# as well as entries in the Start menu (all widths)
|
44
|
+
# must have at least title and url
|
45
|
+
# icon will default to "document"
|
46
|
+
# see assets/icons for icon choices
|
47
|
+
site_links:
|
48
|
+
- title: Example
|
49
|
+
url: http://example.com
|
50
|
+
target: _blank # optional
|
51
|
+
icon: html # optional
|
52
|
+
alt: 'This is an example' # alt text is shown in start menu - long strings won't wrap and might break menu
|
53
|
+
|
54
|
+
### CONTACT PAGE
|
55
|
+
# social links from the social_links section are automatically added to contact page (if enabled)
|
56
|
+
# only defined fields are displayed
|
57
|
+
contact: # comment to omit page altogether
|
58
|
+
name: *name # reuses values from above
|
59
|
+
email: *email
|
60
|
+
phone: phone number if you're spicy
|
61
|
+
address:
|
62
|
+
- 1234 Street Avenue
|
63
|
+
- Assigned living quarters number X
|
64
|
+
- City, Unit bigger than city, country, postal related code
|
65
|
+
- You can actually add as many lines as your little heart desires
|
66
|
+
other:
|
67
|
+
- custom info can go here
|
68
|
+
- each line gets rendered
|
69
|
+
- layout not optimized for long lists
|
70
|
+
|
71
|
+
### SOCIAL MEDIA / QUICK LAUNCH
|
72
|
+
# generate social links in footer
|
73
|
+
# only 5 will safely fit on small phones
|
74
|
+
social_links:
|
75
|
+
github: queenkjuul
|
76
|
+
youtube: queenkjuul69
|
77
|
+
twitch: queenkjuul
|
78
|
+
# twitter: jekyllrb
|
79
|
+
# devto: jekyll
|
80
|
+
# dribbble: jekyll
|
81
|
+
# facebook: jekyll
|
82
|
+
# flickr: jekyll
|
83
|
+
# instagram: jekyll
|
84
|
+
# linkedin: jekyll
|
85
|
+
# pinterest: jekyll
|
86
|
+
# youtube_channel: UC8CXR0-3I70i1tfPg1PAE1g
|
87
|
+
# youtube_channel_name: CloudCannon
|
88
|
+
# telegram: jekyll
|
89
|
+
# googleplus: +jekyll
|
90
|
+
# keybase: jekyll
|
91
|
+
# email: jekyll@jekyll.jekyll
|
92
|
+
|
93
|
+
# Mastodon instances
|
94
|
+
# mastodon:
|
95
|
+
# - username: jekyll
|
96
|
+
# instance: example.com
|
97
|
+
# - username: jekyll2
|
98
|
+
# instance: example.com
|
99
|
+
|
100
|
+
# GitLab instances
|
101
|
+
# gitlab:
|
102
|
+
# - username: jekyll
|
103
|
+
# instance: example.com
|
104
|
+
# - username: jekyll2
|
105
|
+
# instance: example.com
|
106
|
+
|
107
|
+
### ABOUT PAGE
|
108
|
+
# add personal details to about page if you like
|
109
|
+
# lines are rendered as bulleted list
|
110
|
+
about:
|
111
|
+
- Live long and prosper, loves \\//_
|
112
|
+
|
113
|
+
#### PLUGINS - Add what you need, but don't remove defaults!
|
114
|
+
plugins:
|
115
|
+
- jekyll-paginate # theme default
|
116
|
+
- jekyll-category-pages # theme-default
|
117
|
+
- jekyll-feed # theme-default
|
118
|
+
|
119
|
+
#### DEFAULTS - Only for theme website, you can ignore/remove
|
120
|
+
defaults:
|
121
|
+
-
|
122
|
+
scope:
|
123
|
+
path: "_posts"
|
124
|
+
values:
|
125
|
+
layout: "post"
|
126
|
+
categories:
|
127
|
+
- posts
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<div class="systray-balloon__header" style="display: flex; gap: 8px">
|
2
|
+
<img src="{{"/assets/icons/info.png" | absolute_url }}" />
|
3
|
+
<a href="https://github.com/queenkjuul/jekyll-98">jekyll-98 theme by queenkjuul</a><br/>
|
4
|
+
</div>
|
5
|
+
<div class="systray-balloon__content">
|
6
|
+
<a href="https://botoxparty.github.io/XP.css">depends on XP.css by botoxparty</a><br/>
|
7
|
+
<a href="https://jdan.github.io/98.css">which is built on 98.css by jdan</a><br/>
|
8
|
+
all of which are under the MIT license<br/>
|
9
|
+
<br/>
|
10
|
+
uses SuperTinyIcons by edent<br/>
|
11
|
+
see license information here: <br/>
|
12
|
+
<a href="https://github.com/edent/SuperTinyIcons">https://github.com/edent/SuperTinyIcons</a><br/>
|
13
|
+
</div>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
{% comment %}
|
2
|
+
Placeholder to allow defining custom head, in principle, you can add anything here, e.g. favicons:
|
3
|
+
|
4
|
+
1. Head over to https://realfavicongenerator.net/ to add your own favicons.
|
5
|
+
2. Customize default _includes/custom-head.html in your source directory and insert the given code snippet.
|
6
|
+
{% endcomment %}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
{% if include.hide %}
|
2
|
+
{% assign hide_on_phone = "hide-on-phone" | default: "" %}
|
3
|
+
{% endif %}
|
4
|
+
<aside class="{{ hide_on_phone }}">
|
5
|
+
<nav class="desktop-icons">
|
6
|
+
<a href="{{ "/" | absolute_url}}">
|
7
|
+
<div class="desktop-icon">
|
8
|
+
{% capture iconlink %}/assets/icons/{{ site.jekyll-98.icon | default: 'computer' }}.png{% endcapture %}
|
9
|
+
<img src="{{ iconlink | absolute_url }}" alt="Computer Icon Click To Go Home" />
|
10
|
+
<figcaption>{{ site.title }}</figcaption>
|
11
|
+
</div>
|
12
|
+
</a>
|
13
|
+
|
14
|
+
{% for category in site.jekyll-98.desktop_categories %}
|
15
|
+
{% assign category_exists = site.categories[category] %}
|
16
|
+
{% if category_exists.size > 0 %}
|
17
|
+
<a href="{{ "/category/" | append: category | absolute_url }}">
|
18
|
+
<div class="desktop-icon">
|
19
|
+
<img src="{{ "/assets/icons/documents.png" | absolute_url }}" alt="Folder icon click to go to see {{ category }} posts" />
|
20
|
+
<figcaption>{{ category | capitalize }}</figcaption>
|
21
|
+
</div>
|
22
|
+
</a>
|
23
|
+
{% endif %}
|
24
|
+
{% endfor %}
|
25
|
+
|
26
|
+
{%- for icon in site.jekyll-98.site_links -%}
|
27
|
+
{%- if icon.title and icon.url -%}
|
28
|
+
<a href="{{ icon.url }}" target="{{ icon.target }}">
|
29
|
+
<div class="desktop-icon">
|
30
|
+
{% capture iconlink %}/assets/icons/{{ icon.icon | default: 'document' }}.png{% endcapture %}
|
31
|
+
<img src={{ iconlink | absolute_url }} alt="{{ icon.alt }}" />
|
32
|
+
<figcaption>{{ icon.title }}</figcaption>
|
33
|
+
</div>
|
34
|
+
</a>
|
35
|
+
{%- endif -%}
|
36
|
+
{%- endfor -%}
|
37
|
+
</nav>
|
38
|
+
</aside>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<div class="window taskbar">
|
2
|
+
{% include startmenu.html %}
|
3
|
+
|
4
|
+
<img src="{{"/assets/icons/spacer.png" | absolute_url }}" />
|
5
|
+
|
6
|
+
<div class="social-wrapper">{%- include social.html -%}</div>
|
7
|
+
|
8
|
+
<img src="{{"/assets/icons/spacer.png" | absolute_url }}" />
|
9
|
+
|
10
|
+
<div class="stendo"></div>
|
11
|
+
|
12
|
+
{% include systray.html %}
|
13
|
+
</div>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
|
2
|
+
<script>
|
3
|
+
window['ga-disable-{{ site.google_analytics }}'] = window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1";
|
4
|
+
window.dataLayer = window.dataLayer || [];
|
5
|
+
function gtag(){dataLayer.push(arguments);}
|
6
|
+
gtag('js', new Date());
|
7
|
+
|
8
|
+
gtag('config', '{{ site.google_analytics }}');
|
9
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -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
|
+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
6
|
+
{%- include stylelink.html -%}
|
7
|
+
<!-- TODO: add back feed tag maybe -->
|
8
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%} {%-
|
9
|
+
include google-analytics.html -%} {%- endif -%} {%- include custom-head.html
|
10
|
+
-%}
|
11
|
+
</head>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
{% if page.paginator %}
|
2
|
+
{% assign paginator = page.paginator %}
|
3
|
+
{% endif %}
|
4
|
+
{% if site.paginate %}
|
5
|
+
{% assign posts = paginator.posts %}
|
6
|
+
{% else %}
|
7
|
+
{% assign posts = site.posts %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
{%- if posts.size > 0 -%}
|
11
|
+
<ul class="post-list tree-view">
|
12
|
+
{%- assign date_format = site.jekyll-98.date_format | default: "%b %-d, %Y" -%}
|
13
|
+
{%- for post in posts -%}
|
14
|
+
{% assign icon = post.icon | default: "document" %}
|
15
|
+
<li class="post-list-wrapper">
|
16
|
+
<a class="post-list-item" href="{{ post.url | absolute_url }}">
|
17
|
+
<img
|
18
|
+
class="post-list-icon"
|
19
|
+
src="{{ "/assets/icons/" | append: icon | append: ".png" | absolute_url}}"
|
20
|
+
alt="{{post.title}}" />
|
21
|
+
<div class="post-link">{{ post.title | escape }}</div>
|
22
|
+
<div class="post-meta">{{ post.date | date: date_format }}</div>
|
23
|
+
{%- if site.show_excerpts -%}
|
24
|
+
<div class="post-excerpt">{{ post.excerpt | strip_html }}</div>
|
25
|
+
{%- endif -%}
|
26
|
+
</a>
|
27
|
+
{%- if site.show_categories and post.categories.size > 0 -%}
|
28
|
+
<div class="post-tags">
|
29
|
+
<div class="post-categories-label">Categories:
|
30
|
+
</div>
|
31
|
+
{% for tag in post.categories %}
|
32
|
+
{% assign taglink = "/category/" | append: tag | append: "/" | absolute_url %}
|
33
|
+
<a class="post-tag" href="{{ taglink }}">{{ tag }}</a>
|
34
|
+
{% endfor %}
|
35
|
+
</div>
|
36
|
+
{% else %}
|
37
|
+
<div style="margin: 6px;" />
|
38
|
+
{%- endif -%}
|
39
|
+
</li>
|
40
|
+
{%- endfor -%}
|
41
|
+
</ul>
|
42
|
+
|
43
|
+
{% if site.paginate %}
|
44
|
+
<div class="pager">
|
45
|
+
{%- if paginator.previous_page %}
|
46
|
+
<a href="{{ paginator.previous_page_path }}" class="previous-page">
|
47
|
+
<button>Page {{ paginator.previous_page }}</button>
|
48
|
+
</a>
|
49
|
+
{%- else %}
|
50
|
+
<button class="pager-edge" disabled>First Page</button>
|
51
|
+
{%- endif %}
|
52
|
+
<button class="current-page">{{ paginator.page }}</button>
|
53
|
+
{%- if paginator.next_page %}
|
54
|
+
<a href="{{ paginator.next_page_path }}" class="next-page">
|
55
|
+
<button>Page {{ paginator.next_page }}</button>
|
56
|
+
</a>
|
57
|
+
{%- else %}
|
58
|
+
<button class="pager-edge" disabled>Last Page</button>
|
59
|
+
{%- endif %}
|
60
|
+
</div>
|
61
|
+
{%- endif %}
|
62
|
+
{%- endif -%}
|