Skip to content

Commit

Permalink
blog
Browse files Browse the repository at this point in the history
  • Loading branch information
aksakalli committed Feb 2, 2017
1 parent 99d0100 commit d7d0b16
Show file tree
Hide file tree
Showing 29 changed files with 409 additions and 233 deletions.
18 changes: 18 additions & 0 deletions .editorconfig.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_site/
.sass-cache/
_site
.sass-cache
.jekyll-metadata
_pdf
.idea/
.DS_Store
*.gem
.bundle
vendor/bundle
17 changes: 17 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source "https://rubygems.org"
ruby RUBY_VERSION

gem "jekyll", "3.4.0"

# to use GitHub Pages
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-sitemap"
gem "jekyll-redirect-from"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
60 changes: 60 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
colorator (1.1.0)
ffi (1.9.17)
forwardable-extended (2.6.0)
jekyll (3.4.0)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.3)
liquid (~> 3.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 1.7)
safe_yaml (~> 1.0)
jekyll-feed (0.8.0)
jekyll (~> 3.3)
jekyll-redirect-from (0.12.1)
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-sitemap (1.0.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.13.2)
liquid (3.0.6)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
mercenary (0.3.6)
pathutil (0.14.0)
forwardable-extended (~> 2.6)
public_suffix (2.0.5)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
rouge (1.11.1)
safe_yaml (1.0.4)
sass (3.4.23)

PLATFORMS
ruby

DEPENDENCIES
jekyll (= 3.4.0)
jekyll-feed
jekyll-redirect-from
jekyll-sitemap
tzinfo-data

RUBY VERSION
ruby 2.3.1p112

BUNDLED WITH
1.14.3
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# LinkSmart Documentation & Website

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

# Build settings
markdown: redcarpet
highlighter: pygments

markdown: kramdown
highlighter: rouge
gems:
- jekyll-feed
- jekyll-sitemap
- jekyll-redirect-from
exclude:
- Gemfile
- Gemfile.lock
- .idea/
- .gitignore

- README.md
timezone: Europe/Berlin
defaults:
- scope:
path: ''
Expand Down
52 changes: 52 additions & 0 deletions _data/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
- title: Getting Started
docs:
- home
- quickstart
- installation
- usage
- structure
- configuration

- title: Your Content
docs:
- frontmatter
- posts
- drafts
- pages
- static-files
- variables
- collections
- datafiles
- assets
- migrations

- title: Customization
docs:
- templates
- includes
- permalinks
- pagination
- plugins
- themes
- extras

- title: Deployment
docs:
- github-pages
- deployment-methods
- continuous-integration

- title: Miscellaneous
docs:
- troubleshooting
- sites
- resources
- upgrading/0-to-2
- upgrading/2-to-3

- title: Meta
docs:
- contributing
- maintaining
- conduct
- history
1 change: 0 additions & 1 deletion _data/homepage.yml

This file was deleted.

24 changes: 11 additions & 13 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<!-- <footer class="footer">
</footer> -->

<footer class="footer">
<div class="container">

<p class="text-center">
<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>
</p>
<!-- <p class="text-muted">Place sticky footer content here.</p> -->
</div>
<div class="container">

<p class="text-center">
<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> |
Powered by <a href="https://jekyllrb.com/">Jekyll</a>
</p>
<!-- <p class="text-muted">Place sticky footer content here.</p> -->
</div>
</footer>

<script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="{{ "/js/bootstrap.min.js" | prepend: site.baseurl }} "></script>
<script src="{{ " /js/bootstrap.min.js " | prepend: site.baseurl }} "></script>
25 changes: 13 additions & 12 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

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

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

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

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

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

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



<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ " /feed.xml " | prepend: site.baseurl | prepend: site.url }}" />
</head>
30 changes: 14 additions & 16 deletions _includes/topnav.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container navbar-container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<div class="container navbar-container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.baseurl }}/">
<span><img src="{{site.baseurl}}/img/logonav.png" style="margin-top: -14px;"></span>
{{ site.title }}
</a>
<a class="navbar-brand" href="{{ site.baseurl }}/">
<span><img src="{{site.baseurl}}/img/logonav.png" style="margin-top: -14px;"></span> {{ site.title }}
</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li {% if page.sectionid=='docs' %} class="active" {% endif %}><a href="{{ " /docs/home/ " | prepend: site.baseurl }}">Docs</a></li>
<li {% if page.sectionid=='blog' %} class="active" {% endif %}><a href="{{ site.posts.first.url | prepend: site.baseurl }}">Blog</a></li>
<li><a href="{{ site.github_address }}"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a></li>
</ul>
</div>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li {% if page.sectionid == 'docs' %} class="active"{% endif %}><a href="{{ "/docs" | prepend: site.baseurl }}">Docs</a></li>
<li {% if page.sectionid == 'blog' %} class="active"{% endif %}><a href="{{ "/blog" | prepend: site.baseurl }}">Blog</a></li>
<li><a href="#contact"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
12 changes: 6 additions & 6 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<!DOCTYPE html>
<html>

{% include head.html %}
{% include head.html %}

<body>
<body>

{% include topnav.html %}

<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
<div class="wrapper">
{{ content }}
</div>
</div>

{% include footer.html %}

</body>
</body>

</html>
32 changes: 14 additions & 18 deletions _layouts/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,21 @@
<br>
<br>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="well">
<h4>DOCS</h4>
<ul class="post-list">
{% for doc in site.docs %}
<li>
<a href="{{ doc.url | prepend: site.baseurl }}">{{ doc.title }}</a>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="row">
<div class="col-md-4">

<div class="col-lg-8">
<h1>{{ page.title }}</h1>
<div>{{ content }}</div>
</div>
<div class="panel panel-default">
<div class="panel-body">

</div>
</div>
</div>

<div class="col-lg-8">
<h1>{{ page.title }}</h1>
<div>{{ content }}</div>
</div>

</div>

</div>
</div>
Loading

0 comments on commit d7d0b16

Please sign in to comment.