-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add page margins and social icons in footer #24
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late response, and thanks for the contribution! Only few comments.
@@ -16,7 +16,7 @@ | |||
title: whiteglass theme | |||
author: Yous | |||
description: Minimal, responsive Jekyll theme for hackers. | |||
baseurl: "/whiteglass" # the subpath of your site, e.g. /blog | |||
baseurl: "/" # the subpath of your site, e.g. /blog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is for the demo site of this theme, so please revert the change.
@@ -1,2 +1,3 @@ | |||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |||
<link href="https://fonts.googleapis.com/css?family=Bitter:400,400i,700" rel="stylesheet"> | |||
<script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this can be included only when site.footer_links
exists. Also the script has been updated:
<script src="https://use.fontawesome.com/releases/v5.0.12/js/all.js"></script> | |
{% if site.footer_links %}<script defer src="https://use.fontawesome.com/releases/v5.8.2/js/all.js" integrity="sha384-DJ25uNYET2XCl5ZF++U8eNxPWqcKohUUBUpKGlNLMchM7q4Wjg2CUpjHLaL8yYPH" crossorigin="anonymous"></script>{% endif %} |
<title>{{ title }}</title> | ||
|
||
<title> | ||
{% if page.title == "Home" %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The index.html doesn't have page.title
. So the logic would be:
<title>
{% if page.title %}
{{ page.title | escape }} · {{ site.title | escape }}
{% else %}
{{ site.title | escape }}
{% endif %}
</title>
@@ -3,6 +3,7 @@ | |||
*/ | |||
.site-header { | |||
min-height: 56px; | |||
border-bottom: 1px solid #eee; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, but I removed the borders intentionally.
/** | ||
* Site footer | ||
*/ | ||
.site-footer { | ||
padding: $spacing-unit 0; | ||
padding: 15px 0 30px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the padding looks okay when the pagination is enabled.
@@ -49,17 +50,31 @@ | |||
} | |||
|
|||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert this.
.social-icon { | ||
display: inline-block; | ||
padding: 0 0.25em; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
font-size: 15px; | ||
color: $grey-color; | ||
text-align: center; | ||
border-top: 1px solid #eee; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the border please.
.bundle | ||
.sass-cache | ||
_sass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The repository has _sass directory for the theme.
This feature update includes the following:
Before accepting any of these changes, you can see them in action on my personal blog at https://thedeskofbrad.ca
Thanks for the great template.