jk
5 years ago
42 changed files with 2441 additions and 4 deletions
-
18.drone.yml
-
4archetypes/default.md
-
79config.toml
-
737content/css/style.css
-
BINcontent/images/profile.jpg
-
8content/post/test-post2/index.md
-
28content/posts.md
-
28content/snaps.md
-
2themes/anatole/.gitattributes
-
4themes/anatole/.gitignore
-
20themes/anatole/LICENSE
-
102themes/anatole/README.md
-
9themes/anatole/archetypes/post.md
-
63themes/anatole/exampleSite/config.toml
-
28themes/anatole/exampleSite/content/about.md
-
6themes/anatole/exampleSite/content/post/_index.md
-
47themes/anatole/exampleSite/content/post/emoji-support.md
-
147themes/anatole/exampleSite/content/post/markdown-syntax.md
-
46themes/anatole/exampleSite/content/post/math-typesetting.mmark
-
58themes/anatole/exampleSite/content/post/placeholder-text.md
-
42themes/anatole/exampleSite/content/post/rich-content.md
-
BINthemes/anatole/exampleSite/static/images/profile.jpg
-
BINthemes/anatole/images/screenshot.png
-
BINthemes/anatole/images/tn.png
-
6themes/anatole/layouts/404.html
-
17themes/anatole/layouts/_default/baseof.html
-
18themes/anatole/layouts/_default/list.html
-
36themes/anatole/layouts/_default/single.html
-
20themes/anatole/layouts/index.html
-
5themes/anatole/layouts/partials/footer.html
-
17themes/anatole/layouts/partials/head.html
-
30themes/anatole/layouts/partials/math.html
-
9themes/anatole/layouts/partials/navbar.html
-
22themes/anatole/layouts/partials/sidebar.html
-
6themes/anatole/layouts/partials/taxonomy/blog.html
-
6themes/anatole/layouts/partials/taxonomy/categories.html
-
6themes/anatole/layouts/partials/taxonomy/tags.html
-
745themes/anatole/static/css/style.css
-
1themes/anatole/static/js/jquery-appear.min.js
-
2themes/anatole/static/js/jquery-migrate.min.js
-
2themes/anatole/static/js/jquery.min.js
-
21themes/anatole/theme.toml
@ -0,0 +1,18 @@ |
|||||
|
kind: pipeline |
||||
|
name: default |
||||
|
|
||||
|
steps: |
||||
|
- name: hugo |
||||
|
image: cbrgm/drone-hugo:latest |
||||
|
settings: |
||||
|
validate: true |
||||
|
output: public |
||||
|
url: https://jk.nipponalba.scot |
||||
|
- name: deploy |
||||
|
image: appleboy/drone-scp |
||||
|
settings: |
||||
|
host: 192.168.1.33 |
||||
|
port: 9439 |
||||
|
username: jk |
||||
|
target: /var/www/nipponalba/jk |
||||
|
source: public/ |
@ -1,3 +1,76 @@ |
|||||
baseURL = "http://example.org/" |
|
||||
languageCode = "en-us" |
|
||||
title = "My New Hugo Site" |
|
||||
|
baseURL = "https://jk.nipponalba.scot" |
||||
|
languageCode = "en-gb" |
||||
|
title = "JK's homepage" |
||||
|
theme="anatole" |
||||
|
summarylength=10 |
||||
|
enableEmoji=true |
||||
|
|
||||
|
[markup] |
||||
|
[markup.goldmark] |
||||
|
[markup.goldmark.extensions] |
||||
|
definitionList = true |
||||
|
footnote = true |
||||
|
linkify = true |
||||
|
strikethrough = true |
||||
|
table = true |
||||
|
taskList = true |
||||
|
typographer = true |
||||
|
[markup.goldmark.parser] |
||||
|
attribute = true |
||||
|
autoHeadingID = true |
||||
|
autoHeadingIDType = "github" |
||||
|
[markup.goldmark.renderer] |
||||
|
hardWraps = false |
||||
|
unsafe = false |
||||
|
xhtml = false |
||||
|
|
||||
|
[taxonomies] |
||||
|
blog = "blog" |
||||
|
|
||||
|
[params] |
||||
|
title = "I'm JK" |
||||
|
author = "JK" |
||||
|
description = "work in progress" |
||||
|
profilePicture = "images/profile.jpg" |
||||
|
keywords = "" |
||||
|
favicon = "favicons/" |
||||
|
|
||||
|
## Social Links |
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-pleroma" |
||||
|
title = "Pleroma" |
||||
|
url = "https://social.nipponalba.scot/jk" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-pixelfed" |
||||
|
title = "Pixelfed" |
||||
|
url = "https://px.nipponalba.scot/jk" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-xmpp" |
||||
|
title = "XMPP" |
||||
|
url = "xmpp:jk@nipponalba.scot" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-matrix-org" |
||||
|
title = "Matrix" |
||||
|
url = "https://matrix.to/#/@jk:nipponalba.scot" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-envelope-o" |
||||
|
title = "e-mail" |
||||
|
url = "mailto:jk@nipponalba.scot" |
||||
|
|
||||
|
[menu] |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name="Home" |
||||
|
identifier="home" |
||||
|
weight= 100 |
||||
|
url = "/" |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name = "Blogs" |
||||
|
identifier = "blogs" |
||||
|
weight = 200 |
||||
|
url = "/blog/" |
@ -0,0 +1,737 @@ |
|||||
|
@charset "UTF-8"; |
||||
|
html { |
||||
|
background-color: #fff; |
||||
|
-webkit-font-smoothing: antialiased; |
||||
|
} |
||||
|
|
||||
|
body { |
||||
|
color: rgba(0, 0, 0, 0.5); |
||||
|
font-family: 'Verdana', sans-serif; |
||||
|
font-size: 15px; |
||||
|
width: 100%; |
||||
|
margin: 0 auto 30px auto; |
||||
|
background-color: #2b2b2b; |
||||
|
} |
||||
|
|
||||
|
p { |
||||
|
line-height: 1.9em; |
||||
|
font-weight: 400; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
.category { |
||||
|
padding: 4px 6px; |
||||
|
border-radius: 3px; |
||||
|
color: #fff; |
||||
|
background-color: #f9f9fd; |
||||
|
border: 1px solid #f2f2f2; |
||||
|
} |
||||
|
|
||||
|
.tag::before { |
||||
|
content: "#"; |
||||
|
opacity: .5; |
||||
|
} |
||||
|
|
||||
|
.tag, .category { |
||||
|
display: inline-block; |
||||
|
font-size: 15px; |
||||
|
line-height: 1; |
||||
|
margin: 5px 8px 5px 0; |
||||
|
} |
||||
|
|
||||
|
pre { |
||||
|
background-color: #f9f9fd; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.info i{ |
||||
|
opacity: 0.5; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
|
||||
|
a:link, a:visited { |
||||
|
opacity: 1; |
||||
|
-webkit-transition: all .15s linear; |
||||
|
-moz-transition: all .15s linear; |
||||
|
-o-transition: all .15s linear; |
||||
|
-ms-transition: all .15s linear; |
||||
|
transition: all .15s linear; |
||||
|
color: #424242; |
||||
|
} |
||||
|
|
||||
|
a:hover, a:active { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/*basic styles ends*/ |
||||
|
/*animation starts*/ |
||||
|
.animated { |
||||
|
-webkit-animation-fill-mode: both; |
||||
|
-moz-animation-fill-mode: both; |
||||
|
-ms-animation-fill-mode: both; |
||||
|
-o-animation-fill-mode: both; |
||||
|
animation-fill-mode: both; |
||||
|
-webkit-animation-duration: 1s; |
||||
|
-moz-animation-duration: 1s; |
||||
|
-ms-animation-duration: 1s; |
||||
|
-o-animation-duration: 1s; |
||||
|
animation-duration: 1s; |
||||
|
} |
||||
|
|
||||
|
.animated.hinge { |
||||
|
-webkit-animation-duration: 1s; |
||||
|
-moz-animation-duration: 1s; |
||||
|
-ms-animation-duration: 1s; |
||||
|
-o-animation-duration: 1s; |
||||
|
animation-duration: 1s; |
||||
|
} |
||||
|
|
||||
|
@-webkit-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-webkit-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-webkit-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@-moz-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-moz-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-moz-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@-o-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-o-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-o-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
.fadeInDown { |
||||
|
-webkit-animation-name: fadeInDown; |
||||
|
-moz-animation-name: fadeInDown; |
||||
|
-o-animation-name: fadeInDown; |
||||
|
animation-name: fadeInDown; |
||||
|
} |
||||
|
|
||||
|
/*animation ends*/ |
||||
|
.content { |
||||
|
height: auto; |
||||
|
float: right; |
||||
|
width: 60%; |
||||
|
margin-top: 60px; |
||||
|
} |
||||
|
|
||||
|
.page-top { |
||||
|
width: 60%; |
||||
|
position: fixed; |
||||
|
right: 0; |
||||
|
z-index: 3; |
||||
|
background-color: #fff; |
||||
|
height: 60px; |
||||
|
border-bottom: 1px solid #f2f2f2; |
||||
|
} |
||||
|
.page-top .nav { |
||||
|
list-style: none; |
||||
|
padding: 18px 30px; |
||||
|
float: left; |
||||
|
font-size: 12px; |
||||
|
} |
||||
|
.page-top .nav li { |
||||
|
position: relative; |
||||
|
display: initial; |
||||
|
padding-right: 20px; |
||||
|
} |
||||
|
.page-top .nav a { |
||||
|
color: #5A5A5A; |
||||
|
} |
||||
|
.page-top .nav a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
.page-top .nav a.current { |
||||
|
color: #5A5A5A; |
||||
|
padding-bottom: 22px; |
||||
|
border-bottom: 1px solid #5A5A5A; |
||||
|
} |
||||
|
.page-top .information { |
||||
|
float: right; |
||||
|
padding-top: 12px; |
||||
|
padding-right: 20px; |
||||
|
} |
||||
|
.page-top .information .avatar { |
||||
|
float: right; |
||||
|
} |
||||
|
.page-top .information .avatar img { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
} |
||||
|
.page-top .information .back_btn { |
||||
|
float: left; |
||||
|
padding-top: 5px; |
||||
|
margin-right: -10px; |
||||
|
} |
||||
|
.page-top .information .back_btn li { |
||||
|
display: initial; |
||||
|
padding-right: 40px; |
||||
|
} |
||||
|
|
||||
|
.sidebar { |
||||
|
width: 40%; |
||||
|
-webkit-background-size: cover; |
||||
|
background-size: cover; |
||||
|
background-color: #fff; |
||||
|
height: 100%; |
||||
|
transition: 0.8s; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
position: fixed; |
||||
|
z-index: 4; |
||||
|
border-right: 1px solid #f2f2f2; |
||||
|
} |
||||
|
.sidebar .logo-title { |
||||
|
text-align: center; |
||||
|
padding-top: 240px; |
||||
|
} |
||||
|
.sidebar .logo-title .description { |
||||
|
font-size: 14px; |
||||
|
color: #565654; |
||||
|
} |
||||
|
.sidebar .logo-title .logo { |
||||
|
margin: 0 auto; |
||||
|
} |
||||
|
.sidebar .logo-title .title h3 { |
||||
|
text-transform: uppercase; |
||||
|
font-size: 2rem; |
||||
|
font-weight: bold; |
||||
|
letter-spacing: 2px; |
||||
|
line-height: 1; |
||||
|
margin: 1em; |
||||
|
} |
||||
|
.sidebar .logo-title .title a { |
||||
|
text-decoration: none; |
||||
|
color: #464646; |
||||
|
font-size: 2rem; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
.sidebar .social-links { |
||||
|
list-style: none; |
||||
|
padding: 0; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.sidebar .social-links i { |
||||
|
margin-right: 3px; |
||||
|
} |
||||
|
.sidebar .social-links li { |
||||
|
display: inline; |
||||
|
padding: 0 4px; |
||||
|
line-height: 0; |
||||
|
} |
||||
|
.sidebar .social-links a { |
||||
|
color: #565654; |
||||
|
} |
||||
|
.sidebar .social-links a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
.post { |
||||
|
background-color: #FFF; |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.post .post-title h1 { |
||||
|
text-transform: uppercase; |
||||
|
font-size: 30px; |
||||
|
letter-spacing: 5px; |
||||
|
line-height: 1; |
||||
|
} |
||||
|
.post .post-title h2 { |
||||
|
text-transform: uppercase; |
||||
|
letter-spacing: 1px; |
||||
|
font-size: 28px; |
||||
|
line-height: 1; |
||||
|
font-weight: 600; |
||||
|
color: #5f5f5f; |
||||
|
} |
||||
|
.post .post-title h3 { |
||||
|
text-transform: uppercase; |
||||
|
letter-spacing: 1px; |
||||
|
line-height: 1; |
||||
|
font-weight: 600; |
||||
|
color: #464646; |
||||
|
font-size: 22px; |
||||
|
margin: 0; |
||||
|
} |
||||
|
.post .post-title a { |
||||
|
text-decoration: none; |
||||
|
letter-spacing: 1px; |
||||
|
color: #5f5f5f; |
||||
|
} |
||||
|
.post .post-title a:hover { |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
.post .post-content a { |
||||
|
text-decoration: none; |
||||
|
letter-spacing: 1px; |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
.post .post-content a:hover { |
||||
|
color: #2F69B3; |
||||
|
} |
||||
|
.post .post-content h3 { |
||||
|
color: #5F5F5F; |
||||
|
font-size: 22px; |
||||
|
font-weight: 600; |
||||
|
} |
||||
|
.post .post-content h4 { |
||||
|
color: #5F5F5F; |
||||
|
font-size: 16px; |
||||
|
} |
||||
|
.post .post-content img { |
||||
|
max-width: 100%; |
||||
|
} |
||||
|
.post .post-footer { |
||||
|
padding: 0 0 30px 0; |
||||
|
border-bottom: 1px solid #f2f2f2; |
||||
|
} |
||||
|
.post .post-footer .meta { |
||||
|
max-width: 100%; |
||||
|
height: 25px; |
||||
|
color: #bbbbbb; |
||||
|
} |
||||
|
.post .post-footer .meta .info { |
||||
|
float: left; |
||||
|
font-size: 12px; |
||||
|
margin-bottom: 1em; |
||||
|
} |
||||
|
.post .post-footer .info .separator a { |
||||
|
margin-right: 0.2em; |
||||
|
} |
||||
|
.post .post-footer .meta .info .date { |
||||
|
margin-right: 10px; |
||||
|
} |
||||
|
.info { |
||||
|
margin: 1em; |
||||
|
} |
||||
|
.post .post-footer .meta a { |
||||
|
text-decoration: none; |
||||
|
color: #bbbbbb; |
||||
|
padding-right: 10px; |
||||
|
} |
||||
|
.post .post-footer .meta a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
.post .post-footer .meta i { |
||||
|
margin-right: 6px; |
||||
|
} |
||||
|
.post .post-footer .tags { |
||||
|
padding-bottom: 15px; |
||||
|
font-size: 13px; |
||||
|
} |
||||
|
.post .post-footer .tags ul { |
||||
|
list-style-type: none; |
||||
|
display: inline; |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.post .post-footer .tags ul li { |
||||
|
list-style-type: none; |
||||
|
margin: 0; |
||||
|
padding-right: 5px; |
||||
|
display: inline; |
||||
|
} |
||||
|
.post .post-footer .tags a { |
||||
|
text-decoration: none; |
||||
|
color: rgba(0, 0, 0, 0.44); |
||||
|
font-weight: 400; |
||||
|
} |
||||
|
.post .post-footer .tags a:hover { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
.pagination { |
||||
|
margin: 30px; |
||||
|
padding: 0px 0 56px 0; |
||||
|
border-bottom: 1px solid #f2f2f2; |
||||
|
} |
||||
|
.pagination ul { |
||||
|
list-style: none; |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
height: 13px; |
||||
|
} |
||||
|
.pagination ul li { |
||||
|
margin: 0 2px 0 2px; |
||||
|
display: inline; |
||||
|
line-height: 1; |
||||
|
} |
||||
|
.pagination ul li a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
.pagination .pre { |
||||
|
float: left; |
||||
|
} |
||||
|
.pagination .next { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.like-reblog-buttons { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.like-button { |
||||
|
float: right; |
||||
|
padding: 0 0 0 10px; |
||||
|
} |
||||
|
|
||||
|
.reblog-button { |
||||
|
float: right; |
||||
|
padding: 0; |
||||
|
} |
||||
|
|
||||
|
#install-btn { |
||||
|
position: fixed; |
||||
|
bottom: 0px; |
||||
|
right: 6px; |
||||
|
} |
||||
|
|
||||
|
#disqus_thread { |
||||
|
margin: 30px; |
||||
|
border-bottom: 1px solid #f2f2f2; |
||||
|
} |
||||
|
|
||||
|
.footer { |
||||
|
clear: both; |
||||
|
text-align: center; |
||||
|
font-size: 10px; |
||||
|
margin: 0 auto; |
||||
|
bottom: 0; |
||||
|
position: absolute; |
||||
|
width: 100%; |
||||
|
padding-bottom: 20px; |
||||
|
background: #fff; |
||||
|
} |
||||
|
.footer a { |
||||
|
color: #A6A6A6; |
||||
|
} |
||||
|
.footer a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/*for archive*/ |
||||
|
.archive { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.list-with-title { |
||||
|
font-size: 14px; |
||||
|
margin: 30px; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title li { |
||||
|
list-style-type: none; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title .listing-title { |
||||
|
font-size: 24px; |
||||
|
color: #666666; |
||||
|
font-weight: 600; |
||||
|
line-height: 2.2em; |
||||
|
} |
||||
|
.list-with-title .listing { |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post { |
||||
|
padding-bottom: 5px; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post .post-time { |
||||
|
float: right; |
||||
|
color: #C5C5C5; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post a { |
||||
|
color: #8F8F8F; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/* share */ |
||||
|
.share { |
||||
|
margin: 0px 30px; |
||||
|
display: inline-flex; |
||||
|
} |
||||
|
|
||||
|
.evernote { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #3E3E3E; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.evernote a { |
||||
|
color: #fff; |
||||
|
padding: 11px; |
||||
|
font-size: 12px; |
||||
|
} |
||||
|
.evernote a:hover { |
||||
|
color: #ED6243; |
||||
|
padding: 11px; |
||||
|
} |
||||
|
|
||||
|
.weibo { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #ED6243; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.weibo a { |
||||
|
color: #fff; |
||||
|
padding: 9px; |
||||
|
} |
||||
|
.weibo a:hover { |
||||
|
color: #BD4226; |
||||
|
} |
||||
|
|
||||
|
.twitter { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #59C0FD; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.twitter a { |
||||
|
color: #fff; |
||||
|
padding: 9px; |
||||
|
} |
||||
|
.twitter a:hover { |
||||
|
color: #4B9ECE; |
||||
|
} |
||||
|
|
||||
|
/* about */ |
||||
|
.about { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.about h3 { |
||||
|
font-size: 22px; |
||||
|
} |
||||
|
|
||||
|
/* links*/ |
||||
|
.links { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.links h3 { |
||||
|
font-size: 22px; |
||||
|
} |
||||
|
.links a { |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
/* Comments */ |
||||
|
.comment-count { |
||||
|
color: #666; |
||||
|
} |
||||
|
|
||||
|
.tab-community { |
||||
|
color: #666; |
||||
|
} |
||||
|
|
||||
|
.read_more { |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.back-button { |
||||
|
padding-top: 30px; |
||||
|
max-width: 100px; |
||||
|
padding-left: 40px; |
||||
|
float: left; |
||||
|
} |
||||
|
|
||||
|
/* Facebook Comments */ |
||||
|
#fb_comments_container { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
|
||||
|
/* Buttons */ |
||||
|
a.btn { |
||||
|
color: #868686; |
||||
|
font-weight: 400; |
||||
|
} |
||||
|
|
||||
|
.btn { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
outline: 0; |
||||
|
color: rgba(0, 0, 0, 0.44); |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
} |
||||
|
|
||||
|
.btn:hover { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
outline: 0px; |
||||
|
color: #464545; |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid #464545; |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
} |
||||
|
|
||||
|
[role="back"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="home"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="navigation"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="tags"] { |
||||
|
padding: 6px 12px; |
||||
|
} |
||||
|
|
||||
|
/* Menu */ |
||||
|
.menu { |
||||
|
float: right; |
||||
|
padding-top: 30px; |
||||
|
} |
||||
|
.menu .btn-down { |
||||
|
margin: 0px; |
||||
|
} |
||||
|
.menu .btn-down li { |
||||
|
list-style: none; |
||||
|
width: 100px; |
||||
|
} |
||||
|
.menu .btn-down li a { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
padding: 0.5em 1.25em; |
||||
|
outline: 0; |
||||
|
color: rgba(0, 0, 0, 0.44); |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
margin-top: 5px; |
||||
|
} |
||||
|
.menu .btn-down li a:hover { |
||||
|
position: relative; |
||||
|
padding: 0.5em 1.25em; |
||||
|
outline: 0; |
||||
|
color: #fff; |
||||
|
background: #3CBD10; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
margin-top: 5px; |
||||
|
} |
||||
|
.menu .btn-down div { |
||||
|
position: absolute; |
||||
|
visibility: hidden; |
||||
|
width: 100px; |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.page_404 { |
||||
|
text-align: center; |
||||
|
padding-top: 50px; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
@media screen and (max-width: 960px) { |
||||
|
.sidebar { |
||||
|
width: 100%; |
||||
|
position: absolute; |
||||
|
border-right: none; |
||||
|
z-index: 1; |
||||
|
} |
||||
|
.sidebar .logo-title { |
||||
|
padding-top: 120px; |
||||
|
} |
||||
|
.sidebar .logo-title .title img { |
||||
|
width: 100px; |
||||
|
} |
||||
|
.sidebar .logo-title .title h3 { |
||||
|
font-size: 20px; |
||||
|
} |
||||
|
|
||||
|
.page-top { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.post-title h3 { |
||||
|
line-height: 1.6; |
||||
|
} |
||||
|
|
||||
|
.content { |
||||
|
margin-top: 420px; |
||||
|
width: 100%; |
||||
|
z-index: 2; |
||||
|
position: absolute; |
||||
|
} |
||||
|
|
||||
|
.footer { |
||||
|
display: none; |
||||
|
} |
||||
|
|
||||
|
.share { |
||||
|
display: grid; |
||||
|
} |
||||
|
} |
After Width: 300 | Height: 300 | Size: 26 KiB |
@ -0,0 +1,8 @@ |
|||||
|
--- |
||||
|
title: "Test Post2" |
||||
|
date: 2020-04-29T13:29:30+01:00 |
||||
|
draft: false |
||||
|
Blog: ["Brewshido","BushidoDreams","The Whitabootery"] |
||||
|
Categories: [] |
||||
|
Tags: [] |
||||
|
--- |
@ -0,0 +1,28 @@ |
|||||
|
--- |
||||
|
title: "Posts" |
||||
|
description: "Hugo, the world’s fastest framework for building websites" |
||||
|
date: "2018-02-11" |
||||
|
aliases: ["about-us","about-hugo","contact"] |
||||
|
author: "Hugo Authors" |
||||
|
menu: main |
||||
|
name: "Posts" |
||||
|
weight: 300 |
||||
|
--- |
||||
|
|
||||
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. |
||||
|
|
||||
|
Hugo makes use of a variety of open source projects including: |
||||
|
|
||||
|
* https://github.com/russross/blackfriday |
||||
|
* https://github.com/alecthomas/chroma |
||||
|
* https://github.com/muesli/smartcrop |
||||
|
* https://github.com/spf13/cobra |
||||
|
* https://github.com/spf13/viper |
||||
|
|
||||
|
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages. |
||||
|
|
||||
|
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. |
||||
|
|
||||
|
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. |
||||
|
|
||||
|
Learn more and contribute on [GitHub](https://github.com/gohugoio). |
@ -0,0 +1,28 @@ |
|||||
|
--- |
||||
|
title: "Snaps" |
||||
|
description: "Hugo, the world’s fastest framework for building websites" |
||||
|
date: "2018-02-11" |
||||
|
aliases: ["about-us","about-hugo","contact"] |
||||
|
author: "Hugo Authors" |
||||
|
menu: main |
||||
|
name: "Snaps" |
||||
|
weight: 300 |
||||
|
--- |
||||
|
|
||||
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. |
||||
|
|
||||
|
Hugo makes use of a variety of open source projects including: |
||||
|
|
||||
|
* https://github.com/russross/blackfriday |
||||
|
* https://github.com/alecthomas/chroma |
||||
|
* https://github.com/muesli/smartcrop |
||||
|
* https://github.com/spf13/cobra |
||||
|
* https://github.com/spf13/viper |
||||
|
|
||||
|
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages. |
||||
|
|
||||
|
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. |
||||
|
|
||||
|
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. |
||||
|
|
||||
|
Learn more and contribute on [GitHub](https://github.com/gohugoio). |
@ -0,0 +1,2 @@ |
|||||
|
# Auto detect text files and perform LF normalization |
||||
|
* text=auto |
@ -0,0 +1,4 @@ |
|||||
|
**/themes/ |
||||
|
demo/ |
||||
|
.hugo/* |
||||
|
!.hugo/version |
@ -0,0 +1,20 @@ |
|||||
|
The MIT License (MIT) |
||||
|
|
||||
|
Copyright (c) 2020 lxndrblz |
||||
|
|
||||
|
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. |
@ -0,0 +1,102 @@ |
|||||
|
# Anatole ![](https://img.shields.io/badge/license-MIT-blue.svg) [![Netlify Status](https://api.netlify.com/api/v1/badges/ee7a5df4-b944-4e03-853d-39219c96d484/deploy-status)](https://alexbilz.com/) |
||||
|
|
||||
|
Anatole is a beautiful minimalist two-column [hugo](https://gohugo.io/) theme based on farbox-theme-Anatole. |
||||
|
|
||||
|
![Screenshot Anatole Theme](https://raw.githubusercontent.com/lxndrblz/anatole/master/images/screenshot.png) |
||||
|
|
||||
|
## Features |
||||
|
Anatole's aims to be minimalistic and sleek, but still brings some great functionality. |
||||
|
|
||||
|
Features include: |
||||
|
* Profile picture and slogan |
||||
|
* Navigation items |
||||
|
* Google Analytics |
||||
|
* Comments powered by Disqus |
||||
|
* Katex support |
||||
|
* MIT License |
||||
|
* Fontawesome icons |
||||
|
|
||||
|
## Preview the exampleSite |
||||
|
``` |
||||
|
git clone https://github.com/lxndrblz/anatole.git anatole |
||||
|
cd anatole/exampleSite |
||||
|
hugo server --themesDir ../.. |
||||
|
``` |
||||
|
|
||||
|
## Quick Start |
||||
|
1. Add the repository into your Hugo Project repository as a submodule: `git submodule add https://github.com/lxndrblz/anatole.git themes/anatole`. |
||||
|
2. Configure your `config.toml`. Feel free to copy the demo `config.toml` and some content from the exampleSite. |
||||
|
3. Build your site with `hugo serve` and admire the result at `http://localhost:1313/`. |
||||
|
|
||||
|
## Update your installation |
||||
|
If you want to get the latest update of the `Anatole` theme please execute this command: |
||||
|
``` |
||||
|
git submodule update --remote --merge |
||||
|
``` |
||||
|
|
||||
|
## Modifying the config.toml |
||||
|
Ìn this section I'll discuss the custom parameters available within the `config.toml`. The complete [sample](https://github.com/lxndrblz/anatole/blob/master/exampleSite/config.toml) can be found in the exampleSite folder. |
||||
|
|
||||
|
### Profile picture and slogan |
||||
|
``` |
||||
|
[params] |
||||
|
title = "I'm Jane Doe" |
||||
|
author = "Jane Doe" |
||||
|
description = "Call me Jane" |
||||
|
profilePicture = "images/profile.jpg" |
||||
|
``` |
||||
|
### Navigation items |
||||
|
Non-content entries can be added right from the `config.toml` file. |
||||
|
``` |
||||
|
[menu] |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name = "Home" |
||||
|
identifier = "home" |
||||
|
weight = 100 |
||||
|
url = "/" |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name = "Posts" |
||||
|
weight = 200 |
||||
|
identifier = "posts" |
||||
|
url = "/post/" |
||||
|
``` |
||||
|
If you want to add content to menus, please see the `about.md` file as an example. |
||||
|
``` |
||||
|
menu: main |
||||
|
name: "About" |
||||
|
weight: 300 |
||||
|
``` |
||||
|
### Comments powered by Disqus |
||||
|
No comment section is shown on the `single.html`, unless a disqus code is specified in the `config.toml` file. |
||||
|
``` |
||||
|
disqusShortname = "XXX" |
||||
|
``` |
||||
|
### Google Analytics |
||||
|
To use Google Analytics, a valid tracking code has to be added. If you don't want to load the code, then commend out the parameter. |
||||
|
``` |
||||
|
googleAnalytics = "UA-123-45" |
||||
|
``` |
||||
|
|
||||
|
### Beautiful math functions |
||||
|
``` |
||||
|
## Math settings |
||||
|
[params.math] |
||||
|
enable = false # options: true, false. Enable math support globally, default: false. You can always enable math on per page. |
||||
|
use = "katex" # options: "katex", "mathjax". default is "katex". |
||||
|
``` |
||||
|
## License |
||||
|
|
||||
|
Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE). |
||||
|
|
||||
|
## Maintenance |
||||
|
|
||||
|
This theme is maintained by its author [Alexander Bilz](https://github.com/lxndrblz). Please open an issue/pull request if you want to contribute in making this theme better and more feature-complete. |
||||
|
|
||||
|
## Special Thanks 🎁 |
||||
|
|
||||
|
* Go to [Cai Cai](https://github.com/hi-caicai), for the great Anatole Farbox theme that formed the foundation for this theme. |
||||
|
* Go to [Kareya Saleh](https://unsplash.com/photos/tLKOj6cNwe0) for providing the profile picture in the exampleSite. |
||||
|
|
||||
|
|
@ -0,0 +1,9 @@ |
|||||
|
--- |
||||
|
title: "{{ replace .Name "-" " " | title }}" |
||||
|
date: {{ .Date }} |
||||
|
Description: "" |
||||
|
Blog: [] |
||||
|
Tags: [] |
||||
|
Categories: [] |
||||
|
DisableComments: false |
||||
|
--- |
@ -0,0 +1,63 @@ |
|||||
|
baseURL = "https://example.com" |
||||
|
languageCode = "en" |
||||
|
DefaultContentLanguage = "en" |
||||
|
title = "Website of Jane Doe" |
||||
|
theme = "anatole" |
||||
|
summarylength = 10 |
||||
|
enableEmoji = true |
||||
|
|
||||
|
# Enable Disqus |
||||
|
#disqusShortname = "" |
||||
|
|
||||
|
# Google Analytics |
||||
|
#googleAnalytics = "UA-123-45" |
||||
|
|
||||
|
[params] |
||||
|
title = "I'm Jane Doe" |
||||
|
author = "Jane Doe" |
||||
|
description = "Call me Jane" |
||||
|
profilePicture = "images/profile.jpg" |
||||
|
keywords = "" |
||||
|
favicon = "favicons/" |
||||
|
|
||||
|
## Math settings |
||||
|
[params.math] |
||||
|
enable = false # options: true, false. Enable math support globally, default: false. You can always enable math on per page. |
||||
|
use = "katex" # options: "katex", "mathjax". default is "katex". |
||||
|
|
||||
|
## Social links |
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-linkedin" |
||||
|
title = "Linkedin" |
||||
|
url = "https://de.linkedin.com/" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-github" |
||||
|
title = "GitHub" |
||||
|
url = "https://github.com/lxndrblz/anatole/" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-instagram" |
||||
|
title = "instagram" |
||||
|
url = "https://www.instagram.com/" |
||||
|
|
||||
|
[[params.socialIcons]] |
||||
|
icon = "fa-envelope" |
||||
|
title = "e-mail" |
||||
|
url = "mailto:mail@alexbilz.com" |
||||
|
|
||||
|
## Menu items |
||||
|
|
||||
|
[menu] |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name = "Home" |
||||
|
identifier = "home" |
||||
|
weight = 100 |
||||
|
url = "/post/" |
||||
|
|
||||
|
[[menu.main]] |
||||
|
name = "Posts" |
||||
|
weight = 200 |
||||
|
identifier = "posts" |
||||
|
url = "/post/" |
@ -0,0 +1,28 @@ |
|||||
|
--- |
||||
|
title: "About" |
||||
|
description: "Hugo, the world’s fastest framework for building websites" |
||||
|
date: "2018-02-11" |
||||
|
aliases: ["about-us","about-hugo","contact"] |
||||
|
author: "Hugo Authors" |
||||
|
menu: main |
||||
|
name: "About" |
||||
|
weight: 300 |
||||
|
--- |
||||
|
|
||||
|
Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows. |
||||
|
|
||||
|
Hugo makes use of a variety of open source projects including: |
||||
|
|
||||
|
* https://github.com/russross/blackfriday |
||||
|
* https://github.com/alecthomas/chroma |
||||
|
* https://github.com/muesli/smartcrop |
||||
|
* https://github.com/spf13/cobra |
||||
|
* https://github.com/spf13/viper |
||||
|
|
||||
|
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages. |
||||
|
|
||||
|
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases. |
||||
|
|
||||
|
Websites built with Hugo are extremelly fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider. |
||||
|
|
||||
|
Learn more and contribute on [GitHub](https://github.com/gohugoio). |
@ -0,0 +1,6 @@ |
|||||
|
+++ |
||||
|
aliases = ["posts","articles","blog","showcase","docs"] |
||||
|
title = "Posts" |
||||
|
author = "Hugo Authors" |
||||
|
tags = ["index"] |
||||
|
+++ |
@ -0,0 +1,47 @@ |
|||||
|
+++ |
||||
|
author = "Hugo Authors" |
||||
|
title = "Emoji Support" |
||||
|
date = "2019-03-05" |
||||
|
description = "Guide to emoji usage in Hugo" |
||||
|
tags = [ |
||||
|
"emoji", |
||||
|
] |
||||
|
+++ |
||||
|
|
||||
|
Emoji can be enabled in a Hugo project in a number of ways. |
||||
|
<!--more--> |
||||
|
The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes). |
||||
|
|
||||
|
To enable emoji globally, set `enableEmoji` to `true` in your site’s [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g. |
||||
|
|
||||
|
|
||||
|
<p><span class="nowrap"><span class="emojify">🙈</span> <code>:see_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙉</span> <code>:hear_no_evil:</code></span> <span class="nowrap"><span class="emojify">🙊</span> <code>:speak_no_evil:</code></span></p> |
||||
|
<br> |
||||
|
|
||||
|
The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. |
||||
|
|
||||
|
*** |
||||
|
|
||||
|
**N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however the rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack; e.g. |
||||
|
|
||||
|
{{< highlight html >}} |
||||
|
.emoji { |
||||
|
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols; |
||||
|
} |
||||
|
{{< /highlight >}} |
||||
|
|
||||
|
{{< css.inline >}} |
||||
|
<style> |
||||
|
.emojify { |
||||
|
font-family: Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols; |
||||
|
font-size: 2rem; |
||||
|
vertical-align: middle; |
||||
|
} |
||||
|
@media screen and (max-width:650px) { |
||||
|
.nowrap { |
||||
|
display: block; |
||||
|
margin: 25px 0; |
||||
|
} |
||||
|
} |
||||
|
</style> |
||||
|
{{< /css.inline >}} |
@ -0,0 +1,147 @@ |
|||||
|
+++ |
||||
|
author = "Hugo Authors" |
||||
|
title = "Markdown Syntax Guide" |
||||
|
date = "2020-03-11" |
||||
|
description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements." |
||||
|
tags = [ |
||||
|
"markdown", |
||||
|
"css", |
||||
|
"html", |
||||
|
"themes", |
||||
|
] |
||||
|
categories = [ |
||||
|
"themes", |
||||
|
"syntax", |
||||
|
] |
||||
|
series = ["Themes Guide"] |
||||
|
aliases = ["migrate-from-jekyl"] |
||||
|
+++ |
||||
|
|
||||
|
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme. |
||||
|
<!--more--> |
||||
|
|
||||
|
## Headings |
||||
|
|
||||
|
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest. |
||||
|
|
||||
|
# H1 |
||||
|
## H2 |
||||
|
### H3 |
||||
|
#### H4 |
||||
|
##### H5 |
||||
|
###### H6 |
||||
|
|
||||
|
## Paragraph |
||||
|
|
||||
|
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. |
||||
|
|
||||
|
Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. |
||||
|
|
||||
|
## Blockquotes |
||||
|
|
||||
|
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. |
||||
|
|
||||
|
#### Blockquote without attribution |
||||
|
|
||||
|
> Tiam, ad mint andaepu dandae nostion secatur sequo quae. |
||||
|
> **Note** that you can use *Markdown syntax* within a blockquote. |
||||
|
|
||||
|
#### Blockquote with attribution |
||||
|
|
||||
|
> Don't communicate by sharing memory, share memory by communicating.</p> |
||||
|
> — <cite>Rob Pike[^1]</cite> |
||||
|
|
||||
|
|
||||
|
[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. |
||||
|
|
||||
|
## Tables |
||||
|
|
||||
|
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box. |
||||
|
|
||||
|
Name | Age |
||||
|
--------|------ |
||||
|
Bob | 27 |
||||
|
Alice | 23 |
||||
|
|
||||
|
#### Inline Markdown within tables |
||||
|
|
||||
|
| Inline | Markdown | In | Table | |
||||
|
| ---------- | --------- | ----------------- | ---------- | |
||||
|
| *italics* | **bold** | ~~strikethrough~~ | `code` | |
||||
|
|
||||
|
## Code Blocks |
||||
|
|
||||
|
#### Code block with backticks |
||||
|
|
||||
|
``` |
||||
|
html |
||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<title>Example HTML5 Document</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<p>Test</p> |
||||
|
</body> |
||||
|
</html> |
||||
|
``` |
||||
|
#### Code block indented with four spaces |
||||
|
|
||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<title>Example HTML5 Document</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<p>Test</p> |
||||
|
</body> |
||||
|
</html> |
||||
|
|
||||
|
#### Code block with Hugo's internal highlight shortcode |
||||
|
{{< highlight html >}} |
||||
|
<!DOCTYPE html> |
||||
|
<html lang="en"> |
||||
|
<head> |
||||
|
<meta charset="UTF-8"> |
||||
|
<title>Example HTML5 Document</title> |
||||
|
</head> |
||||
|
<body> |
||||
|
<p>Test</p> |
||||
|
</body> |
||||
|
</html> |
||||
|
{{< /highlight >}} |
||||
|
|
||||
|
## List Types |
||||
|
|
||||
|
#### Ordered List |
||||
|
|
||||
|
1. First item |
||||
|
2. Second item |
||||
|
3. Third item |
||||
|
|
||||
|
#### Unordered List |
||||
|
|
||||
|
* List item |
||||
|
* Another item |
||||
|
* And another item |
||||
|
|
||||
|
#### Nested list |
||||
|
|
||||
|
* Item |
||||
|
1. First Sub-item |
||||
|
2. Second Sub-item |
||||
|
|
||||
|
## Other Elements — abbr, sub, sup, kbd, mark |
||||
|
|
||||
|
<abbr title="Graphics Interchange Format">GIF</abbr> is a bitmap image format. |
||||
|
|
||||
|
H<sub>2</sub>O |
||||
|
|
||||
|
X<sup>n</sup> + Y<sup>n</sup> = Z<sup>n</sup> |
||||
|
|
||||
|
Press <kbd><kbd>CTRL</kbd>+<kbd>ALT</kbd>+<kbd>Delete</kbd></kbd> to end the session. |
||||
|
|
||||
|
Most <mark>salamanders</mark> are nocturnal, and hunt for insects, worms, and other small creatures. |
||||
|
|
@ -0,0 +1,46 @@ |
|||||
|
--- |
||||
|
author: Hugo Authors |
||||
|
title: Math Typesetting |
||||
|
date: 2019-03-08 |
||||
|
description: A brief guide to setup KaTeX |
||||
|
markup: mmark |
||||
|
math: true |
||||
|
--- |
||||
|
|
||||
|
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries. |
||||
|
<!--more--> |
||||
|
|
||||
|
In this example we will be using [KaTeX](https://katex.org/) |
||||
|
|
||||
|
- Create a partial under `/layouts/partials/math.html` |
||||
|
- Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. |
||||
|
- Include the partial in your templates like so: |
||||
|
|
||||
|
``` |
||||
|
{{ if or .Params.math .Site.Params.math }} |
||||
|
{{ partial "math.html" . }} |
||||
|
{{ end }} |
||||
|
``` |
||||
|
- To enable KaTex globally set the parameter `math` to `true` in a project's configuration |
||||
|
- To enable KaTex on a per page basis include the parameter `math: true` in content files. |
||||
|
|
||||
|
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) |
||||
|
{{< math.inline >}} |
||||
|
{{ if or .Page.Params.math .Site.Params.math }} |
||||
|
<!-- KaTeX --> |
||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.css" integrity="sha384-dbVIfZGuN1Yq7/1Ocstc1lUEm+AT+/rCkibIcC/OmWo5f0EA48Vf8CytHzGrSwbQ" crossorigin="anonymous"> |
||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/katex.min.js" integrity="sha384-2BKqo+exmr9su6dir+qCw08N2ZKRucY4PrGQPPWU1A7FtlCGjmEGFqXCv5nyM5Ij" crossorigin="anonymous"></script> |
||||
|
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.10.1/dist/contrib/auto-render.min.js" integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous" onload="renderMathInElement(document.body);"></script> |
||||
|
{{ end }} |
||||
|
{{</ math.inline >}} |
||||
|
|
||||
|
### Examples |
||||
|
|
||||
|
Inline math: $$ \varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887… $$ |
||||
|
|
||||
|
Block math: |
||||
|
|
||||
|
$$ |
||||
|
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } |
||||
|
$$ |
||||
|
|
@ -0,0 +1,58 @@ |
|||||
|
+++ |
||||
|
author = "Hugo Authors" |
||||
|
title = "Placeholder Text" |
||||
|
date = "2019-03-09" |
||||
|
description = "Lorem Ipsum Dolor Si Amet" |
||||
|
tags = [ |
||||
|
"markdown", |
||||
|
"text", |
||||
|
] |
||||
|
+++ |
||||
|
|
||||
|
Lorem est tota propiore conpellat pectoribus de |
||||
|
pectora summo. <!--more-->Redit teque digerit hominumque toris verebor lumina non cervice |
||||
|
subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc |
||||
|
caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis |
||||
|
lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. |
||||
|
|
||||
|
1. Exierant elisi ambit vivere dedere |
||||
|
2. Duce pollice |
||||
|
3. Eris modo |
||||
|
4. Spargitque ferrea quos palude |
||||
|
|
||||
|
Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus |
||||
|
silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria |
||||
|
tractus malis. |
||||
|
|
||||
|
1. Comas hunc haec pietate fetum procerum dixit |
||||
|
2. Post torum vates letum Tiresia |
||||
|
3. Flumen querellas |
||||
|
4. Arcanaque montibus omnes |
||||
|
5. Quidem et |
||||
|
|
||||
|
# Vagus elidunt |
||||
|
|
||||
|
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg> |
||||
|
|
||||
|
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) |
||||
|
|
||||
|
## Mane refeci capiebant unda mulcebat |
||||
|
|
||||
|
Victa caducifer, malo vulnere contra |
||||
|
dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere |
||||
|
furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. |
||||
|
|
||||
|
Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli |
||||
|
Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare |
||||
|
Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert |
||||
|
ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae |
||||
|
vulnus haerentia iuste et exercebat, sui et. |
||||
|
|
||||
|
Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, *oculos nomen* non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem |
||||
|
Propoetides **parte**. |
||||
|
|
||||
|
{{< css.inline >}} |
||||
|
<style> |
||||
|
.canon { background: white; width: 100%; height: auto;} |
||||
|
</style> |
||||
|
{{< /css.inline >}} |
@ -0,0 +1,42 @@ |
|||||
|
+++ |
||||
|
author = "Hugo Authors" |
||||
|
title = "Rich Content" |
||||
|
date = "2018-03-10" |
||||
|
description = "A brief description of Hugo Shortcodes" |
||||
|
tags = [ |
||||
|
"shortcodes", |
||||
|
"privacy", |
||||
|
] |
||||
|
+++ |
||||
|
|
||||
|
Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugo-s-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds. |
||||
|
<!--more--> |
||||
|
--- |
||||
|
|
||||
|
## Instagram Simple Shortcode |
||||
|
|
||||
|
{{< instagram_simple BGvuInzyFAe hidecaption >}} |
||||
|
|
||||
|
<br> |
||||
|
|
||||
|
--- |
||||
|
|
||||
|
## YouTube Privacy Enhanced Shortcode |
||||
|
|
||||
|
{{< youtube ZJthWmvUzzc >}} |
||||
|
|
||||
|
<br> |
||||
|
|
||||
|
--- |
||||
|
|
||||
|
## Twitter Simple Shortcode |
||||
|
|
||||
|
{{< twitter_simple 1085870671291310081 >}} |
||||
|
|
||||
|
<br> |
||||
|
|
||||
|
--- |
||||
|
|
||||
|
## Vimeo Simple Shortcode |
||||
|
|
||||
|
{{< vimeo_simple 48912912 >}} |
After Width: 250 | Height: 250 | Size: 44 KiB |
After Width: 1500 | Height: 1000 | Size: 130 KiB |
After Width: 900 | Height: 600 | Size: 68 KiB |
@ -0,0 +1,6 @@ |
|||||
|
|
||||
|
{{- define "main" -}} |
||||
|
<div class="page_404"> |
||||
|
<p>The page you are looking for is missing</p> |
||||
|
</div> |
||||
|
{{- end -}} |
@ -0,0 +1,17 @@ |
|||||
|
<!DOCTYPE html> |
||||
|
<html lang="{{- site.Language.Lang -}}"> |
||||
|
{{- partial "head.html" . -}} |
||||
|
<body> |
||||
|
{{- partial "sidebar.html" . -}} |
||||
|
<div class="main"> |
||||
|
{{ partial "navbar.html" . }} |
||||
|
<div class="autopagerize_page_element"> |
||||
|
<div class="content"> |
||||
|
{{- block "main" . }}{{- end }} |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
{{- partial "footer.html" . -}} |
||||
|
</body> |
||||
|
|
||||
|
</html> |
@ -0,0 +1,18 @@ |
|||||
|
{{ define "main" }} |
||||
|
<div class="archive animated fadeInDown"> |
||||
|
<div class="list-title">{{if not (eq .Name "Blog")}}{{ .Name }}{{ end }}</div> |
||||
|
<ul class="list-with-title"> |
||||
|
{{ range .Data.Pages.GroupByDate "2006" }} |
||||
|
<div class="listing-title">{{ .Key }}</div> |
||||
|
{{ range .Pages }} |
||||
|
<ul class="listing"> |
||||
|
<div class="listing-item"> |
||||
|
<div class="listing-post"><a href="{{ .Permalink }}" title="{{ .Title }}">{{ .Title }}</a> |
||||
|
<div class="post-time"><span class="date">{{.Date.Format "Jan 2" }}</span></div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</ul> |
||||
|
{{ end }} |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
{{ end }} |
@ -0,0 +1,36 @@ |
|||||
|
{{ define "main" }} |
||||
|
<div class="post animated fadeInDown"> |
||||
|
<div class="post-content"> |
||||
|
|
||||
|
<div class="post-title"> |
||||
|
<h3>{{ .Title }} |
||||
|
</h3> |
||||
|
{{ if eq .Type "post"}} |
||||
|
<div class="info"> |
||||
|
<i class="fa fa-sun-o"></i><span class="date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span> |
||||
|
<i class="fa fa-clock-o"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> |
||||
|
</div> |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
|
||||
|
{{ .Content }} |
||||
|
</div> |
||||
|
<div class="post-footer"> |
||||
|
<div class="info"> |
||||
|
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} |
||||
|
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }} |
||||
|
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }} |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
{{ if eq .Type "post"}} |
||||
|
{{ if .Site.DisqusShortname -}} |
||||
|
<div id="fb_comments_container"> |
||||
|
<h2>Comments</h2> |
||||
|
{{ template "_internal/disqus.html" . }} |
||||
|
</div> |
||||
|
{{- end }} |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
|
||||
|
{{ end }} |
@ -0,0 +1,20 @@ |
|||||
|
{{ define "main" }} |
||||
|
|
||||
|
<div class="about animated fadeInDown"> |
||||
|
{{ range first 10 .Site.RegularPages }} |
||||
|
{{ if eq .Type "post"}} |
||||
|
<div> |
||||
|
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> |
||||
|
{{ .Summary }} |
||||
|
</div> |
||||
|
{{ if .Truncated }} |
||||
|
<!-- This <div> includes a read more link, but only if the summary is truncated... --> |
||||
|
<div> |
||||
|
<a href="{{ .RelPermalink }}">Read More…</a> |
||||
|
</div> |
||||
|
{{ end }} |
||||
|
{{ end }} |
||||
|
{{ end }} |
||||
|
</div> |
||||
|
|
||||
|
{{ end }} |
@ -0,0 +1,5 @@ |
|||||
|
|
||||
|
</body> |
||||
|
|
||||
|
|
||||
|
</html> |
@ -0,0 +1,17 @@ |
|||||
|
<head> |
||||
|
<title> {{.Site.Params.author}} | {{.Title}} </title> |
||||
|
<meta charset="utf-8"> |
||||
|
{{- hugo.Generator -}} |
||||
|
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"> |
||||
|
<meta name="description" content="{{ .Site.Params.description }}"> |
||||
|
<link rel="stylesheet" href="{{ `css/style.css` | absURL }}" type="text/css"> |
||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous"> |
||||
|
<base href="{{ .Site.BaseURL }}"> |
||||
|
<!-- Favicons --> |
||||
|
<link rel="shortcut icon" href="{{ .Site.Params.favicon | absURL }}favicon.ico" type="image/x-icon"> |
||||
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.Params.favicon | absURL }}apple-touch-icon.png"> |
||||
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.Params.favicon | absURL }}favicon-32x32.png"> |
||||
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.Params.favicon | absURL }}favicon-16x16.png"> |
||||
|
|
||||
|
<link rel="canonical" href="{{ .Permalink }}"> |
||||
|
</head> |
@ -0,0 +1,30 @@ |
|||||
|
{{- if or (eq site.Params.math true) (eq .Params.math true) -}} |
||||
|
{{- $use := "katex" -}} |
||||
|
|
||||
|
{{- with site.Params.math -}} |
||||
|
{{- if and (isset . "use") (eq (.use | lower) "mathjax") -}} |
||||
|
{{- $use = "mathjax" -}} |
||||
|
{{- end -}} |
||||
|
{{- end -}} |
||||
|
|
||||
|
{{- if eq $use "mathjax" -}} |
||||
|
{{- $url := "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-AMS-MML_HTMLorMML" -}} |
||||
|
{{- $hash := "sha384-e/4/LvThKH1gwzXhdbY2AsjR3rm7LHWyhIG5C0jiRfn8AN2eTN5ILeztWw0H9jmN" -}} |
||||
|
<script defer type="text/javascript" src="{{- $url -}}" integrity="{{- $hash -}}" crossorigin="anonymous"></script> |
||||
|
<script |
||||
|
type="text/x-mathjax-config">MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']] } });</script> |
||||
|
{{- else -}} |
||||
|
{{- $url := "https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" -}} |
||||
|
{{- $hash := "sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" -}} |
||||
|
<link rel="stylesheet" href="{{- $url -}}" integrity="{{- $hash -}}" crossorigin="anonymous"> |
||||
|
|
||||
|
{{- $url := "https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" -}} |
||||
|
{{- $hash := "sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" -}} |
||||
|
<script defer src="{{- $url -}}" integrity="{{- $hash -}}" crossorigin="anonymous"></script> |
||||
|
|
||||
|
{{- $url := "https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js" -}} |
||||
|
{{- $hash := "sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" -}} |
||||
|
<script defer src="{{- $url -}}" integrity="{{- $hash -}}" crossorigin="anonymous" |
||||
|
onload="renderMathInElement(document.body);"></script> |
||||
|
{{- end -}} |
||||
|
{{- end -}} |
@ -0,0 +1,9 @@ |
|||||
|
<div class="page-top animated fadeInDown"> |
||||
|
<div class="nav"> |
||||
|
{{ $currentPage := . }} |
||||
|
{{ range .Site.Menus.main }} |
||||
|
<li><a {{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }}class="current"{{end}} href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li> |
||||
|
|
||||
|
{{ end }} |
||||
|
</div> |
||||
|
</div> |
@ -0,0 +1,22 @@ |
|||||
|
<div class="sidebar animated fadeInDown"> |
||||
|
<div class="logo-title"> |
||||
|
<div class="title"> |
||||
|
<img src="{{ .Site.Params.profilePicture | absURL }}" alt="profile picture" style="width:127px;border-radius: 50%;"> |
||||
|
<h3 title=""><a href="/">{{ .Site.Params.Title }}</a></h3> |
||||
|
<div class="description"> |
||||
|
<p>{{ .Site.Params.description }}</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<ul class="social-links"> |
||||
|
{{ range $item := .Site.Params.socialIcons }} |
||||
|
<a href="{{ $item.url }}" rel="me" > |
||||
|
<i class="fa {{ $item.icon }}" aria-hidden="true" title="{{ $item.title }}"></i> |
||||
|
</a> |
||||
|
{{ end }} |
||||
|
</ul> |
||||
|
<div class="footer"> |
||||
|
<div class="by_farbox">© {{ .Site.Params.author }} {{ now.Format "2006"}} </div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
@ -0,0 +1,6 @@ |
|||||
|
|
||||
|
<span class="separator"> |
||||
|
{{- range $index, $el := . -}} |
||||
|
<a class="blog" href="{{ ( printf "blog/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a> |
||||
|
{{- end -}} |
||||
|
</span> |
@ -0,0 +1,6 @@ |
|||||
|
|
||||
|
<span class="separator"> |
||||
|
{{- range $index, $el := . -}} |
||||
|
<a class="category" href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a> |
||||
|
{{- end -}} |
||||
|
</span> |
@ -0,0 +1,6 @@ |
|||||
|
|
||||
|
<span class="separator"> |
||||
|
{{- range $index, $el := . -}} |
||||
|
<a class="tag" href="{{ ( printf "tags/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a> |
||||
|
{{- end -}} |
||||
|
</span> |
@ -0,0 +1,745 @@ |
|||||
|
@charset "UTF-8"; |
||||
|
@import url('https://rsms.me/inter/inter.css'); |
||||
|
html { font-family: 'Inter', sans-serif; height:100%;} |
||||
|
@supports (font-variation-settings: normal) { |
||||
|
html { font-family: 'Inter var', sans-serif; } |
||||
|
} |
||||
|
|
||||
|
html { |
||||
|
background-color: #2b2b2b; |
||||
|
-webkit-font-smoothing: antialiased; |
||||
|
} |
||||
|
|
||||
|
body { |
||||
|
color: #f8f8f8; |
||||
|
font-size: 15px; |
||||
|
width: 100%; |
||||
|
margin: 0 auto 30px auto; |
||||
|
background-color: #2b2b2b; |
||||
|
} |
||||
|
|
||||
|
p { |
||||
|
line-height: 1.9em; |
||||
|
font-weight: 400; |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
.category { |
||||
|
padding: 4px 6px; |
||||
|
border-radius: 3px; |
||||
|
color: #fff; |
||||
|
background-color: #2b2b2b; |
||||
|
border: 1px solid #000; |
||||
|
} |
||||
|
|
||||
|
.tag::before { |
||||
|
content: "#"; |
||||
|
opacity: .5; |
||||
|
} |
||||
|
|
||||
|
.tag, .category { |
||||
|
display: inline-block; |
||||
|
font-size: 15px; |
||||
|
line-height: 1; |
||||
|
margin: 5px 8px 5px 0; |
||||
|
} |
||||
|
|
||||
|
pre { |
||||
|
background-color: #2b2b2b; |
||||
|
padding: 5px; |
||||
|
} |
||||
|
|
||||
|
.info i{ |
||||
|
opacity: 0.5; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
|
||||
|
a:link, a:visited { |
||||
|
opacity: 1; |
||||
|
-webkit-transition: all .15s linear; |
||||
|
-moz-transition: all .15s linear; |
||||
|
-o-transition: all .15s linear; |
||||
|
-ms-transition: all .15s linear; |
||||
|
transition: all .15s linear; |
||||
|
color: #424242; |
||||
|
} |
||||
|
|
||||
|
a:hover, a:active { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/*basic styles ends*/ |
||||
|
/*animation starts*/ |
||||
|
.animated { |
||||
|
-webkit-animation-fill-mode: both; |
||||
|
-moz-animation-fill-mode: both; |
||||
|
-ms-animation-fill-mode: both; |
||||
|
-o-animation-fill-mode: both; |
||||
|
animation-fill-mode: both; |
||||
|
-webkit-animation-duration: 1s; |
||||
|
-moz-animation-duration: 1s; |
||||
|
-ms-animation-duration: 1s; |
||||
|
-o-animation-duration: 1s; |
||||
|
animation-duration: 1s; |
||||
|
} |
||||
|
|
||||
|
.animated.hinge { |
||||
|
-webkit-animation-duration: 1s; |
||||
|
-moz-animation-duration: 1s; |
||||
|
-ms-animation-duration: 1s; |
||||
|
-o-animation-duration: 1s; |
||||
|
animation-duration: 1s; |
||||
|
} |
||||
|
|
||||
|
@-webkit-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-webkit-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-webkit-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@-moz-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-moz-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-moz-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@-o-keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
-o-transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
-o-transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
@keyframes fadeInDown { |
||||
|
0% { |
||||
|
opacity: 0; |
||||
|
transform: translateY(-20px); |
||||
|
} |
||||
|
100% { |
||||
|
opacity: 1; |
||||
|
transform: translateY(0); |
||||
|
} |
||||
|
} |
||||
|
.fadeInDown { |
||||
|
-webkit-animation-name: fadeInDown; |
||||
|
-moz-animation-name: fadeInDown; |
||||
|
-o-animation-name: fadeInDown; |
||||
|
animation-name: fadeInDown; |
||||
|
} |
||||
|
|
||||
|
/*animation ends*/ |
||||
|
.content { |
||||
|
height: auto; |
||||
|
float: right; |
||||
|
width: 60%; |
||||
|
margin-top: 60px; |
||||
|
} |
||||
|
|
||||
|
.page-top { |
||||
|
width: 60%; |
||||
|
position: fixed; |
||||
|
right: 0; |
||||
|
z-index: 3; |
||||
|
background-color: #2b2b2b; |
||||
|
height: 60px; |
||||
|
border-bottom: 1px solid #000; |
||||
|
} |
||||
|
.page-top .nav{ |
||||
|
list-style: none; |
||||
|
width:100%; |
||||
|
display:block; |
||||
|
float: left; |
||||
|
padding:20px; |
||||
|
font-size: 12px; |
||||
|
} |
||||
|
.page-top .nav li { |
||||
|
position: relative; |
||||
|
display: initial; |
||||
|
padding-right: 20px; |
||||
|
} |
||||
|
.page-top .nav a { |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.page-top .nav a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
.page-top .nav a.current { |
||||
|
color: #f8f8f8; |
||||
|
padding-bottom: 22px; |
||||
|
border-bottom: 1px solid #f8f8f8; |
||||
|
} |
||||
|
|
||||
|
.page-top .information { |
||||
|
float: right; |
||||
|
padding-top: 12px; |
||||
|
padding-right: 20px; |
||||
|
} |
||||
|
.page-top .information .avatar { |
||||
|
float: right; |
||||
|
} |
||||
|
.page-top .information .avatar img { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
} |
||||
|
.page-top .information .back_btn { |
||||
|
float: left; |
||||
|
padding-top: 5px; |
||||
|
margin-right: -10px; |
||||
|
} |
||||
|
.page-top .information .back_btn li { |
||||
|
display: initial; |
||||
|
padding-right: 40px; |
||||
|
} |
||||
|
|
||||
|
.sidebar { |
||||
|
width: 40%; |
||||
|
-webkit-background-size: cover; |
||||
|
background-size: cover; |
||||
|
background-color: #2b2b2b; |
||||
|
height: 100%; |
||||
|
transition: 0.8s; |
||||
|
top: 0; |
||||
|
left: 0; |
||||
|
position: fixed; |
||||
|
z-index: 4; |
||||
|
border-right: 1px solid #000; |
||||
|
} |
||||
|
.sidebar .logo-title { |
||||
|
text-align: center; |
||||
|
padding-top: 240px; |
||||
|
} |
||||
|
.sidebar .logo-title .description { |
||||
|
font-size: 14px; |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.sidebar .logo-title .logo { |
||||
|
margin: 0 auto; |
||||
|
} |
||||
|
.sidebar .logo-title .title h3 { |
||||
|
text-transform: uppercase; |
||||
|
font-size: 2rem; |
||||
|
font-weight: bold; |
||||
|
letter-spacing: 2px; |
||||
|
line-height: 1; |
||||
|
margin: 1em; |
||||
|
} |
||||
|
.sidebar .logo-title .title a { |
||||
|
text-decoration: none; |
||||
|
color: #f8f8f8; |
||||
|
font-size: 2rem; |
||||
|
font-weight: bold; |
||||
|
} |
||||
|
.sidebar .social-links { |
||||
|
list-style: none; |
||||
|
padding: 0; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
} |
||||
|
.sidebar .social-links i { |
||||
|
margin-right: 3px; |
||||
|
} |
||||
|
.sidebar .social-links li { |
||||
|
display: inline; |
||||
|
padding: 0 4px; |
||||
|
line-height: 0; |
||||
|
} |
||||
|
.sidebar .social-links a { |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.sidebar .social-links a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
.post { |
||||
|
background-color: #2b2b2b; |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.post .post-title h1 { |
||||
|
text-transform: uppercase; |
||||
|
font-size: 30px; |
||||
|
letter-spacing: 5px; |
||||
|
line-height: 1; |
||||
|
} |
||||
|
.post .post-title h2 { |
||||
|
text-transform: uppercase; |
||||
|
letter-spacing: 1px; |
||||
|
font-size: 28px; |
||||
|
line-height: 1; |
||||
|
font-weight: 600; |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.post .post-title h3 { |
||||
|
text-transform: uppercase; |
||||
|
letter-spacing: 1px; |
||||
|
line-height: 1; |
||||
|
font-weight: 600; |
||||
|
color: #f8f8f8; |
||||
|
font-size: 22px; |
||||
|
margin: 0; |
||||
|
} |
||||
|
.post .post-title a { |
||||
|
text-decoration: none; |
||||
|
letter-spacing: 1px; |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.post .post-title a:hover { |
||||
|
text-decoration: underline; |
||||
|
} |
||||
|
.post .post-content a { |
||||
|
text-decoration: none; |
||||
|
letter-spacing: 1px; |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.post .post-content a:hover { |
||||
|
color: #2F69B3; |
||||
|
} |
||||
|
.post .post-content h3 { |
||||
|
color: #f8f8f8; |
||||
|
font-size: 22px; |
||||
|
font-weight: 600; |
||||
|
} |
||||
|
.post .post-content h4 { |
||||
|
color: #f8f8f8; |
||||
|
font-size: 16px; |
||||
|
} |
||||
|
.post .post-content img { |
||||
|
max-width: 100%; |
||||
|
} |
||||
|
.post .post-footer { |
||||
|
padding: 0 0 30px 0; |
||||
|
border-bottom: 1px solid #000; |
||||
|
} |
||||
|
.post .post-footer .meta { |
||||
|
max-width: 100%; |
||||
|
height: 25px; |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.post .post-footer .meta .info { |
||||
|
float: left; |
||||
|
font-size: 12px; |
||||
|
margin-bottom: 1em; |
||||
|
} |
||||
|
.post .post-footer .info .separator a { |
||||
|
margin-right: 0.2em; |
||||
|
} |
||||
|
.post .post-footer .meta .info .date { |
||||
|
margin-right: 10px; |
||||
|
} |
||||
|
.info { |
||||
|
margin: 1em; |
||||
|
} |
||||
|
.post .post-footer .meta a { |
||||
|
text-decoration: none; |
||||
|
color: #f8f8f8; |
||||
|
padding-right: 10px; |
||||
|
} |
||||
|
.post .post-footer .meta a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
.post .post-footer .meta i { |
||||
|
margin-right: 6px; |
||||
|
} |
||||
|
.post .post-footer .tags { |
||||
|
padding-bottom: 15px; |
||||
|
font-size: 13px; |
||||
|
} |
||||
|
.post .post-footer .tags ul { |
||||
|
list-style-type: none; |
||||
|
display: inline; |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.post .post-footer .tags ul li { |
||||
|
list-style-type: none; |
||||
|
margin: 0; |
||||
|
padding-right: 5px; |
||||
|
display: inline; |
||||
|
} |
||||
|
.post .post-footer .tags a { |
||||
|
text-decoration: none; |
||||
|
color: #f8f8f8; |
||||
|
font-weight: 400; |
||||
|
} |
||||
|
.post .post-footer .tags a:hover { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
|
||||
|
.pagination { |
||||
|
margin: 30px; |
||||
|
padding: 0px 0 56px 0; |
||||
|
border-bottom: 1px solid #000; |
||||
|
} |
||||
|
.pagination ul { |
||||
|
list-style: none; |
||||
|
margin: 0; |
||||
|
padding: 0; |
||||
|
height: 13px; |
||||
|
} |
||||
|
.pagination ul li { |
||||
|
margin: 0 2px 0 2px; |
||||
|
display: inline; |
||||
|
line-height: 1; |
||||
|
} |
||||
|
.pagination ul li a { |
||||
|
text-decoration: none; |
||||
|
} |
||||
|
.pagination .pre { |
||||
|
float: left; |
||||
|
} |
||||
|
.pagination .next { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.like-reblog-buttons { |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.like-button { |
||||
|
float: right; |
||||
|
padding: 0 0 0 10px; |
||||
|
} |
||||
|
|
||||
|
.reblog-button { |
||||
|
float: right; |
||||
|
padding: 0; |
||||
|
} |
||||
|
|
||||
|
#install-btn { |
||||
|
position: fixed; |
||||
|
bottom: 0px; |
||||
|
right: 6px; |
||||
|
} |
||||
|
|
||||
|
#disqus_thread { |
||||
|
margin: 30px; |
||||
|
border-bottom: 1px solid #f2f2f2; |
||||
|
} |
||||
|
|
||||
|
.footer { |
||||
|
clear: both; |
||||
|
text-align: center; |
||||
|
font-size: 10px; |
||||
|
margin: 0 auto; |
||||
|
bottom: 0; |
||||
|
position: absolute; |
||||
|
width: 100%; |
||||
|
padding-bottom: 20px; |
||||
|
background: #2b2b2b; |
||||
|
} |
||||
|
.footer a { |
||||
|
color: #f8f8f8; |
||||
|
} |
||||
|
.footer a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/*for archive*/ |
||||
|
.archive { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.list-with-title { |
||||
|
font-size: 14px; |
||||
|
margin: 30px; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title li { |
||||
|
list-style-type: none; |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title .listing-title { |
||||
|
font-size: 24px; |
||||
|
color: #f8f8f8; |
||||
|
font-weight: 600; |
||||
|
line-height: 2.2em; |
||||
|
} |
||||
|
.list-with-title .listing { |
||||
|
padding: 0; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post { |
||||
|
padding-bottom: 5px; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post .post-time { |
||||
|
float: right; |
||||
|
color: #C5C5C5; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post a { |
||||
|
color: #8F8F8F; |
||||
|
} |
||||
|
.list-with-title .listing .listing-post a:hover { |
||||
|
color: #4786D6; |
||||
|
} |
||||
|
|
||||
|
/* share */ |
||||
|
.share { |
||||
|
margin: 0px 30px; |
||||
|
display: inline-flex; |
||||
|
} |
||||
|
|
||||
|
.evernote { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #3E3E3E; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.evernote a { |
||||
|
color: #fff; |
||||
|
padding: 11px; |
||||
|
font-size: 12px; |
||||
|
} |
||||
|
.evernote a:hover { |
||||
|
color: #ED6243; |
||||
|
padding: 11px; |
||||
|
} |
||||
|
|
||||
|
.weibo { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #ED6243; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.weibo a { |
||||
|
color: #fff; |
||||
|
padding: 9px; |
||||
|
} |
||||
|
.weibo a:hover { |
||||
|
color: #BD4226; |
||||
|
} |
||||
|
|
||||
|
.twitter { |
||||
|
width: 32px; |
||||
|
height: 32px; |
||||
|
border-radius: 300px; |
||||
|
background-color: #59C0FD; |
||||
|
margin-right: 5px; |
||||
|
} |
||||
|
.twitter a { |
||||
|
color: #fff; |
||||
|
padding: 9px; |
||||
|
} |
||||
|
.twitter a:hover { |
||||
|
color: #4B9ECE; |
||||
|
} |
||||
|
|
||||
|
/* about */ |
||||
|
.about { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.about h3 { |
||||
|
font-size: 22px; |
||||
|
} |
||||
|
|
||||
|
/* links*/ |
||||
|
.links { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
.links h3 { |
||||
|
font-size: 22px; |
||||
|
} |
||||
|
.links a { |
||||
|
cursor: pointer; |
||||
|
} |
||||
|
|
||||
|
/* Comments */ |
||||
|
.comment-count { |
||||
|
color: #666; |
||||
|
} |
||||
|
|
||||
|
.tab-community { |
||||
|
color: #666; |
||||
|
} |
||||
|
|
||||
|
.read_more { |
||||
|
font-size: 14px; |
||||
|
} |
||||
|
|
||||
|
.back-button { |
||||
|
padding-top: 30px; |
||||
|
max-width: 100px; |
||||
|
padding-left: 40px; |
||||
|
float: left; |
||||
|
} |
||||
|
|
||||
|
/* Facebook Comments */ |
||||
|
#fb_comments_container { |
||||
|
margin: 30px; |
||||
|
} |
||||
|
|
||||
|
/* Buttons */ |
||||
|
a.btn { |
||||
|
color: #868686; |
||||
|
font-weight: 400; |
||||
|
} |
||||
|
|
||||
|
.btn { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
outline: 0; |
||||
|
color: rgba(0, 0, 0, 0.44); |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
} |
||||
|
|
||||
|
.btn:hover { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
outline: 0px; |
||||
|
color: #464545; |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid #464545; |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
} |
||||
|
|
||||
|
[role="back"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="home"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="navigation"] { |
||||
|
padding: 0.5em 1.25em; |
||||
|
line-height: 1.666em; |
||||
|
} |
||||
|
|
||||
|
[role="tags"] { |
||||
|
padding: 6px 12px; |
||||
|
} |
||||
|
|
||||
|
/* Menu */ |
||||
|
.menu { |
||||
|
float: right; |
||||
|
padding-top: 30px; |
||||
|
} |
||||
|
.menu .btn-down { |
||||
|
margin: 0px; |
||||
|
} |
||||
|
.menu .btn-down li { |
||||
|
list-style: none; |
||||
|
width: 100px; |
||||
|
} |
||||
|
.menu .btn-down li a { |
||||
|
display: inline-block; |
||||
|
position: relative; |
||||
|
padding: 0.5em 1.25em; |
||||
|
outline: 0; |
||||
|
color: rgba(0, 0, 0, 0.44); |
||||
|
background: transparent; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
margin-top: 5px; |
||||
|
} |
||||
|
.menu .btn-down li a:hover { |
||||
|
position: relative; |
||||
|
padding: 0.5em 1.25em; |
||||
|
outline: 0; |
||||
|
color: #fff; |
||||
|
background: #3CBD10; |
||||
|
font-size: 14px; |
||||
|
text-align: center; |
||||
|
text-decoration: none; |
||||
|
cursor: pointer; |
||||
|
border: 1px solid rgba(0, 0, 0, 0.15); |
||||
|
white-space: nowrap; |
||||
|
font-weight: 400; |
||||
|
font-style: normal; |
||||
|
border-radius: 999em; |
||||
|
margin-top: 5px; |
||||
|
} |
||||
|
.menu .btn-down div { |
||||
|
position: absolute; |
||||
|
visibility: hidden; |
||||
|
width: 100px; |
||||
|
float: right; |
||||
|
} |
||||
|
|
||||
|
.page_404 { |
||||
|
text-align: center; |
||||
|
padding-top: 50px; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
|
||||
|
@media screen and (max-width: 960px) { |
||||
|
.sidebar { |
||||
|
width: 100%; |
||||
|
position: absolute; |
||||
|
border-right: none; |
||||
|
z-index: 1; |
||||
|
} |
||||
|
.sidebar .logo-title { |
||||
|
padding-top: 120px; |
||||
|
} |
||||
|
.sidebar .logo-title .title img { |
||||
|
width: 100px; |
||||
|
} |
||||
|
.sidebar .logo-title .title h3 { |
||||
|
font-size: 20px; |
||||
|
} |
||||
|
|
||||
|
.page-top { |
||||
|
width: 100%; |
||||
|
} |
||||
|
|
||||
|
.post-title h3 { |
||||
|
line-height: 1.6; |
||||
|
} |
||||
|
|
||||
|
.content { |
||||
|
margin-top: 420px; |
||||
|
width: 100%; |
||||
|
z-index: 2; |
||||
|
position: absolute; |
||||
|
} |
||||
|
|
||||
|
.footer { |
||||
|
display: none; |
||||
|
} |
||||
|
|
||||
|
.share { |
||||
|
display: grid; |
||||
|
} |
||||
|
} |
@ -0,0 +1 @@ |
|||||
|
!function(o){var n=[],p=!1,f=!1,u={interval:250,force_process:!1},s=o(window),d=[];function i(){return o(this).is(":appeared")}function c(){return!o(this).data("_appear_triggered")}function l(){f=!1;for(var e=0,r=n.length;e<r;e++){var t=o(n[e]).filter(i);if(t.filter(c).data("_appear_triggered",!0).trigger("appear",[t]),d[e]){var a=d[e].not(t);a.data("_appear_triggered",!1).trigger("disappear",[a])}d[e]=t}}o.expr.pseudos.appeared=o.expr.createPseudo(function(e){return function(e){var r=o(e);if(!r.is(":visible"))return!1;var t=s.scrollLeft(),a=s.scrollTop(),i=r.offset(),n=i.left,p=i.top;return p+r.height()>=a&&p-(r.data("appear-top-offset")||0)<=a+s.height()&&n+r.width()>=t&&n-(r.data("appear-left-offset")||0)<=t+s.width()}}),o.fn.extend({appear:function(e,r){return o.appear(this,r),this}}),o.extend({appear:function(e,r){var t,a=o.extend({},u,r||{});if(!p){function i(){f||(f=!0,setTimeout(l,a.interval))}o(window).scroll(i).resize(i),p=!0}a.force_process&&setTimeout(l,a.interval),t=e,n.push(t),d.push()},force_appear:function(){return!!p&&(l(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery); |
2
themes/anatole/static/js/jquery-migrate.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
2
themes/anatole/static/js/jquery.min.js
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,21 @@ |
|||||
|
# theme.toml template for a Hugo theme |
||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example |
||||
|
|
||||
|
name = "Anatole" |
||||
|
license = "MIT" |
||||
|
licenselink = "https://github.com/lxndrblz/anatole/blob/master/LICENSE" |
||||
|
description = "Anatole is a beautiful minimalist two-column hugo theme based on farbox-theme-Anatole." |
||||
|
homepage = "https://github.com/lxndrblz/anatole/" |
||||
|
tags = ["blog", "responsive", "clean", "minimalist"] |
||||
|
features = ["blog", "seo", "responsive", "mobile", "disqus", "fontawesome", "analytics", "math"] |
||||
|
min_version = "0.53.0" |
||||
|
|
||||
|
[author] |
||||
|
name = "Alexander Bilz" |
||||
|
homepage = "https://alexbilz.com" |
||||
|
|
||||
|
# If porting an existing theme |
||||
|
[original] |
||||
|
author = "Cai Cai" |
||||
|
homepage = "https://www.caicai.me/" |
||||
|
repo = "https://github.com/hi-caicai/farbox-theme-Anatole" |
Reference in new issue