Skip to content

Commit 75c9645

Browse files
author
NooBxGockeL
committed
Incorperate Programming Principles
* add programming-principles submodule (not recursive) * add exclude for the containing index.md * add webpro to people.yml * remove comments page variable because its not used anymore
1 parent 91db1e2 commit 75c9645

8 files changed

Lines changed: 45 additions & 4 deletions

File tree

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
path = patterns
33
url = https://github.com/iluwatar/java-design-patterns.git
44
branch = master
5+
[submodule "programming-principles"]
6+
path = programming-principles
7+
url = https://github.com/webpro/programming-principles.git
8+
branch = gh-pages

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ compress_html:
3535
ignore:
3636
envs: [local]
3737

38-
exclude: [Gemfile, bin, s3_website.yml, vendor]
38+
exclude: [Gemfile, bin, s3_website.yml, vendor, programming-principles/index.md]

_data/people.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@ npa:
2222
name: Narendra Pathai
2323
github: npathai
2424
twitter: NarendraPathai
25+
26+
pro:
27+
name: Lars Kappert
28+
github: webpro
29+
twitter: webprolific
30+
linkedin: larskappert

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: page
3-
comments: false
43
---
54
<div class="readme">
65
{% capture maincontent %}

pages/blog.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
title: Blog
44
permalink: /blog/
55
icon: fa-align-justify
6-
comments: false
76
page-index: 3
87
---
98
<div id="index" class="row">

pages/patterns.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
title: Patterns
44
permalink: /patterns/
55
icon: fa-th-large
6-
comments: false
76
page-index: 4
87
modules: lunr
98
---

principles.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
layout: default
3+
title: Principles
4+
permalink: /principles/
5+
icon: fa-wrench
6+
page-index: 5
7+
---
8+
<!-- This file has to lie in the root because it references "programming-principles/README.md" relatively
9+
Jekyll doesnt support absolute including without adding plugins -->
10+
<div class="row">
11+
<div class="col-md-12">
12+
<div class="readme content-area page">
13+
{% capture maincontent %}
14+
15+
{% include_relative programming-principles/README.md %}
16+
17+
{% endcapture %}
18+
19+
<article>
20+
{{ maincontent | remove: "# Programming Principles" | markdownify }}
21+
</article>
22+
23+
<a class="btn btn-primary" href="https://github.com/webpro/programming-principles/blob/gh-pages/README.md" target="_blank">
24+
<span class="glyphicon glyphicon-new-window"></span>
25+
&nbsp;View Source on Github
26+
</a>
27+
28+
<hr class="dashed">
29+
{% include author.html author="pro" %}
30+
{% include disqus.html %}
31+
</div>
32+
</div>
33+
</div>

programming-principles

Submodule programming-principles added at d23120c

0 commit comments

Comments
 (0)