jekyll-nerd-portfolio 0.2.3 → 0.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a383d8857df118bafed5d6d290cfec143841786
4
- data.tar.gz: bcec7746b4142d30f178cb12c1edc291e890ee01
3
+ metadata.gz: e0b12d9e9b129085f6ff89dcbebde848393d3198
4
+ data.tar.gz: 82a4d2715c18f125c0dddf922c1b25325fcd387e
5
5
  SHA512:
6
- metadata.gz: f31e56728516f10607fd453a5d14f54762fddc31a9a27805b51fcc1829351d8ea62d8d807ad4a27b5d39afeffbda9e15524e37f83dfe06d45de0e587a3069304
7
- data.tar.gz: c2d7670fb416afcf51e752f1a364e55e2ef9dca0cc9b7a03254a63dc2ef611c017c8c74ade4234c0378e23f1e794462c482cca89fcbcec0d694d4a12abe980e2
6
+ metadata.gz: 8b3207ec2750f8a9aa73aafb737e7cff8087d42cc92f7abe2d913ae8163e5e6c7c48f5a5679126bd41ca7b4a73287141ad82b69c52201875e38dfa6317f4e6b3
7
+ data.tar.gz: d01afb261c4e2d0e9374a3b304f6f7f2b47592121b9eb9ec06b7b0701040fd33ffc58c4674bd303be499564a1ece5d9bb64eda40699cf6c01b76ceecd60c2ee3
@@ -3,9 +3,9 @@
3
3
  <div class="container w-container">
4
4
  <nav role="navigation" class="nav-menu w-nav-menu">
5
5
  <a href="/" class="nav-link w-nav-link">Home</a>
6
- <a href="/adventures" class="nav-link w-nav-link">Adventures</a>
7
- <a href="/blog" class="nav-link w-nav-link">Blog</a>
8
- <a href="/portfolio" class="nav-link w-nav-link">Portfolio</a>
6
+ {% for taxonomy in site.taxonomies %}
7
+ <a href="/{{ taxonomy }}" class="nav-link w-nav-link">{{taxonomy | capitalize }}</a>
8
+ {% endfor %}
9
9
  <a href="/contact" class="nav-link w-nav-link">Contact</a>
10
10
  </nav>
11
11
  <div class="w-nav-button">
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include header.html %}
5
+ {% include page-header.html %}
6
6
  {% if site.github_fork_banner %}
7
7
  <a class="github-fork-ribbon fixed" href="{{ site.github_fork_banner }}" target="_blank" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
8
8
  Fork me on GitHub
@@ -10,52 +10,13 @@ layout: default
10
10
  {% endif %}
11
11
  <div data-component="Content" class="content">
12
12
  <div class="home-content w-container">
13
- {% if site.categories.adventures.size > 0 %}
14
- <h1 class="heading-5">Recent Adventures</h1>
13
+ {% for taxonomy in site.taxonomies %}
14
+ {% if site.categories[taxonomy].size > 0 %}
15
+ <a href="/{{ taxonomy }}">
16
+ <h1 class="heading-5">Recent {{ taxonomy | capitalize }}</h1>
17
+ </a>
15
18
  <div class="sample-blog">
16
- {% for page in site.categories.adventures limit:3 %}
17
- <div class="post-container">
18
- {% if page.featured-img %}
19
- <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
20
- {% else %}
21
- <div class="post-background"></div>
22
- {% endif %}
23
- <a href="{{ page.url }}" class="post w-inline-block">
24
- <h3 class="heading-2 post-title">{{ page.title }}</h3>
25
- <h5 class="heading-2 post-meta">
26
- {{ page.date | date: "%b %-d" }} • {{ page.content | read_time_short }}
27
- </h5>
28
- <h5 class="heading post-description">{{ page.excerpt | truncatewords: 18 }}</h5>
29
- </a>
30
- </div>
31
- {% endfor %}
32
- </div>
33
- {% endif %}
34
- {% if site.categories.blog.size > 0 %}
35
- <h1 class="heading-4">Recent Blog Posts</h1>
36
- <div class="sample-blog">
37
- {% for page in site.categories.blog limit:3 %}
38
- <div class="post-container">
39
- {% if page.featured-img %}
40
- <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
41
- {% else %}
42
- <div class="post-background"></div>
43
- {% endif %}
44
- <a href="{{ page.url }}" class="post w-inline-block">
45
- <h3 class="heading-2 post-title">{{ page.title }}</h3>
46
- <h5 class="heading-2 post-meta">
47
- {{ page.date | date: "%b %-d" }} • {{ page.content | read_time_short }}
48
- </h5>
49
- <h5 class="heading post-description">{{ page.excerpt | truncatewords: 18 }}</h5>
50
- </a>
51
- </div>
52
- {% endfor %}
53
- </div>
54
- {% endif %}
55
- {% if site.categories.portfolio.size > 0 %}
56
- <h1 class="heading-3">Recent Portfolio</h1>
57
- <div class="sample-blog">
58
- {% for page in (site.categories.portfolio limit:3 %}
19
+ {% for page in site.categories[taxonomy] limit:3 %}
59
20
  <div class="post-container">
60
21
  {% if page.featured-img %}
61
22
  <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
@@ -73,6 +34,7 @@ layout: default
73
34
  {% endfor %}
74
35
  </div>
75
36
  {% endif %}
37
+ {% endfor %}
76
38
  <h1 class="heading-3">Tools and Experience</h1>
77
39
  <div class="experience">
78
40
  {% for skill in site.skills %}
@@ -2,7 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% include header.html %}
5
+ {% include page-header.html %}
6
6
  {% if site.github_fork_banner %}
