antitheme 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -49
- data/_data/academic.yaml +24 -0
- data/_data/contact.yaml +2 -0
- data/_data/cv.yaml +10 -0
- data/_data/nav.yaml +3 -0
- data/_includes/academic.html +21 -0
- data/_includes/contact.html +5 -0
- data/_includes/cv.html +16 -0
- data/_layouts/{page.html → academic.html} +2 -0
- data/_layouts/contact.html +5 -0
- data/_layouts/{index.html → cv.html} +2 -0
- data/_layouts/default.html +19 -7
- data/_sass/_academic.scss +5 -0
- data/_sass/_contact.scss +1 -0
- data/_sass/_cv.scss +5 -0
- data/_sass/{_base.scss → _default.scss} +17 -1
- data/assets/css/main.scss +4 -3
- metadata +20 -14
- data/_includes/head.html +0 -6
- data/_includes/nav.html +0 -5
- data/_sass/_content.scss +0 -1
- data/_sass/_masthead.scss +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2ecfbc781309398254febf239cafb4f24cd94b2931d9786fc2e218cd31fdda0
|
4
|
+
data.tar.gz: 0423e9ce00633042a9b4b0c9bf54bc24476343d01c5006dda276727a6f21f129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1572467c483d19af1ecc3fd9f635f67506a0577d3f14369867fa7d6ff8271583e5b6291a8cd80c9746b90d10910563bd4300905ebfa7776cb531f8736c0fe711
|
7
|
+
data.tar.gz: bebf10ad4602caf96687f0d51579599918f7882ebc62168abbd20d967d6730e7f7113fb88229937a52a7dba2b64ed7474d00a899a70512ec1da6f3390abdf17e
|
data/README.md
CHANGED
@@ -1,50 +1,4 @@
|
|
1
1
|
# antitheme
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
-
|
7
|
-
TODO: Delete this and the text above, and describe your gem
|
8
|
-
|
9
|
-
## Installation
|
10
|
-
|
11
|
-
Add this line to your Jekyll site's `Gemfile`:
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem "antitheme"
|
15
|
-
```
|
16
|
-
|
17
|
-
And add this line to your Jekyll site's `_config.yml`:
|
18
|
-
|
19
|
-
```yaml
|
20
|
-
theme: antitheme
|
21
|
-
```
|
22
|
-
|
23
|
-
And then execute:
|
24
|
-
|
25
|
-
$ bundle
|
26
|
-
|
27
|
-
Or install it yourself as:
|
28
|
-
|
29
|
-
$ gem install antitheme
|
30
|
-
|
31
|
-
## Usage
|
32
|
-
|
33
|
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
34
|
-
|
35
|
-
## Contributing
|
36
|
-
|
37
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/antitheme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](https://www.contributor-covenant.org/) code of conduct.
|
38
|
-
|
39
|
-
## Development
|
40
|
-
|
41
|
-
To set up your environment to develop this theme, run `bundle install`.
|
42
|
-
|
43
|
-
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.
|
44
|
-
|
45
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
46
|
-
To add a custom directory to your theme-gem, please edit the regexp in `antitheme.gemspec` accordingly.
|
47
|
-
|
48
|
-
## License
|
49
|
-
|
50
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
2
|
+
A minimalist theme for CVs and personal pages. The idea behind it is to separate
|
3
|
+
relatively structured info (contact info, work history) to be more yaml-driven
|
4
|
+
while more unstructured content is more markdown heavy.
|
data/_data/academic.yaml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
education:
|
2
|
+
- degree: "BSc in Something"
|
3
|
+
institution: "School of Something, Somewhere"
|
4
|
+
years: "2010-2013"
|
5
|
+
thesis:
|
6
|
+
title: "A Study of Somethingology"
|
7
|
+
link: "link.to.thesis.example.com"
|
8
|
+
- degree: "BSc in Something"
|
9
|
+
institution: "School of Something, Somewhere"
|
10
|
+
years: "2010-2013"
|
11
|
+
thesis:
|
12
|
+
title: "A Study of Somethingology"
|
13
|
+
link: "link.to.thesis.example.com"
|
14
|
+
publications:
|
15
|
+
- title: "A Publication"
|
16
|
+
link: "https://example.com/pub1"
|
17
|
+
authors: "Me et al."
|
18
|
+
venue: "A conference"
|
19
|
+
year: "2022"
|
20
|
+
- title: "Something: explained"
|
21
|
+
link: "https://example.com/pub2"
|
22
|
+
authors: "Me"
|
23
|
+
venue: "Journal of Somethingology"
|
24
|
+
year: "2024"
|
data/_data/contact.yaml
ADDED
data/_data/cv.yaml
ADDED
data/_data/nav.yaml
CHANGED
@@ -0,0 +1,21 @@
|
|
1
|
+
<div class="academic">
|
2
|
+
<h2>Publications</h2>
|
3
|
+
{%-for pub in site.data.academic.publications-%}
|
4
|
+
<p>
|
5
|
+
{{ pub.authors }},
|
6
|
+
"<a href="{{ pub.link }}">{{ pub.title }}</a>",
|
7
|
+
{{ pub.venue }},
|
8
|
+
{{ pub.year }}
|
9
|
+
</p>
|
10
|
+
{% endfor %}
|
11
|
+
|
12
|
+
<h2>Education</h2>
|
13
|
+
{%-for ed in site.data.academic.education-%}
|
14
|
+
<p>
|
15
|
+
<a>Degree: {{ ed.degree }}, {{ ed.years }}</a><br>
|
16
|
+
<a>Institution: {{ ed.institution }}</a><br>
|
17
|
+
<a>Thesis: {{ ed.thesis.title}}</a><br>
|
18
|
+
<a>Available: {{ ed.thesis.link}}</a><br>
|
19
|
+
</p>
|
20
|
+
{% endfor %}
|
21
|
+
</div>
|
data/_includes/cv.html
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
<div class="cv">
|
2
|
+
<table>
|
3
|
+
<tr>
|
4
|
+
<th>Employer</th>
|
5
|
+
<th>Period</th>
|
6
|
+
<th>Description</th>
|
7
|
+
</tr>
|
8
|
+
{%-for job in site.data.cv.jobs-%}
|
9
|
+
<tr>
|
10
|
+
<td>{{ job.employer }}</td>
|
11
|
+
<td>{{ job.start }} - {{ job.end }}</td>
|
12
|
+
<td>{{ job.description }}</td>
|
13
|
+
</tr>
|
14
|
+
{% endfor %}
|
15
|
+
</table>
|
16
|
+
</div>
|
data/_layouts/default.html
CHANGED
@@ -1,22 +1,34 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en" data-theme="antitheme">
|
3
|
-
|
3
|
+
<head>
|
4
|
+
<title>
|
5
|
+
{{ site.title }} · {{ page.title }}
|
6
|
+
</title>
|
7
|
+
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" />
|
8
|
+
</head>
|
4
9
|
|
5
10
|
<body>
|
6
11
|
<div class="container">
|
7
12
|
|
8
|
-
<header
|
9
|
-
<h1
|
10
|
-
<nav
|
11
|
-
{%-
|
13
|
+
<header>
|
14
|
+
<h1>{{ page.title }}</h1>
|
15
|
+
<nav>
|
16
|
+
{%-for item in site.data.nav.pages-%}
|
17
|
+
<a href="{{ item.url }}" title="{{ item.title }}">
|
18
|
+
__{{ item.title }}__
|
19
|
+
</a>
|
20
|
+
{% unless forloop.last %}
|
21
|
+
<a>|</a>
|
22
|
+
{% endunless %}
|
23
|
+
{%-endfor-%}
|
12
24
|
</nav>
|
13
25
|
</header>
|
14
26
|
|
15
|
-
<main
|
27
|
+
<main>
|
16
28
|
{{ content }}
|
17
29
|
</main>
|
18
30
|
|
19
|
-
<footer
|
31
|
+
<footer>
|
20
32
|
</footer>
|
21
33
|
|
22
34
|
</div>
|
data/_sass/_contact.scss
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.contact {}
|
@@ -15,5 +15,21 @@ body {
|
|
15
15
|
.container {
|
16
16
|
max-width: 800px;
|
17
17
|
margin: 0 auto;
|
18
|
-
padding:
|
18
|
+
padding: 2rem 2rem;
|
19
19
|
}
|
20
|
+
|
21
|
+
header {
|
22
|
+
h1 {
|
23
|
+
color: grey;
|
24
|
+
font-size: 42px;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
nav {
|
29
|
+
padding: 0rem 2rem 1rem;
|
30
|
+
a {
|
31
|
+
text-decoration: none;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
main {}
|
data/assets/css/main.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: antitheme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zluudg
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.3'
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email:
|
29
29
|
- zluudg@zluudg.com
|
30
30
|
executables: []
|
@@ -33,22 +33,28 @@ extra_rdoc_files: []
|
|
33
33
|
files:
|
34
34
|
- LICENSE.txt
|
35
35
|
- README.md
|
36
|
+
- _data/academic.yaml
|
37
|
+
- _data/contact.yaml
|
38
|
+
- _data/cv.yaml
|
36
39
|
- _data/nav.yaml
|
37
|
-
- _includes/
|
38
|
-
- _includes/
|
40
|
+
- _includes/academic.html
|
41
|
+
- _includes/contact.html
|
42
|
+
- _includes/cv.html
|
43
|
+
- _layouts/academic.html
|
44
|
+
- _layouts/contact.html
|
45
|
+
- _layouts/cv.html
|
39
46
|
- _layouts/default.html
|
40
|
-
-
|
41
|
-
-
|
42
|
-
- _sass/
|
43
|
-
- _sass/
|
44
|
-
- _sass/_masthead.scss
|
47
|
+
- _sass/_academic.scss
|
48
|
+
- _sass/_contact.scss
|
49
|
+
- _sass/_cv.scss
|
50
|
+
- _sass/_default.scss
|
45
51
|
- _sass/_variables.scss
|
46
52
|
- assets/css/main.scss
|
47
53
|
homepage: https://gitlab.com/zluudg/antitheme
|
48
54
|
licenses:
|
49
55
|
- MIT
|
50
56
|
metadata: {}
|
51
|
-
post_install_message:
|
57
|
+
post_install_message:
|
52
58
|
rdoc_options: []
|
53
59
|
require_paths:
|
54
60
|
- lib
|
@@ -63,8 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
69
|
- !ruby/object:Gem::Version
|
64
70
|
version: '0'
|
65
71
|
requirements: []
|
66
|
-
rubygems_version: 3.4.
|
67
|
-
signing_key:
|
72
|
+
rubygems_version: 3.4.20
|
73
|
+
signing_key:
|
68
74
|
specification_version: 4
|
69
75
|
summary: Attempted minimalistic Jekyll theme.
|
70
76
|
test_files: []
|
data/_includes/head.html
DELETED
data/_includes/nav.html
DELETED
data/_sass/_content.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.content {}
|
data/_sass/_masthead.scss
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
.masthead {}
|