Skip to content

Commit

Permalink
update seo, update page layouts css, update stackbit.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
JugglerX committed Jul 12, 2021
1 parent d49464c commit c00f7a6
Show file tree
Hide file tree
Showing 37 changed files with 148 additions and 293 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source "https://rubygems.org"

gem "jekyll", "~> 4.1"
gem "jekyll"
gem "jekyll-environment-variables"
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,21 @@ This theme has been tested to work with Github Pages (and Github Project Pages).

For example the site https://zerostaticthemes.github.io/jekyll-serif-theme would have `baseurl: "/jekyll-serif-theme/"`

## Other
## License & Credits

### Credits

- Beautiful royalty free Illustrations by Icons8 - https://icons8.com/illustrations/style--pixeltrue
- Stock images by Unsplash - https://unsplash.com/
- Feature icons by Noun Project - https://thenounproject.com/

### License

This theme is open source under the MIT license. Please be respectful 🙏🏽
This theme is open source under the MIT license. Please be respectful 🙏🏽 Leave me as an original author in the LICENSE file if you fork or copy this theme.

* If you fork or copy this theme please leave me as an original author in the LICENSE file on line 3 where I am listed as the author.
* Please don't create ports of this theme without at least asking me. Yes this theme is open-source but I've had several people "port" this theme (with only minor changes) and then advertise the theme as their own. Then they don't update it and it starts to get old and break etc. Now lots of people are finding these old crappy versions of the theme.
> Do not create ports of this theme. Do You can't re-distribute or re-sell this theme as a theme, stock, in a tool or as a template.
### Other Versions

- [Hugo Serif Theme](https://github.com/zerostaticthemes/hugo-serif-theme) (official)
- [Gatsby Serif Theme](https://github.com/zerostaticthemes/gatsby-serif-theme) (official)
30 changes: 12 additions & 18 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,29 @@ baseurl: '/'
permalink: pretty
title: 'Jekyll Serif'

google_analytics_id: ""

homepage:
show_call_box: true

logo:
mobile: "images/logo/logo-mobile.svg"
desktop: "images/logo/logo.svg"
desktop_height: "36px"

footer:
copyright_text: 'Free Jekyll theme by <a class="zerostatic" href="https://www.zerostatic.io">www.zerostatic.io</a>'

seo:
meta_og_title: "Jekyll Serif Theme"
meta_og_type: "website"
meta_og_url: "https://jekyll-serif.netlify.app"
meta_og_image: "https://raw.githubusercontent.com/zerostaticthemes/jekyll-serif-theme/master/screenshots/tn.png"
meta_og_description: "Jekyll Serif is a modern business theme for Hugo. It contains content types for the archetypical business website. The theme is fully responsive, blazing fast and artfully illustrated."
meta_twitter_card: "summary"
meta_twitter_site: "@zerostaticio"
meta_twitter_creator: "@zerostaticio"

collections:
services:
output: true
team:
output: true

defaults:
- scope:
path: ""
type: "services"
values:
layout: "service"
- scope:
path: ""
type: "team"
values:
layout: "team"

sass:
indentWidth: 4
style: compact # possible values: nested expanded compact compressed
Expand Down
4 changes: 4 additions & 0 deletions _data/seo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
google_analytics_id: ""
meta_twitter_site: "@zerostaticio"
meta_twitter_creator: "@zerostaticio"
copyright_text: 'Free Jekyll theme by <a class="zerostatic" href="https://www.zerostatic.io">www.zerostatic.io</a>'
6 changes: 3 additions & 3 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
gtag('js', new Date());
gtag('config', '{{ $gid }}');
</script>
{% elsif site.google_analytics_id %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics_id }}"></script>
{% elsif site.data.seo.google_analytics_id %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.seo.google_analytics_id }}"></script>
<script>
window.dataLayer = window.dataLayer || [];

function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', '{{ site.google_analytics_id }}');
gtag('config', '{{ site.data.seo.google_analytics_id }}');
</script>
{% endif %}
{% endif %}
4 changes: 2 additions & 2 deletions _includes/sub-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
{% if site.data.social %}
{% include social.html %}
{% endif %}
{% if site.footer.copyright_text %}
<div class="copyright">{{ site.footer.copyright_text }}</div>
{% if site.data.seo.copyright_text %}
<div class="copyright">{{ site.data.seo.copyright_text }}</div>
{% endif %}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/contact.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Contact
layout: default
bodyClass: page-contact
bodyClass: "page-contact"
---

<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
Expand Down
26 changes: 14 additions & 12 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>{% if page.title %}{{page.title}}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="{{ '/images/favicon-32x32.svg' | relative_url }}">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap" rel="stylesheet">
<link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet">
{% if page.description %}
<meta name="description" content="{{ page.description }}" />
{% endif %}
<meta property="og:title" content="{{ site.seo.meta_og_title }}" />
<meta property="og:type" content="{{ site.seo.meta_og_type }}" />
<meta property="og:url" content="{{ site.seo.meta_og_url }}" />
<meta property="og:image" content="{{ site.seo.meta_og_image }}" />
<meta property="og:description" content="{{ site.seo.meta_og_description }}" />
<meta name="twitter:card" content="{{ site.seo.meta_twitter_card }}" />
<meta name="twitter:site" content="{{ site.seo.meta_twitter_site }}" />
<meta name="twitter:creator" content="{{ site.seo.meta_twitter_creator }}" />

