Skip to content

Commit d7d0b16

Browse files
committed
blog
1 parent 99d0100 commit d7d0b16

29 files changed

+409
-233
lines changed

.editorconfig.txt

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
max_line_length = 0
15+
trim_trailing_whitespace = false
16+
17+
[COMMIT_EDITMSG]
18+
max_line_length = 0

.gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
_site/
2-
.sass-cache/
1+
_site
2+
.sass-cache
33
.jekyll-metadata
4-
_pdf
5-
.idea/
6-
.DS_Store
4+
*.gem
5+
.bundle
6+
vendor/bundle

Gemfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
source "https://rubygems.org"
2+
ruby RUBY_VERSION
3+
4+
gem "jekyll", "3.4.0"
5+
6+
# to use GitHub Pages
7+
# gem "github-pages", group: :jekyll_plugins
8+
9+
# If you have any plugins, put them here!
10+
group :jekyll_plugins do
11+
gem "jekyll-feed"
12+
gem "jekyll-sitemap"
13+
gem "jekyll-redirect-from"
14+
end
15+
16+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
17+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.0)
5+
public_suffix (~> 2.0, >= 2.0.2)
6+
colorator (1.1.0)
7+
ffi (1.9.17)
8+
forwardable-extended (2.6.0)
9+
jekyll (3.4.0)
10+
addressable (~> 2.4)
11+
colorator (~> 1.0)
12+
jekyll-sass-converter (~> 1.0)
13+
jekyll-watch (~> 1.1)
14+
kramdown (~> 1.3)
15+
liquid (~> 3.0)
16+
mercenary (~> 0.3.3)
17+
pathutil (~> 0.9)
18+
rouge (~> 1.7)
19+
safe_yaml (~> 1.0)
20+
jekyll-feed (0.8.0)
21+
jekyll (~> 3.3)
22+
jekyll-redirect-from (0.12.1)
23+
jekyll (~> 3.3)
24+
jekyll-sass-converter (1.5.0)
25+
sass (~> 3.4)
26+
jekyll-sitemap (1.0.0)
27+
jekyll (~> 3.3)
28+
jekyll-watch (1.5.0)
29+
listen (~> 3.0, < 3.1)
30+
kramdown (1.13.2)
31+
liquid (3.0.6)
32+
listen (3.0.8)
33+
rb-fsevent (~> 0.9, >= 0.9.4)
34+
rb-inotify (~> 0.9, >= 0.9.7)
35+
mercenary (0.3.6)
36+
pathutil (0.14.0)
37+
forwardable-extended (~> 2.6)
38+
public_suffix (2.0.5)
39+
rb-fsevent (0.9.8)
40+
rb-inotify (0.9.8)
41+
ffi (>= 0.5.0)
42+
rouge (1.11.1)
43+
safe_yaml (1.0.4)
44+
sass (3.4.23)
45+
46+
PLATFORMS
47+
ruby
48+
49+
DEPENDENCIES
50+
jekyll (= 3.4.0)
51+
jekyll-feed
52+
jekyll-redirect-from
53+
jekyll-sitemap
54+
tzinfo-data
55+
56+
RUBY VERSION
57+
ruby 2.3.1p112
58+
59+
BUNDLED WITH
60+
1.14.3

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LinkSmart Documentation & Website
2+
3+
Add Markdown files to `docs` & `posts` and [Jekyll](http://jekyllrb.com/) will generate the static website.

_config.yml

+17-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
# Site settings
22
title: LinkSmart
33
4-
description: > # this means to ignore newlines until "baseurl:"
5-
Write an awesome description for your new site here. You can edit this
6-
line in _config.yml. It will appear in your document head meta (for
7-
Google search results) and in your feed.xml site description.
4+
description: > # Lorem ipsum dolor sit amet, consectetur adipiscing elit,
5+
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
6+
enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
7+
ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit
8+
in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
89
baseurl: "" # the subpath of your site, e.g. /blog/
9-
url: "http://yourdomain.com" # the base hostname & protocol for your site
10-
twitter_username: jekyllrb
11-
github_username: jekyll
10+
url: "linksmart-eu.github.io" # the base hostname & protocol for your site
11+
github_address: https://github.com/linksmart-eu/linksmart-eu.github.io
1212

1313
# Build settings
14-
markdown: redcarpet
15-
highlighter: pygments
16-
14+
markdown: kramdown
15+
highlighter: rouge
16+
gems:
17+
- jekyll-feed
18+
- jekyll-sitemap
19+
- jekyll-redirect-from
1720
exclude:
21+
- Gemfile
22+
- Gemfile.lock
1823
- .idea/
1924
- .gitignore
20-
25+
- README.md
26+
timezone: Europe/Berlin
2127
defaults:
2228
- scope:
2329
path: ''

_data/docs.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
- title: Getting Started
2+
docs:
3+
- home
4+
- quickstart
5+
- installation
6+
- usage
7+
- structure
8+
- configuration
9+
10+
- title: Your Content
11+
docs:
12+
- frontmatter
13+
- posts
14+
- drafts
15+
- pages
16+
- static-files
17+
- variables
18+
- collections
19+
- datafiles
20+
- assets
21+
- migrations
22+
23+
- title: Customization
24+
docs:
25+
- templates
26+
- includes
27+
- permalinks
28+
- pagination
29+
- plugins
30+
- themes
31+
- extras
32+
33+
- title: Deployment
34+
docs:
35+
- github-pages
36+
- deployment-methods
37+
- continuous-integration
38+
39+
- title: Miscellaneous
40+
docs:
41+
- troubleshooting
42+
- sites
43+
- resources
44+
- upgrading/0-to-2
45+
- upgrading/2-to-3
46+
47+
- title: Meta
48+
docs:
49+
- contributing
50+
- maintaining
51+
- conduct
52+
- history

_data/homepage.yml

-1
This file was deleted.

_includes/footer.html

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
<!-- <footer class="footer">
2-
3-
4-
</footer> -->
5-
61
<footer class="footer">
7-
<div class="container">
8-
9-
<p class="text-center">
10-
<a href="http://www.fit.fraunhofer.de">Fraunhofer FIT</a> | <a href="http://www.fit.fraunhofer.de/en/imprint.html">Imprint</a> | <a href="http://www.fit.fraunhofer.de/en/data_protection.html">Data Protection Policy</a>
11-
</p>
12-
<!-- <p class="text-muted">Place sticky footer content here.</p> -->
13-
</div>
2+
<div class="container">
3+
4+
<p class="text-center">
5+
<a href="http://www.fit.fraunhofer.de">Fraunhofer FIT</a> |
6+
<a href="http://www.fit.fraunhofer.de/en/imprint.html">Imprint</a> |
7+
<a href="http://www.fit.fraunhofer.de/en/data_protection.html">Data Protection Policy</a> |
8+
Powered by <a href="https://jekyllrb.com/">Jekyll</a>
9+
</p>
10+
<!-- <p class="text-muted">Place sticky footer content here.</p> -->
11+
</div>
1412
</footer>
1513

1614
<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
17-
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }} "></script>
15+
<script src="{{ " /js/bootstrap.min.js " | prepend: site.baseurl }} "></script>

