jekyll-theme-fibonacci 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +45 -0
- data/README.md +51 -0
- data/_config.yml +21 -0
- data/_includes/disqus_comments.html +20 -0
- data/_includes/footer.html +8 -0
- data/_includes/google-analytics.html +12 -0
- data/_includes/head.html +14 -0
- data/_includes/header.html +22 -0
- data/_includes/social.html +14 -0
- data/_layouts/blog.html +76 -0
- data/_layouts/default.html +13 -0
- data/_layouts/home.html +58 -0
- data/_layouts/page.html +17 -0
- data/_layouts/post.html +158 -0
- data/_sass/fibonacci/_about.scss +51 -0
- data/_sass/fibonacci/_blog.scss +5 -0
- data/_sass/fibonacci/_contact.scss +8 -0
- data/_sass/fibonacci/_detail.scss +146 -0
- data/_sass/fibonacci/_foundation.scss +673 -0
- data/_sass/fibonacci/_variables.scss +56 -0
- data/_sass/fibonacci.scss +6 -0
- data/assets/calendar.svg +44 -0
- data/assets/comment.svg +51 -0
- data/assets/fibonacci.js +39 -0
- data/assets/fibonacci.scss +5 -0
- data/assets/photo.jpg +0 -0
- data/assets/search.svg +39 -0
- data/assets/tag.svg +47 -0
- metadata +100 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 73ede5ab0e89c4456ee83f61c6f5de33476cede84e2cb04100d304ee3b4f529c
|
4
|
+
data.tar.gz: 3b740156bf9ca67480ee92367a7ac141ea836f70442f16c672c20e396cd38501
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 9d49688f7acb6e0318ef3248dd33341fa24eb892e100672087e8828cd517b36f9ccc617eaf0ef3f85b77acf90dbf4cff0b7c3e2c41dabbfefdf0113fa4048ec8
|
7
|
+
data.tar.gz: 54d70e9bd6e2b6b772fca5e803a2469a574b8321d766f531e949e6a01d4a000fbc919ba6df661b5045af7faf83b95ba2809014320a622dde7e14b5a115f83a75
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2022 Zhifei Yang
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
22
|
+
|
23
|
+
---
|
24
|
+
|
25
|
+
MIT License
|
26
|
+
|
27
|
+
Copyright (c) 2018 Vijaya Anand
|
28
|
+
|
29
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
30
|
+
of this software and associated documentation files (the "Software"), to deal
|
31
|
+
in the Software without restriction, including without limitation the rights
|
32
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
33
|
+
copies of the Software, and to permit persons to whom the Software is
|
34
|
+
furnished to do so, subject to the following conditions:
|
35
|
+
|
36
|
+
The above copyright notice and this permission notice shall be included in all
|
37
|
+
copies or substantial portions of the Software.
|
38
|
+
|
39
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
40
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
41
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
42
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
43
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
44
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
45
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# jekyll-theme-fibonacci
|
2
|
+
|
3
|
+
This is the Jekyll port of an open-source blog template: [fibonacci](https://github.com/VJAI/fibonacci).
|
4
|
+
|
5
|
+
## Demo
|
6
|
+
|
7
|
+
[https://zhifei.me](https://zhifei.me)
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your Jekyll site's `Gemfile`:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "jekyll-theme-fibonacci"
|
15
|
+
```
|
16
|
+
|
17
|
+
And add this line to your Jekyll site's `_config.yml`:
|
18
|
+
|
19
|
+
```yaml
|
20
|
+
theme: jekyll-theme-fibonacci
|
21
|
+
```
|
22
|
+
|
23
|
+
And then execute:
|
24
|
+
|
25
|
+
$ bundle
|
26
|
+
|
27
|
+
Or install it yourself as:
|
28
|
+
|
29
|
+
$ gem install jekyll-theme-fibonacci
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
Just like any other simple jekyll themes.
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/xivid/jekyll-theme-fibonacci. 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.
|
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 `jekyll-theme-fibonacci.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).
|
51
|
+
|
data/_config.yml
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
title: Your awesome site
|
2
|
+
subtitle: Your awesome one-liner intro
|
3
|
+
email: your-email@example.com
|
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.
|
8
|
+
keywords: Some fantastic keywords, and more
|
9
|
+
baseurl: "" # the subpath of your site, e.g. /blog
|
10
|
+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
|
11
|
+
twitter_username: jekyllrb
|
12
|
+
github_username: jekyll
|
13
|
+
linkedin_username: jekyll
|
14
|
+
|
15
|
+
show_excerpts: true
|
16
|
+
|
17
|
+
|
18
|
+
# Build settings
|
19
|
+
# theme: fibonacci
|
20
|
+
# plugins:
|
21
|
+
# - jekyll-feed
|
@@ -0,0 +1,20 @@
|
|
1
|
+
{%- if page.comments != false and jekyll.environment == "production" -%}
|
2
|
+
|
3
|
+
<div id="disqus_thread"></div>
|
4
|
+
<script>
|
5
|
+
var disqus_config = function () {
|
6
|
+
this.page.url = '{{ page.url | absolute_url }}';
|
7
|
+
this.page.identifier = '{{ page.url | absolute_url }}';
|
8
|
+
};
|
9
|
+
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
|
13
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
14
|
+
|
15
|
+
s.setAttribute('data-timestamp', +new Date());
|
16
|
+
(d.head || d.body).appendChild(s);
|
17
|
+
})();
|
18
|
+
</script>
|
19
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
20
|
+
{%- endif -%}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
|
2
|
+
<footer class="footer">
|
3
|
+
<a href="https://github.com/xivid/jekyll-theme-fibonacci">Jekyll Theme: fibonacci</a>.
|
4
|
+
</footer>
|
5
|
+
<script>hljs.initHighlightingOnLoad();</script>
|
6
|
+
{%- if false -%}
|
7
|
+
<script src="{{ "assets/fibonacci.js" | relative_url }}"></script>
|
8
|
+
{%- endif -%}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
|
2
|
+
<script>
|
3
|
+
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
|
4
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
5
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
6
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
7
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
8
|
+
|
9
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
10
|
+
ga('send', 'pageview');
|
11
|
+
}
|
12
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
<head>
|
3
|
+
<meta charset="utf-8">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
|
+
<meta name="description" content="{{ site.description }}">
|
6
|
+
<meta name="keywords" content="{{ site.keywords }}">
|
7
|
+
<title>{%- if page.title -%}{{ page.title }}{{ " - " }}{%- elsif layout.title -%}{{ layout.title }}{{ " - " }}{%- endif -%}{{ site.title }}</title>
|
8
|
+
<link rel="stylesheet" type="text/css" href="{{ "assets/fibonacci.css" | relative_url }}">
|
9
|
+
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/default.min.css">
|
10
|
+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
|
11
|
+
{%- if jekyll.environment == 'production' and site.google_analytics -%}
|
12
|
+
{%- include google-analytics.html -%}
|
13
|
+
{%- endif -%}
|
14
|
+
</head>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
|
2
|
+
<header class="header">
|
3
|
+
<nav>
|
4
|
+
<ul>
|
5
|
+
<!-- <li>
|
6
|
+
<form class="search-form">
|
7
|
+
<input type="search" placeholder="Search...">
|
8
|
+
<span class="icon search"></span>
|
9
|
+
</form>
|
10
|
+
</li> -->
|
11
|
+
<li>
|
12
|
+
<a href="{{ "index.html" | relative_url }}">home</a>
|
13
|
+
</li>
|
14
|
+
<li>
|
15
|
+
<a href="{{ "blog.html" | relative_url }}">blog</a>
|
16
|
+
</li>
|
17
|
+
<li>
|
18
|
+
<a href="{{ "misc.html" | relative_url }}">misc</a>
|
19
|
+
</li>
|
20
|
+
</ul>
|
21
|
+
</nav>
|
22
|
+
</header>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<ul class="social-media-list">
|
2
|
+
{%- if site.dribbble_username -%}<li><a href="https://dribbble.com/{{ site.dribbble_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#dribbble' | relative_url }}"></use></svg> <span class="username">{{ site.dribbble_username| escape }}</span></a></li>{%- endif -%}
|
3
|
+
{%- if site.facebook_username -%}<li><a href="https://www.facebook.com/{{ site.facebook_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#facebook' | relative_url }}"></use></svg> <span class="username">{{ site.facebook_username| escape }}</span></a></li>{%- endif -%}
|
4
|
+
{%- if site.flickr_username -%}<li><a href="https://www.flickr.com/photos/{{ site.flickr_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#flickr' | relative_url }}"></use></svg> <span class="username">{{ site.flickr_username| escape }}</span></a></li>{%- endif -%}
|
5
|
+
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#github' | relative_url }}"></use></svg> <span class="username">{{ site.github_username| escape }}</span></a></li>{%- endif -%}
|
6
|
+
{%- if site.instagram_username -%}<li><a href="https://instagram.com/{{ site.instagram_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#instagram' | relative_url }}"></use></svg> <span class="username">{{ site.instagram_username| escape }}</span></a></li>{%- endif -%}
|
7
|
+
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#linkedin' | relative_url }}"></use></svg> <span class="username">{{ site.linkedin_username| escape }}</span></a></li>{%- endif -%}
|
8
|
+
{%- if site.pinterest_username -%}<li><a href="https://www.pinterest.com/{{ site.pinterest_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#pinterest' | relative_url }}"></use></svg> <span class="username">{{ site.pinterest_username| escape }}</span></a></li>{%- endif -%}
|
9
|
+
{%- for mst in site.mastodon -%}{%- if mst.username and mst.instance -%}<li><a href="https://{{ mst.instance| cgi_escape | escape}}/@{{mst.username}}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#mastodon' | relative_url }}"></use></svg> <span class="username">{{ mst.username|escape }}</span></a></li>{%- endif -%}{%- endfor -%}
|
10
|
+
{%- if site.twitter_username -%}<li><a href="https://www.twitter.com/{{ site.twitter_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#twitter' | relative_url }}"></use></svg> <span class="username">{{ site.twitter_username| escape }}</span></a></li>{%- endif -%}
|
11
|
+
{%- if site.youtube_username -%}<li><a href="https://youtube.com/{{ site.youtube_username| cgi_escape | escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#youtube' | relative_url }}"></use></svg> <span class="username">{{ site.youtube_username| escape }}</span></a></li>{%- endif -%}
|
12
|
+
{%- if site.googleplus_username -%}<li><a href="https://plus.google.com/{{ site.googleplus_username| escape }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#googleplus' | relative_url }}"></use></svg> <span class="username">{{ site.googleplus_username| escape }}</span></a></li>{%- endif -%}
|
13
|
+
{%- if site.rss -%}<li><a href="{{ 'feed.xml' | relative_url }}"><svg class="svg-icon"><use xlink:href="{{ '/assets/minima-social-icons.svg#rss' | relative_url }}"></use></svg> <span>{{ site.rss | escape }}</span></a></li>{%- endif -%}
|
14
|
+
</ul>
|
data/_layouts/blog.html
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
title: Blog
|
4
|
+
---
|
5
|
+
|
6
|
+
<main class="main blog">
|
7
|
+
<article>
|
8
|
+
<h1>Blog</h1>
|
9
|
+
|
10
|
+
{{ content }}
|
11
|
+
|
12
|
+
{%- if site.posts.size > 0 -%}
|
13
|
+
|
14
|
+
{%- for post in site.posts -%}
|
15
|
+
<article>
|
16
|
+
<header>
|
17
|
+
<div class="title-and-meta">
|
18
|
+
<h2><a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a></h2>
|
19
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
20
|
+
<div class="post-meta">
|
21
|
+
{%- if false -%}
|
22
|
+
<div class="author">
|
23
|
+
<img src="{{ "assets/author_mini.png" | relative_url }}" width="15" />
|
24
|
+
<span class="name">Triton Maxwell</span>
|
25
|
+
<span class="role">Admin</span>
|
26
|
+
</div>
|
27
|
+
{%- endif -%}
|
28
|
+
<div class="posted-date">
|
29
|
+
<span class="icon calendar"></span>
|
30
|
+
<span class="date">{{ post.date | date: date_format }}</span>
|
31
|
+
</div>
|
32
|
+
{%- if post.categories -%}
|
33
|
+
<div class="tagged-in">
|
34
|
+
<span class="icon tag"></span>
|
35
|
+
<ul>
|
36
|
+
{%- for category in post.categories -%}
|
37
|
+
<li>
|
38
|
+
{{ category }}
|
39
|
+
</li>
|
40
|
+
{%- endfor -%}
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
{%- endif -%}
|
44
|
+
{%- if false -%}
|
45
|
+
<div class="total-comments">
|
46
|
+
<span class="icon comment"></span>
|
47
|
+
<a href="#">107 Comments</a>
|
48
|
+
</div>
|
49
|
+
{%- endif -%}
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</header>
|
53
|
+
|
54
|
+
{%- if false -%}
|
55
|
+
<figure class="poster-image">
|
56
|
+
<img src="{{ "assets/agriculture-apple-blur.jpg" | relative_url }}">
|
57
|
+
</figure>
|
58
|
+
{%- endif -%}
|
59
|
+
|
60
|
+
{%- if site.show_excerpts -%}
|
61
|
+
{{ post.excerpt }}
|
62
|
+
{%- endif -%}
|
63
|
+
|
64
|
+
<div class="continue-reading">
|
65
|
+
<a href="{{ post.url | relative_url }}">Continue Reading →</a>
|
66
|
+
</div>
|
67
|
+
</article>
|
68
|
+
{%- endfor -%}
|
69
|
+
</ul>
|
70
|
+
|
71
|
+
{%- else -%}
|
72
|
+
No post yet ...
|
73
|
+
{%- endif -%}
|
74
|
+
|
75
|
+
</article>
|
76
|
+
</main>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="main about">
|
6
|
+
<article>
|
7
|
+
<header>
|
8
|
+
<h1>{{ site.title }}</h1>
|
9
|
+
</header>
|
10
|
+
{%- if site.subtitle -%}
|
11
|
+
<p>
|
12
|
+
{{ site.subtitle }}
|
13
|
+
</p>
|
14
|
+
{%- endif -%}
|
15
|
+
|
16
|
+
<section class="intro">
|
17
|
+
|
18
|
+
{%- if page.desc -%}
|
19
|
+
{%- if page.photo -%}
|
20
|
+
<div class="photo">
|
21
|
+
<img src="{{ page.photo }}" width="90%"/>
|
22
|
+
</div>
|
23
|
+
{%- endif -%}
|
24
|
+
<div class="desc">
|
25
|
+
{{ page.desc }}
|
26
|
+
</div>
|
27
|
+
{%- else -%}
|
28
|
+
{%- if page.photo -%}
|
29
|
+
<div class="photo" style="margin: auto; width: auto">
|
30
|
+
<img src="{{ page.photo }}"/>
|
31
|
+
</div>
|
32
|
+
{%- endif -%}
|
33
|
+
{%- endif -%}
|
34
|
+
|
35
|
+
</section>
|
36
|
+
|
37
|
+
<div class="social">
|
38
|
+
<a href="mailto:{{ site.email }}">
|
39
|
+
Email
|
40
|
+
</a>
|
41
|
+
<span class="separator">•</span>
|
42
|
+
<a href="https://github.com/{{ site.github_username }}">
|
43
|
+
GitHub
|
44
|
+
</a>
|
45
|
+
<span class="separator">•</span>
|
46
|
+
<a href="https://twitter.com/{{ site.twitter_username }}">
|
47
|
+
Twitter
|
48
|
+
</a>
|
49
|
+
<span class="separator">•</span>
|
50
|
+
<a href="https://linkedin.com/in/{{ site.linkedin_username }}">
|
51
|
+
LinkedIn
|
52
|
+
</a>
|
53
|
+
</div>
|
54
|
+
|
55
|
+
{{ content }}
|
56
|
+
|
57
|
+
</article>
|
58
|
+
</main>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<main class="main post-detail">
|
6
|
+
<article itemscope itemtype="http://schema.org/BlogPosting">
|
7
|
+
|
8
|
+
<header>
|
9
|
+
<div class="title-and-meta">
|
10
|
+
<h1>{{ page.title | escape }}</h1>
|
11
|
+
|
12
|
+
<div class="post-meta">
|
13
|
+
{%- if page.author -%}
|
14
|
+
<div class="author">
|
15
|
+
<img src="{{ "assets/author_mini.png" | relative_url }}" width="15"/>
|
16
|
+
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
|
17
|
+
<span class="role">Admin</span>
|
18
|
+
</div>
|
19
|
+
{%- endif -%}
|
20
|
+
|
21
|
+
<div class="posted-date">
|
22
|
+
<span class="icon calendar"></span>
|
23
|
+
<span>
|
24
|
+
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
25
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
26
|
+
{{ page.date | date: date_format }}
|
27
|
+
</time>
|
28
|
+
</span>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
{%- if page.categories -%}
|
32
|
+
<div class="tagged-in">
|
33
|
+
<span class="icon tag"></span>
|
34
|
+
<ul>
|
35
|
+
{%- for category in page.categories -%}
|
36
|
+
<li>
|
37
|
+
{{ category }}
|
38
|
+
</li>
|
39
|
+
{%- endfor -%}
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
{%- endif -%}
|
43
|
+
{%- if false -%}
|
44
|
+
<div class="total-comments">
|
45
|
+
<span class="icon comment"></span>
|
46
|
+
<a href="#">107 Comments</a>
|
47
|
+
</div>
|
48
|
+
{%- endif -%}
|
49
|
+
</div>
|
50
|
+
</div>
|
51
|
+
</header>
|
52
|
+
|
53
|
+
{%- if false -%}
|
54
|
+
<figure class="full poster-image">
|
55
|
+
<img src="{{ "assets/animal-animal-photography-canidae.jpg" | relative_url }}">
|
56
|
+
</figure>
|
57
|
+
{%- endif -%}
|
58
|
+
|
59
|
+
{{ content }}
|
60
|
+
|
61
|
+
<hr>
|
62
|
+
|
63
|
+
{%- if false -%}
|
64
|
+
|
65
|
+
<section class="related-posts">
|
66
|
+
<h3>Related Posts</h3>
|
67
|
+
<ul>
|
68
|
+
<li>
|
69
|
+
<a href="#">Lorem ipsum dolor sit amet</a>
|
70
|
+
</li>
|
71
|
+
<li>
|
72
|
+
<a href="#">Sed ut perspiciatis unde omnis iste</a>
|
73
|
+
</li>
|
74
|
+
<li>
|
75
|
+
<a href="#">At vero eos et accusamus</a>
|
76
|
+
</li>
|
77
|
+
<li>
|
78
|
+
<a href="#">Temporibus autem quibusdam</a>
|
79
|
+
</li>
|
80
|
+
<li>
|
81
|
+
<a href="#">Ut enim ad minima veniam</a>
|
82
|
+
</li>
|
83
|
+
</ul>
|
84
|
+
</section>
|
85
|
+
|
86
|
+
<section class="comments">
|
87
|
+
<h3>Comments</h3>
|
88
|
+
|
89
|
+
<h4>Post Comment</h4>
|
90
|
+
|
91
|
+
<form>
|
92
|
+
<div class="new-comment">
|
93
|
+
<div class="user">
|
94
|
+
<img src="assets/author_mini.png" width="50"/>
|
95
|
+
<span>You</span>
|
96
|
+
</div>
|
97
|
+
<div class="form-control">
|
98
|
+
<textarea placeholder="Write not more than 500 characters..."></textarea>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
</form>
|
102
|
+
|
103
|
+
<h4>2 Comments</h4>
|
104
|
+
|
105
|
+
<ul class="comments-list">
|
106
|
+
<li>
|
107
|
+
<div class="comment">
|
108
|
+
<div class="user">
|
109
|
+
<img src="assets/martin.png" width="50"/>
|
110
|
+
<span>Martin</span>
|
111
|
+
</div>
|
112
|
+
<div class="comment-info">
|
113
|
+
<div class="commented-date">
|
114
|
+
just now
|
115
|
+
</div>
|
116
|
+
<div class="desc">
|
117
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
118
|
+
dolore magna aliqua.
|
119
|
+
</div>
|
120
|
+
<div>
|
121
|
+
<button>Reply</button>
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
</div>
|
125
|
+
</li>
|
126
|
+
|
127
|
+
<li>
|
128
|
+
<div class="comment">
|
129
|
+
<div class="user">
|
130
|
+
<img src="assets/tanny.jpg" width="50"/>
|
131
|
+
<span>Tanny</span>
|
132
|
+
</div>
|
133
|
+
<div class="comment-info">
|
134
|
+
<div class="commented-date">
|
135
|
+
2 days ago
|
136
|
+
</div>
|
137
|
+
<div class="desc">
|
138
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
|
139
|
+
dolore magna aliqua.
|
140
|
+
</div>
|
141
|
+
<div>
|
142
|
+
<button>Reply</button>
|
143
|
+
</div>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
</li>
|
147
|
+
</ul>
|
148
|
+
</section>
|
149
|
+
|
150
|
+
{%- endif -%}
|
151
|
+
|
152
|
+
{%- if site.disqus.shortname -%}
|
153
|
+
{%- include disqus_comments.html -%}
|
154
|
+
{%- endif -%}
|
155
|
+
|
156
|
+
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
|
157
|
+
</article>
|
158
|
+
</main>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
.about {
|
2
|
+
article {
|
3
|
+
p {
|
4
|
+
position: relative;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
|
8
|
+
@media only screen and (min-width: 836px) {
|
9
|
+
.intro {
|
10
|
+
display: flex;
|
11
|
+
flex-direction: row;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.intro .photo {
|
16
|
+
margin-top: 0.5rem;
|
17
|
+
display: block;
|
18
|
+
width: 85%;
|
19
|
+
}
|
20
|
+
|
21
|
+
.intro .photo img {
|
22
|
+
border-radius: 3px;
|
23
|
+
}
|
24
|
+
|
25
|
+
li {
|
26
|
+
margin-bottom: 0.15em;
|
27
|
+
}
|
28
|
+
|
29
|
+
.social {
|
30
|
+
display: flex;
|
31
|
+
font-family: $heading-font-family;
|
32
|
+
font-size: $md-size;
|
33
|
+
color: $heavy-gray;
|
34
|
+
justify-content: center;
|
35
|
+
// text-transform: uppercase;
|
36
|
+
// letter-spacing: 1px;
|
37
|
+
border-top: solid 1px $dim-gray;
|
38
|
+
border-bottom: solid 1px $dim-gray;
|
39
|
+
padding-top: $md-size;
|
40
|
+
padding-bottom: $md-size;
|
41
|
+
|
42
|
+
a {
|
43
|
+
border-bottom: none;
|
44
|
+
}
|
45
|
+
|
46
|
+
.separator {
|
47
|
+
margin-left: 0.5rem;
|
48
|
+
margin-right: 0.5rem;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|