{% if page.description %}<meta name="description" content="{{ page.description }}" />{% endif %}
{% if page.meta_title %}<meta property="og:title" content="{{ page.meta_title }}"/>{% else %}<meta property="og:title" content="{{ page.title }}"/>{% endif %}
<meta property="og:type" content="website"/>
<meta property="og:url" content="{{ url }}"/>
{% if page.image %}<meta property="og:image" content="{{ page.image | absolute_url }}"/>{% endif %}
{% if page.description %}<meta property="og:description" content="{{ page.description }}"/>{% endif %}
<meta name="twitter:card" content="summary"/>
{% if site.data.seo.meta_twitter_site %}<meta name="twitter:site" content="{{ site.seo.meta_twitter_site }}"/>{% endif %}
{% if site.data.seo.meta_twitter_creator %}<meta name="twitter:creator" content="{{ site.seo.meta_twitter_creator }}"/>{% endif %}

</head>
<body class='page {{page.bodyClass}}'>

<body class='page {{layout.bodyClass}}'>
{% include main-menu-mobile.html %}
<div id="wrapper" class="wrapper">
{% include header.html headerClass='header-extra' %}
Expand Down
5 changes: 2 additions & 3 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
---
title: Jekyll Serif - Jekyll Small Business Theme
layout: default
bodyClass: page-home
bodyClass: "page-home"
---

<div class="intro">
<div class="container">
<div class="row justify-content-start">
<div class="col-12 col-md-7 col-lg-6 order-2 order-md-1">
{{ content }}
{% if site.homepage.show_call_box %}
{% if page.show_call_box %}
{% include call.html show_button=true %}
{% endif %}
</div>
Expand Down
1 change: 1 addition & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default
bodyClass: "page-basic"
---

<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
Expand Down
1 change: 1 addition & 0 deletions _layouts/service.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default
bodyClass: "page-service"
---

<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/services.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
bodyClass: page-services-list
bodyClass: "page-services"
---

<div class="intro">
Expand Down
1 change: 1 addition & 0 deletions _layouts/team.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
layout: default
bodyClass: "page-team"
---

<div class="container pb-6 pt-6 pt-md-10 pb-md-10">
Expand Down
2 changes: 1 addition & 1 deletion _layouts/teams.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
bodyClass: page-team-list
bodyClass: "page-teams"
---

<div class="intro">
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.page-services-single {
.page-service {
.content {
> p {
&:first-of-type {
Expand Down
52 changes: 52 additions & 0 deletions _sass/pages/_page-teams.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
.page-teams {
.team-summary {
display: flex;
flex-wrap: wrap;
flex-direction: row;
.team-image {
height: 60px;
width: 60px;
margin-right: 10px;
border-radius: 50%;
overflow: hidden;
img {
width: 60px;
}
}
.team-meta {
flex: 1;
h2 {
margin: 0;
font-size: 22px;
font-weight: normal;
}
p {
color: $black;
text-transform: uppercase;
margin: 0;
font-size: 12px;
font-weight: 500;
}
}
.team-content {
margin-top: 20px;
flex: 1 0 100%;
}
}

.team-summary-large {
background-color: $white-offset;
padding: 30px;
border-radius: 3px;
.team-image {
height: 90px;
width: 90px;
margin-right: 20px;
border-radius: 50%;
overflow: hidden;
img {
width: 90px;
}
}
}
}
50 changes: 0 additions & 50 deletions _sass/pages/team/_team-summary.scss

This file was deleted.

1 change: 0 additions & 1 deletion _services/accounting.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Accounting"
date: 2018-11-18T12:33:46+10:00
featured: true
weight: 1
layout: service
---

Financial accounting (or financial accountancy) is the field of accounting concerned with the **summary, analysis and reporting** of financial transactions related to a business.
Expand Down
1 change: 0 additions & 1 deletion _services/business-advisory.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Business Advisory"
date: 2018-11-28T15:14:39+10:00
featured: true
weight: 2
layout: service
---

Lorem markdownum, dictis umbrosum dextrum, Lelegeia quamquam distantes pares
Expand Down
1 change: 0 additions & 1 deletion _services/business-sales.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Business Sales"
date: 2018-11-28T15:15:26+10:00
featured: true
weight: 3
layout: service
---

Cyanee nec pedicis positi. Esse et diem forte quoque et ieiunia
Expand Down
1 change: 0 additions & 1 deletion _services/mergers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: "Mergers"
date: 2018-11-28T15:15:34+10:00
featured: true
weight: 4
layout: service
---

Lorem markdownum aequalis strigis. Saetigeri iubeas, vultu huic alvum nondum
Expand Down
1 change: 0 additions & 1 deletion _team/mike-vance.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ image: 'images/team/joseph-gonzalez-399972-unsplash.jpg'
jobtitle: 'Art Director'
linkedinurl: ""
weight: 3
layout: team
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Tortor at risus viverra adipiscing at in.
1 change: 0 additions & 1 deletion _team/robert-johnson.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ image: 'images/team/vince-fleming-613817-unsplash.jpg'
jobtitle: 'Developer'
linkedinurl: "https://www.linkedin.com/"
weight: 3
layout: team
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Tortor at risus viverra adipiscing at in.
1 change: 0 additions & 1 deletion _team/sage-kirk.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ jobtitle: "Accounting Partner"
linkedinurl: "https://www.linkedin.com/example2"
promoted: true
weight: 2
layout: team
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Tortor at risus viverra adipiscing at in.
1 change: 0 additions & 1 deletion _team/susan-shelton.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ draft: false
image: 'images/team/cristian-newman-94319-unsplash.jpg'
jobtitle: 'Developer'
weight: 5
layout: team
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Bibendum arcu vitae elementum curabitur vitae nunc sed. Tortor at risus viverra adipiscing at in.
Loading

0 comments on commit c00f7a6

Please sign in to comment.