7
7
  <a class="github-fork-ribbon fixed" href="{{ site.github_fork_banner }}" target="_blank" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
8
8
  Fork me on GitHub
@@ -10,7 +10,7 @@ layout: default
10
10
  {% endif %}
11
11
  <div data-component="Content" class="content">
12
12
  <div class="blog-content w-container">
13
- {% for page in site.categories.adventures %}
13
+ {% for page in site.categories[page.taxonomy] %}
14
14
  <div class="post-container">
15
15
  {% if page.featured-img %}
16
16
  <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-nerd-portfolio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jam Risser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-03 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -66,14 +66,12 @@ files:
66
66
  - _includes/navbar.html
67
67
  - _includes/page-header.html
68
68
  - _includes/post-header.html
69
- - _layouts/adventures.html
70
- - _layouts/blog.html
71
69
  - _layouts/contact.html
72
70
  - _layouts/default.html
73
71
  - _layouts/home.html
74
72
  - _layouts/page.html
75
- - _layouts/portfolio.html
76
73
  - _layouts/post.html
74
+ - _layouts/taxonomy.html
77
75
  - assets/css/devicon.min.css
78
76
  - assets/css/normalize.css
79
77
  - assets/css/style.css
@@ -1,31 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {% include header.html %}
6
- {% if site.github_fork_banner %}
7
- <a class="github-fork-ribbon fixed" href="{{ site.github_fork_banner }}" target="_blank" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
8
- Fork me on GitHub
9
- </a>
10
- {% endif %}
11
- <div data-component="Content" class="content">
12
- <div class="blog-content w-container">
13
- {% for page in site.categories.blog %}
14
- <div class="post-container">
15
- {% if page.featured-img %}
16
- <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
17
- {% else %}
18
- <div class="post-background"></div>
19
- {% endif %}
20
- <a href="{{ page.url }}" class="post w-inline-block">
21
- <h3 class="heading-2 post-title">{{ page.title }}</h3>
22
- <h5 class="heading-2 post-meta">
23
- {{ page.date | date: "%b %-d" }} • {{ page.content | read_time_short }}
24
- </h5>
25
- <h5 class="heading post-description">{{ page.excerpt | truncatewords: 18 }}</h5>
26
- </a>
27
- </div>
28
- {% endfor %}
29
- </div>
30
- </div>
31
- {% include footer.html %}
@@ -1,31 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- {% include header.html %}
6
- {% if site.github_fork_banner %}
7
- <a class="github-fork-ribbon fixed" href="{{ site.github_fork_banner }}" target="_blank" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
8
- Fork me on GitHub
9
- </a>
10
- {% endif %}
11
- <div data-component="Content" class="content">
12
- <div class="blog-content w-container">
13
- {% for page in site.categories.portfolio %}
14
- <div class="post-container">
15
- {% if page.featured-img %}
16
- <div class="post-background" style="background-image: url('{{ site.url }}{{ site.baseurl }}/assets/images/{{ page.featured-img }}')"></div>
17
- {% else %}
18
- <div class="post-background"></div>
19
- {% endif %}
20
- <a href="{{ page.url }}" class="post w-inline-block">
21
- <h3 class="heading-2 post-title">{{ page.title }}</h3>
22
- <h5 class="heading-2 post-meta">
23
- {{ page.date | date: "%b %-d" }} • {{ page.content | read_time_short }}
24
- </h5>
25
- <h5 class="heading post-description">{{ page.excerpt | truncatewords: 18 }}</h5>
26
- </a>
27
- </div>
28
- {% endfor %}
29
- </div>
30
- </div>
31
- {% include footer.html %}