Skip to content

Commit

Permalink
Added layout default & home
Browse files Browse the repository at this point in the history
  • Loading branch information
cetinajero committed Jan 4, 2018
1 parent a946625 commit ba9f2fc
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: > # this means to ignore newlines until "baseurl:"
# Build settings
markdown: kramdown
remote_theme: jekyll-theme-marketing
remote_theme: cetinajero/jekyll-theme-marketing
plugins:
- jekyll-remote-theme
exclude:
Expand Down
Empty file added _includes/body/footer.html
Empty file.
Empty file added _includes/body/header.html
Empty file.
Empty file added _includes/body/scripts.html
Empty file.
Empty file.
Empty file added _includes/head/fonts.html
Empty file.
Empty file.
Empty file added _includes/head/meta.html
Empty file.
Empty file added _includes/head/scripts.html
Empty file.
Empty file added _includes/head/style.html
Empty file.
33 changes: 31 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
<!-- Jekyll theme: https://github.com/cetinajero/jekyll-theme-marketing -->
{{ content }}
<!DOCTYPE html>
<html lang="{{ page.lang | slice: 0,2 | default: site.lang | slice: 0,2 | default: "en" }}" dir="ltr">
<!-- Jekyll theme: https://github.com/cetinajero/jekyll-theme-marketing -->

<head>

{% seo %}
{% include head/meta.html %}
{% include head/scripts.html %}
{% if site.original %} {% include head/firebase/sdk.html %} {% endif %}
{% include head/fonts.html %}
{% include head/style.html %}
{% include head/google-analytics.html %}

</head>

<body id="marketing-theme" class="fixed-header boxed">

<div class="page-box">
<div class="page-box-content">
{% include body/header.html %}
{{ content }}
</div>
</div>

{% include body/footer.html %}
{% include body/scripts.html %}

</body>

</html>
4 changes: 3 additions & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
layout: default
---
{{ content }}
<div class="home">
{{ content }}
</div>

0 comments on commit ba9f2fc

Please sign in to comment.