_includes/head.html

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
<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">
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">
55

6-
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
6+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
88

9+
<!-- !!!DO NOT ALLOW SEARCH ENGINES TO CRRAWL THE SITE (YET)!!! -->
10+
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
911

10-
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
11-
<link rel="stylesheet" href="{{ "/css/font-awesome.min.css" | prepend: site.baseurl }}">
12-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500" type="text/css">
1312

13+
<link rel="stylesheet" href="{{ " /css/main.css " | prepend: site.baseurl }}">
14+
<link rel="stylesheet" href="{{ " /css/font-awesome.min.css " | prepend: site.baseurl }}">
15+
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic,500" type="text/css">
1416

15-
<link rel="shortcut icon" href="{{ "/favicon.ico?1" | prepend: site.baseurl }}">
1617

18+
<link rel="shortcut icon" href="{{ " /favicon.ico?1 " | prepend: site.baseurl }}">
1719

1820

19-
20-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
21-
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
21+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
22+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ " /feed.xml " | prepend: site.baseurl | prepend: site.url }}" />
2223
</head>

_includes/topnav.html

+14-16
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
<nav class="navbar navbar-default navbar-fixed-top">
2-
<div class="container navbar-container">
3-
<div class="navbar-header">
4-
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
2+
<div class="container navbar-container">
3+
<div class="navbar-header">
4+
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
55
<span class="sr-only">Toggle navigation</span>
66
<span class="icon-bar"></span>
77
<span class="icon-bar"></span>
88
<span class="icon-bar"></span>
99
</button>
10-
<a class="navbar-brand" href="{{ site.baseurl }}/">
11-
<span><img src="{{site.baseurl}}/img/logonav.png" style="margin-top: -14px;"></span>
12-
{{ site.title }}
13-
</a>
10+
<a class="navbar-brand" href="{{ site.baseurl }}/">
11+
<span><img src="{{site.baseurl}}/img/logonav.png" style="margin-top: -14px;"></span> {{ site.title }}
12+
</a>
13+
</div>
14+
<div id="navbar" class="collapse navbar-collapse">
15+
<ul class="nav navbar-nav">
16+
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ " /docs/home/ " | prepend: site.baseurl }}">Docs</a></li>
17+
<li {% if page.sectionid=='blog' %} class="active" {% endif %}><a href="{{ site.posts.first.url | prepend: site.baseurl }}">Blog</a></li>
18+
<li><a href="{{ site.github_address }}"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a></li>
19+
</ul>
20+
</div>
1421
</div>
15-
<div id="navbar" class="collapse navbar-collapse">
16-
<ul class="nav navbar-nav">
17-
<li {% if page.sectionid == 'docs' %} class="active"{% endif %}><a href="{{ "/docs" | prepend: site.baseurl }}">Docs</a></li>
18-
<li {% if page.sectionid == 'blog' %} class="active"{% endif %}><a href="{{ "/blog" | prepend: site.baseurl }}">Blog</a></li>
19-
<li><a href="#contact"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a></li>
20-
</ul>
21-
</div>
22-
<!--/.nav-collapse -->
23-
</div>
2422
</nav>

