Skip to content
Snippets Groups Projects
Commit 3f729188 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
*.gem
.bundle
.sass-cache
_site
Gemfile.lock
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
The MIT License (MIT)
Copyright (c) 2019 jacek.lebioda
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
# elixir-theme
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
TODO: Delete this and the text above, and describe your gem
## Installation
Add this line to your Jekyll site's `Gemfile`:
```ruby
gem "elixir-theme"
```
And add this line to your Jekyll site's `_config.yml`:
```yaml
theme: elixir-theme
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install elixir-theme
## Usage
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## Development
To set up your environment to develop this theme, run `bundle install`.
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
To add a custom directory to your theme-gem, please edit the regexp in `elixir-theme.gemspec` accordingly.
## License
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
title: ELIXIR.LU jekyll template
email: jacek.lebioda@uni.lu
description: >-
This gem contains a jekyll theme for the Luxembourgish ELIXIR Node's website
footer-text: >-
This is a text in the footer
baseurl: ""
url: ""
# Build settings
markdown: kramdown
\ No newline at end of file
<footer id="site-footer-primary">
<div id="site-footer-primary-wrapper">
<div>
<h3>About the Node</h3>
<ul>
<li><a href="{{ site.baseurl }}/about-node/team">Team</a></li>
<li><a href="{{ site.baseurl }}/about-node/collaborations">Collaborations</a></li>
<li><a href="{{ site.baseurl }}/about-node/funding-and-governance">Funding and governance</a></li>
<li><a href="{{ site.baseurl }}/about-node/vacancies">Vacancies</a></li>
<li><a href="{{ site.baseurl }}/contact">Contact</a></li>
</ul>
</div>
<div>
<h3>Services</h3>
<ul>
<li><a href="#">Sustainability of data</a></li>
<li><a href="#">Sustainability of tools</a></li>
<li><a href="#">GDPR activities</a></li>
</ul>
</div>
<div>
<h3>Events</h3>
<ul>
<li><a href="#">Workshops and courses</a></li>
<li><a href="#">Meetings and conferences</a></li>
</ul>
</div>
<div>
<a href="http://www.elixir-europe.org" title="ELIXIR">
<img src="https://elixir-europe.org/system/files/white-orange-logo.png" alt="Elixir logo" width="150px" />
</a>
</div>
</div>
</footer>
<footer id="site-footer-secondary">
<div id="site-footer-secondary-wrapper">
<div id="copyright">
<ul>
<li>{{- site.footer-copyright | escape -}}</li>
<li><a href="#">Privacy</a></li>
<li><a href="#">Cookies</a></li>
<li><a href="#">Terms of use</a></li>
</ul>
</div>
<div id="address">
{{- site.footer-text | escape -}}
</div>
</div>
</footer>
\ No newline at end of file
<header id="site-header" role="banner" aria-label="Site header">
<div id="site-header-wrapper">
<ul>
<li><img src="https://elixir-europe.org/system/files/white-orange-logo.png" /></li>
<li><a href="{{ site.baseurl }}/about-node">About</a></li>
<li><a href="{{ site.baseurl }}/services">Services</a></li>
<li><a href="{{ site.baseurl }}/training">Training</a></li>
<li><a href="{{ site.baseurl }}/events">Events</a></li>
<li><a href="{{ site.baseurl }}/news">News</a></li>
<li><a href="{{ site.baseurl }}/contact">Contact</a></li>
</ul>
</div>
</header>
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:400,400italic,700" media="all">
</head>
<body>
{%- include header.html -%}
<main id="page-content" aria-label="Content">
{% if page.content_title %}
<h1 id="page-title">
{{ page.content_title }}
</h1>
{% endif %}
{{ content }}
</main>
{%- include footer.html -%}
</body>
</html>
\ No newline at end of file
---
layout: default
---
{{ content }}
---
layout: default
---
{{ content }}
@import
"elixir/base",
"elixir/layout"
;
\ No newline at end of file
$COLOR_LINK_ELIXIR: #f47d21;
$COLOR_BACKGROUND_HEADER: #023452;
$FONT_DEFAULT: 'Lato', Verdana, Helvetica, sans-serif;
$PADDING_PAGE_LEFT: 13%;
$WIDTH_CONTENT: 74%;
body {
-webkit-font-smoothing: antialiased;
font-family: $FONT_DEFAULT;
font-variant-ligatures: none;
font-size: 13px;
}
\ No newline at end of file
#site-header {
background: $COLOR_BACKGROUND_HEADER;
height: 93px;
margin-top: -15px;
#site-header-wrapper {
padding-left: $PADDING_PAGE_LEFT;
ul {
margin-left: 0px;
position: relative;
top: 66px;
li {
list-style: none;
float: left;
margin: 0;
padding: 0;
img {
width: 150px;
position: relative;
bottom: 46px;
padding-left: 10px;
}
a {
display: block;
white-space: nowrap;
padding: 2px 12px;
margin-left: 0;
color: #fefefe;
transition: color 0.25s;
text-transform: uppercase;
font-size: 0.875rem;
text-decoration: none;
}
a:hover {
color: $COLOR_LINK_ELIXIR;
border-color: $COLOR_LINK_ELIXIR;
text-decoration: none;
}
}
}
}
}
#site-content {
div {
padding-left: $PADDING_PAGE_LEFT;
width: $WIDTH_CONTENT;
padding-right: 10px;
margin: 0px;
}
h1.title {
font-size: 37px;
color: #005472;
line-height: 1.1;
font-weight: 300;
margin: 0 0 12px 0;
}
}
#site-footer-primary {
#site-footer-primary-wrapper {
display: flex;
flex-direction: row;
background: #3e3e3e;
font-size: 0.875rem;
padding-left: 13%;
div {
margin-left: 15px;
margin-right: 15px;
h3 {
border-bottom: 1px solid #848484;
font-size: 1rem;
color: #ebebeb;
transition: color 0.15s;
}
ul {
margin-left: 10px;
li {
list-style: none;
width: auto;
float: none;
min-width: 0;
a {
display: inline-block;
zoom: 1;
font-size: 11px;
line-height: 1.1;
color: #ebebeb;
transition: color 0.15s;
padding: 1px 4px 2px 0;
border-bottom: none;
margin-bottom: 0;
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #f47d21;
text-decoration: underline;
}
}
}
}
}
}
#site-footer-secondary {
#site-footer-secondary-wrapper {
background: #023452;
border-top: 1px solid #333;
padding-left: 13%;
color: #ebebeb;
font-size: 0.875rem;
display: flex;
ul {
list-style: none;
padding-right: 100px;
li {
display: inline-block;
}
a {
display: inline-block;
color: #ffffff;
font-weight: 800;
transition: color 0.15s;
padding-left: 15px;
padding-right: 15px;
}
a:hover {
color: orange;
text-decoration: none;
}
}
#address {
color: #888;
font-size: 11px;
}
}
}
\ No newline at end of file
---
# This line is required so that Jekyll generates this file
---
@import "elixir";
# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "elixir-theme"
spec.version = "0.1.0"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
spec.summary = "Jekyll theme for ELIXIR blog site"
spec.homepage = "https://git-r3lab.uni.lu/elixir/elixir-theme"
spec.license = "Apache2"
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) }
spec.add_runtime_dependency "jekyll", "~> 3.8"
spec.add_development_dependency "bundler", "~> 1.16"
spec.add_development_dependency "rake", "~> 12.0"
end
---
title: Test
layout: default
---
test
*test*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment