Skip to content

Commit 6739979

Browse files
committed
Revamp website
1 parent 2684dc5 commit 6739979

18 files changed

+331
-355
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata

.travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@ language: python
22
python:
33
- "2.7"
44
- "3.6"
5+
before_install:
6+
- gem install bundler jekyll
57
before_script:
68
- flake8 scripts
9+
- bundle install
710
- sudo apt-get update
811
- sudo apt-get install oracle-java8-installer
912
- sudo update-java-alternatives -s java-8-oracle
1013

1114
script:
12-
- html5validator
15+
- bundle exec jekyll build
16+
- html5validator _site/*.html
1317

Gemfile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 3.8.2"
4+
gem "minima", "~> 2.0"
5+
6+
# If you have any plugins, put them here
7+
group :jekyll_plugins do
8+
gem "jekyll-feed", "~> 0.6"
9+
end
10+
11+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
12+
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
13+
14+
# Performance-booster for watching directories on Windows
15+
gem "wdm", "~> 0.1.0" if Gem.win_platform?
16+

Gemfile.lock

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.5.2)
5+
public_suffix (>= 2.0.2, < 4.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.0.5)
8+
em-websocket (0.5.1)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0.6.0)
11+
eventmachine (1.2.7)
12+
ffi (1.9.23)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.6.0)
15+
i18n (0.9.5)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (3.8.2)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 0.7)
22+
jekyll-sass-converter (~> 1.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 1.14)
25+
liquid (~> 4.0)
26+
mercenary (~> 0.3.3)
27+
pathutil (~> 0.9)
28+
rouge (>= 1.7, < 4)
29+
safe_yaml (~> 1.0)
30+
jekyll-feed (0.9.3)
31+
jekyll (~> 3.3)
32+
jekyll-sass-converter (1.5.2)
33+
sass (~> 3.4)
34+
jekyll-seo-tag (2.5.0)
35+
jekyll (~> 3.3)
36+
jekyll-watch (2.0.0)
37+
listen (~> 3.0)
38+
kramdown (1.16.2)
39+
liquid (4.0.0)
40+
listen (3.1.5)
41+
rb-fsevent (~> 0.9, >= 0.9.4)
42+
rb-inotify (~> 0.9, >= 0.9.7)
43+
ruby_dep (~> 1.2)
44+
mercenary (0.3.6)
45+
minima (2.5.0)
46+
jekyll (~> 3.5)
47+
jekyll-feed (~> 0.9)
48+
jekyll-seo-tag (~> 2.1)
49+
pathutil (0.16.1)
50+
forwardable-extended (~> 2.6)
51+
public_suffix (3.0.2)
52+
rb-fsevent (0.10.3)
53+
rb-inotify (0.9.10)
54+
ffi (>= 0.5.0, < 2)
55+
rouge (3.1.1)
56+
ruby_dep (1.5.0)
57+
safe_yaml (1.0.4)
58+
sass (3.5.6)
59+
sass-listen (~> 4.0.0)
60+
sass-listen (4.0.0)
61+
rb-fsevent (~> 0.9, >= 0.9.4)
62+
rb-inotify (~> 0.9, >= 0.9.7)
63+
64+
PLATFORMS
65+
ruby
66+
67+
DEPENDENCIES
68+
jekyll (~> 3.8.2)
69+
jekyll-feed (~> 0.6)
70+
minima (~> 2.0)
71+
tzinfo-data
72+
73+
BUNDLED WITH
74+
1.16.1

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
# trellis-website
2-
A website for trellisldp.org
2+
3+
A website for trellisldp.org, using [Jekyll](https://jekyllrb.com/docs/home/) as a static site generator.
4+
5+
While developing the site, this command is useful:
6+
7+
jekyll serve --livereload
8+
9+
To build the site, use this command:
10+
11+
jekyll build
12+
13+
which places all of the site content in the `_site` directory.

_config.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
title: Trellis Linked Data Server
2+
description: A scalable platform for building linked data applications.
3+
baseurl: "/"
4+
url: "https://www.trellisldp.org"
5+
twitter_username: trellisldp
6+
github_username: trellis-ldp
7+
8+
markdown: kramdown
9+
theme: minima
10+
plugins:
11+
- jekyll-feed
12+
13+
exclude:
14+
- Gemfile
15+
- Gemfile.lock
16+
- node_modules
17+
- vendor/bundle/
18+
- vendor/cache/
19+
- vendor/gems/
20+
- vendor/ruby/
21+
- requirements.txt
22+
- LICENSE
23+
- scripts/
24+
- README.md

_includes/footer.html

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<footer class="site-footer h-card">
2+
<div class="wrapper">
3+
<div class="footer-col-wrapper">
4+
<div class="footer-col footer-col-1">
5+
<ul class="contact-list">
6+
<li class="p-name">
7+
{%- if site.author -%}
8+
{{ site.author | escape }}
9+
{%- else -%}
10+
{{ site.title | escape }}
11+
{%- endif -%}
12+
</li>
13+
{%- if site.email -%}
14+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
15+
{%- endif -%}
16+
</ul>
17+
</div>
18+
19+
<div class="footer-col footer-col-2">
20+
{%- include social.html -%}
21+
</div>
22+
23+
<div class="footer-col footer-col-3">
24+
<p>{{- site.description | escape -}}</p>
25+
</div>
26+
</div>
27+
</div>
28+
</footer>

_includes/head.html

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<link rel="shortcut icon" href="assets/trellis.png" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
{%- seo -%}
7+
<script defer
8+
src="https://use.fontawesome.com/releases/v5.0.13/js/all.js"
9+
integrity="sha384-xymdQtn1n3lH2wcu0qhcdaOpQwyoarkgLVxC/wZ5q7h9gHtxICrpcaSUfygqZGOe"
10+
crossorigin="anonymous"></script>
11+
<link rel="stylesheet" href="{{ "assets/main.css" | relative_url }}">
12+
<link rel="stylesheet" href="{{ "assets/trellis.css" | relative_url }}">
13+
{%- feed_meta -%}
14+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
15+
{%- include google-analytics.html -%}
16+
{%- endif -%}
17+
</head>

about.md

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about.html
5+
---
6+
7+
Trellis is a [linked data](https://www.w3.org/TR/ldp/) server. As a consequence, it is especially
8+
well suited for storing Web resources that _connect_ to other data on the Web. The
9+
[Linked Data Platform Primer](https://www.w3.org/TR/ldp-primer/) is a good introduction to
10+
these concepts.
11+
12+
Trellis is also part of a larger effort that aims to (re-)decentralize the Web, allowing
13+
the creators of content to have true ownership over their data. Furthermore, Trellis is built
14+
entirely on existing [Web standards](https://github.com/trellis-ldp/trellis/wiki/Web-Standards)
15+
standards, so its interface is stable, predictable and well-understood.
16+
17+
## Community
18+
19+
**We welcome your contributions and ideas.** TrellisLDP is an open source project, and all of the code
20+
is released under the Apache License, Version 2.0.
21+
22+
Contributions are always welcome.
23+
24+
What you can do:
25+
26+
* File a [bug or issue](https://github.com/trellis-ldp/trellis/issues)
27+
* Join the [mailing list](https://groups.google.com/group/trellis-ldp)
28+
* Try out the [latest version](download.html) of Trellis.
29+
30+
## Documentation
31+
32+
Information about specific features can be found on the
33+
[project Wiki](https://github.com/trellis-ldp/trellis/wiki).
34+
35+
Developers interested in contributing or extending Trellis may find the
36+
[JavaDocs](https://trellis-ldp.github.io/trellis/apidocs) useful.
37+
38+
## Semantic Web
39+
40+
The Linked Data Platform has its roots in the [Semantic Web](https://en.wikipedia.org/wiki/Semantic_Web),
41+
and Trellis is built on many of these underlying ideas.
42+
As such, [RDF](https://en.wikipedia.org/wiki/Resource_Description_Framework)
43+
plays a central role in how resources are represented. The Trellis project defines
44+
its own [RDF vocabulary](https://www.trellisldp.org/ns/trellis), which is used in certain
45+
HTTP interactions with the server software. In addition, a [DOAP file](https://www.trellisldp.org/doap.ttl)
46+
describes the project itself.
47+
File renamed without changes.

assets/trellis.scss

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
---
3+
4+
.trellis-social {
5+
text-align: center;
6+
a {
7+
margin: 5px 10px;
8+
color: black;
9+
&:hover {
10+
color: grey;
11+
}
12+
}
13+
}
14+
.home {
15+
h2 {
16+
text-align: center;
17+
width: 80%;
18+
margin: 10% auto 50px auto;
19+
}
20+
}
21+
22+
.site-title {
23+
background: url('/assets/trellis.png') no-repeat 0 8px;
24+
background-size: 40px 40px;
25+
padding-left: 45px;
26+
}

css/trellis.css

-123
This file was deleted.

0 commit comments

Comments
 (0)