_layouts/default.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<!DOCTYPE html>
22
<html>
33

4-
{% include head.html %}
4+
{% include head.html %}
55

6-
<body>
6+
<body>
77

88
{% include topnav.html %}
99

1010
<div class="page-content">
11-
<div class="wrapper">
12-
{{ content }}
13-
</div>
11+
<div class="wrapper">
12+
{{ content }}
13+
</div>
1414
</div>
1515

1616
{% include footer.html %}
1717

18-
</body>
18+
</body>
1919

2020
</html>

_layouts/docs.html

+14-18
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,21 @@
55
<br>
66
<br>
77
<div class="container">
8-
<div class="row">
9-
<div class="col-md-4">
10-
<div class="well">
11-
<h4>DOCS</h4>
12-
<ul class="post-list">
13-
{% for doc in site.docs %}
14-
<li>
15-
<a href="{{ doc.url | prepend: site.baseurl }}">{{ doc.title }}</a>
16-
</li>
17-
{% endfor %}
18-
</ul>
19-
</div>
20-
</div>
8+
<div class="row">
9+
<div class="col-md-4">
2110

22-
<div class="col-lg-8">
23-
<h1>{{ page.title }}</h1>
24-
<div>{{ content }}</div>
25-
</div>
11+
<div class="panel panel-default">
12+
<div class="panel-body">
13+
14+
</div>
15+
</div>
16+
</div>
2617

18+
<div class="col-lg-8">
19+
<h1>{{ page.title }}</h1>
20+
<div>{{ content }}</div>
21+
</div>
2722

28-
</div>
23+
24+
</div>
2925
</div>

0 commit comments

Comments
 (0)