Skip to content

Commit eda99b6

Browse files
committed
Fixed categories
1 parent 11056c0 commit eda99b6

16 files changed

+102
-29
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ source "https://rubygems.org"
1515

1616
gem "github-pages"
1717
gem "minimal-mistakes-jekyll"
18-
gem "jekyll-remote-theme"
18+
gem "jekyll-archives"
1919

2020
group :jekyll_plugins do
2121
end

Gemfile.lock

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ GEM
100100
pathutil (~> 0.9)
101101
rouge (>= 1.7, < 4)
102102
safe_yaml (~> 1.0)
103+
jekyll-archives (2.1.1)
104+
jekyll (>= 2.4)
103105
jekyll-avatar (0.6.0)
104106
jekyll (~> 3.0)
105107
jekyll-coffeescript (1.1.1)
@@ -253,7 +255,7 @@ PLATFORMS
253255

254256
DEPENDENCIES
255257
github-pages
256-
jekyll-remote-theme
258+
jekyll-archives
257259
minimal-mistakes-jekyll
258260

259261
BUNDLED WITH

_config.yml

+25-24
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
# https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/#installing-the-theme
1111

1212
# theme : "minimal-mistakes-jekyll"
13-
# remote_theme : "mmistakes/minimal-mistakes"
14-
minimal_mistakes_skin : "air" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
13+
# remote_theme : "mmistakes/minimal-mistakes"
14+
# minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
1515

1616
# Site Settings
17-
locale : "en-US"
17+
locale : "en" # TODO Check me
1818
title : "Nicola Corti"
1919
title_separator : "-"
2020
name : "Nicola Corti"
2121
description : "Android Developer"
2222
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
2323
baseurl : # the subpath of your site, e.g. "/blog"
24-
repository : "cortinico"
24+
repository : "cortinico/cortinico.github.io"
2525
teaser : "assets/images/teaser.jpg"
2626
# breadcrumbs : false # true, false (default)
2727
words_per_minute : 200
@@ -56,8 +56,8 @@ reCaptcha:
5656
siteKey :
5757
secret :
5858
atom_feed:
59-
path : # blank (default) uses feed.xml
60-
search : # true, false (default)
59+
path : "atom.xml"
60+
search : true # true, false (default)
6161
search_full_content : # true, false (default)
6262
search_provider : # lunr (default), algolia, google
6363
algolia:
@@ -86,15 +86,16 @@ og_image : # Open Graph/Twitter default site image
8686
# For specifying social profiles
8787
# - https://developers.google.com/structured-data/customize/social-profiles
8888
social:
89-
type : # Person or Organization (defaults to Person)
89+
type : "Person" # Person or Organization (defaults to Person)
9090
name : # If the user or organization name differs from the site's name
9191
links: # An array of links to social media profiles
92+
- "https://twitter.com/cortinico"
9293

9394
# Analytics
9495
analytics:
95-
provider : false # false (default), "google", "google-universal", "custom"
96+
provider : "google-universal" # false (default), "google", "google-universal", "custom"
9697
google:
97-
tracking_id :
98+
tracking_id : "UA-71657172-1"
9899
anonymize_ip : # true, false (default)
99100

100101

@@ -193,10 +194,10 @@ sass:
193194
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
194195

195196
# Outputting
196-
permalink: /:categories/:title/
197+
permalink: /:title/
197198
paginate: 5 # amount of posts to show
198199
paginate_path: /page:num/
199-
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
200+
timezone: "Europe/Berlin"
200201

201202
# Plugins (previously gems:)
202203
plugins:
@@ -206,6 +207,7 @@ plugins:
206207
- jekyll-feed
207208
- jemoji
208209
- jekyll-remote-theme
210+
- jekyll-archives
209211

210212
# mimic GitHub Pages with --safe
211213
whitelist:
@@ -227,22 +229,22 @@ whitelist:
227229
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
228230
# - <base_path/my-awesome-category/index.html ~> path: /
229231
category_archive:
230-
type: liquid
232+
type: jekyll-archives
231233
path: /categories/
232234
tag_archive:
233-
type: liquid
235+
type: jekyll-archives
234236
path: /tags/
235237
# https://github.com/jekyll/jekyll-archives
236-
# jekyll-archives:
237-
# enabled:
238-
# - categories
239-
# - tags
240-
# layouts:
241-
# category: archive-taxonomy
242-
# tag: archive-taxonomy
243-
# permalinks:
244-
# category: /categories/:name/
245-
# tag: /tags/:name/
238+
jekyll-archives:
239+
enabled:
240+
- categories
241+
- tags
242+
layouts:
243+
category: archive-taxonomy
244+
tag: archive-taxonomy
245+
permalinks:
246+
category: /categories/:name/
247+
tag: /tags/:name/
246248

247249
# HTML Compression
248250
# - http://jch.penibelst.de/
@@ -269,6 +271,5 @@ defaults:
269271
comments: # true
270272
share: true
271273
related: true
272-
ads: true
273274
header:
274275
hero: false

_pages/blog.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Blog"
3+
layout: posts
4+
excerpt: "TODO"
5+
sitemap: false
6+
permalink: /blog
7+
author_profile: true
8+
header:
9+
overlay_image: "/assets/images/header-about.jpg"
10+
show_overlay_excerpt: false
11+
---

_pages/talks.md

+5
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ header:
1212

1313
# Upcoming
1414

15+
aaaa
16+
test
17+
1518
* Codemotion Milan 2018 - The Curious Case of Android Button
1619
* Mobiconf 2018 - The Curious Case of Android Button
1720

21+
bbbb
22+
1823
# 2018
1924

2025
* Kotlin User Group Hamburg - What's up next for Kotlin?

_posts/2018-08-13-hello-world.md _posts/2018-08-01-hello-world.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
22
title: "Hello World"
3+
categories: "Android"
34

45
excerpt: "First post, finally!"
5-
teaser: "/assets/images/teaser.jpg"
6+
teaser: "/assets/images/post1.jpg"
67

78
header:
8-
image: "/assets/images/teaser.jpg"
9-
teaser: "/assets/images/teaser.jpg"
9+
image: "/assets/images/post1.jpg"
10+
teaser: "/assets/images/post1.jpg"
1011
---
1112

1213
Hi! I finally decided to collect in one place some information about who I am, what I do and my what I like.

_posts/2018-08-02-post2.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: "Post 1"
3+
categories: "TIL"
4+
5+
excerpt: "First post, finally!"
6+
teaser: "/assets/images/post2.jpg"
7+
8+
header:
9+
image: "/assets/images/post2.jpg"
10+
teaser: "/assets/images/post2.jpg"
11+
---
12+
13+
Hi! I finally decided to collect in one place some information about who I am, what I do and my what I like.
14+
More posts coming soon, stay tuned!

_posts/2018-08-03-post3.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Post 3"
3+
categories: "Android"
4+
tags: "TIL"
5+
6+
excerpt: "First post, finally!"
7+
teaser: "/assets/images/post3.jpg"
8+
9+
header:
10+
image: "/assets/images/post3.jpg"
11+
teaser: "/assets/images/post3.jpg"
12+
---
13+
14+
Hi! I finally decided to collect in one place some information about who I am, what I do and my what I like.
15+
More posts coming soon, stay tuned!

_posts/2018-08-04-post4.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Post 4"
3+
4+
excerpt: "First post, finally!"
5+
teaser: "/assets/images/post4.jpg"
6+
7+
header:
8+
image: "/assets/images/post4.jpg"
9+
teaser: "/assets/images/post4.jpg"
10+
---
11+
12+
Hi! I finally decided to collect in one place some information about who I am, what I do and my what I like.
13+
More posts coming soon, stay tuned!

assets/css/main.scss

+11
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,20 @@ $masthead-link-color-hover : $theme-orange !default;
2222
@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
2323
@import "minimal-mistakes"; // main partials
2424

25+
26+
/*
27+
FONT
28+
========================================================================== */
29+
30+
.page__content p, .page__content li, .page__content dl {
31+
font-size: 0.8em;
32+
}
33+
34+
2535
/*
2636
POST PREVIEW
2737
========================================================================== */
38+
2839
h3.archive__date {
2940
margin: 0 0 0 0;
3041
font-size: $type-size-6;

assets/images/post1.jpg

501 KB
Loading

assets/images/post2.jpg

297 KB
Loading

assets/images/post3.jpg

463 KB
Loading

assets/images/post4.jpg

520 KB
Loading

assets/images/teaser.jpg

-615 KB
Binary file not shown.

favicon.ico

31.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)