Skip to content
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

Changes to make a live demo with gh-pages #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog/
baseurl: "/Strata-Jekyll-Theme" # the subpath of your site, e.g. /blog/
url: "http://yourdomain.com" # the base hostname & protocol for your site

# Social links.
Expand Down
20 changes: 10 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="/js/jquery.min.js"></script>
<script src="/js/jquery.poptrox.min.js"></script>
<script src="/js/skel.min.js"></script>
<script src="/js/init.js"></script>
<script src="{{ site.baseurl }}/js/jquery.min.js"></script>
<script src="{{ site.baseurl }}/js/jquery.poptrox.min.js"></script>
<script src="{{ site.baseurl }}/js/skel.min.js"></script>
<script src="{{ site.baseurl }}/js/init.js"></script>
<noscript>
<link rel="stylesheet" href="/css/skel.css" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/style-xlarge.css" />
<link rel="stylesheet" href="{{ site.baseurl }}/css/skel.css" />
<link rel="stylesheet" href="{{ site.baseurl }}/css/style.css" />
<link rel="stylesheet" href="{{ site.baseurl }}/css/style-xlarge.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="/css/ie/v8.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="{{ site.baseurl }}/css/ie/v8.css" /><![endif]-->
</head>

<body id="top">

<header id="header">
<a href="#" class="image avatar"><img src="/images/avatar.jpg" alt="" /></a>
<h1><strong>I am <a href="/">Strata</a></strong>, a super simple<br />
<a href="#" class="image avatar"><img src="{{ site.baseurl }}/images/avatar.jpg" alt="" /></a>
<h1><strong>I am <a href="{{ site.baseurl }}/">Strata</a></strong>, a super simple<br />
responsive site template freebie<br />
crafted by <a href="http://html5up.net">HTML5 UP</a>.</h1>
</header>
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-01-30-Lorem.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
---
<img src="/images/fulls/02.jpg" class="fit image">
<img src="{{ site.baseurl }}/images/fulls/02.jpg" class="fit image">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi cursus fringilla dui. Donec laoreet maximus elit. Mauris ullamcorper condimentum lobortis. Donec maximus, mi vitae iaculis placerat, ligula mi maximus lectus, ac varius mi nulla id neque. Quisque porta eros nisi, eu fringilla urna dictum vitae.

Vestibulum id metus eu nisl sodales consectetur. Phasellus et ultrices lacus.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-02-06-welcome-to-jekyll.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ date: 2015-02-06T14:37:44.000Z
categories: update
---

<img src="/images/fulls/01.jpg" class="fit image"> Suspendisse pellentesque mollis turpis, vitae ullamcorper arcu sagittis in. Pellentesque viverra, diam vel ultrices lobortis, urna diam efficitur diam, non ultricies enim massa et neque. Mauris lacinia purus nibh, ac consequat mi molestie ac. Suspendisse at sapien ac magna posuere imperdiet eget id nisi.
<img src="{{ site.baseurl }}/images/fulls/01.jpg" class="fit image"> Suspendisse pellentesque mollis turpis, vitae ullamcorper arcu sagittis in. Pellentesque viverra, diam vel ultrices lobortis, urna diam efficitur diam, non ultricies enim massa et neque. Mauris lacinia purus nibh, ac consequat mi molestie ac. Suspendisse at sapien ac magna posuere imperdiet eget id nisi.

Nulla facilisi. Pellentesque id magna eu sapien consectetur pulvinar nec eget massa. Nunc ut volutpat felis. Vestibulum pharetra ligula vel mattis aliquam. Etiam tempor vitae nulla nec euismod. Vivamus eget justo libero. Curabitur dictum, turpis vel porttitor semper, elit turpis vehicula nibh, quis mollis metus tortor at magna.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2015-02-17-curabitur.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
---
<img src="/images/fulls/03.jpg" class="fit image"> Curabitur orci turpis, egestas placerat velit eget, dictum pellentesque ipsum. Suspendisse potenti. Suspendisse ac maximus arcu. Sed ut mattis ex. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum eleifend odio vitae varius aliquam. Quisque ac pretium nisi. Curabitur tempus urna ac ultrices commodo.
<img src="{{ site.baseurl }}/images/fulls/03.jpg" class="fit image"> Curabitur orci turpis, egestas placerat velit eget, dictum pellentesque ipsum. Suspendisse potenti. Suspendisse ac maximus arcu. Sed ut mattis ex. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum eleifend odio vitae varius aliquam. Quisque ac pretium nisi. Curabitur tempus urna ac ultrices commodo.

Curabitur iaculis est at mattis mattis. Aliquam erat volutpat. Etiam vitae cursus quam. Nunc ultricies nunc non lorem fringilla cursus. Etiam dapibus libero ac turpis accumsan pulvinar. Sed auctor velit eget mi consequat bibendum. Aliquam interdum purus eget metus pretium ullamcorper.

Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ <h2>{{ post.title }}</h2>

<article class="{% cycle '6u', '6u$' %} 12u(small)">
<header>
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section>
{{ post.excerpt }}
</section>
<footer>
<ul class="actions">
<li><a href="{{ post.url }}" class="button">Read More</a></li>
<li><a href="{{ site.baseurl }}{{ post.url }}" class="button">Read More</a></li>
</ul>
</footer>
</article>
Expand Down
14 changes: 8 additions & 6 deletions js/init.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
---
---
/*
Strata by HTML5 UP
html5up.net | @n33co
Expand All @@ -20,12 +22,12 @@
reset: 'full',
containers: '100%',
breakpoints: {
global: { href: '/css/style.css', grid: { gutters: ['2.5em', 0] } },
xlarge: { media: '(max-width: 1800px)', href: '/css/style-xlarge.css' },
large: { media: '(max-width: 1280px)', href: '/css/style-large.css', grid: { gutters: ['2em', 0] } },
medium: { media: '(max-width: 980px)', href: '/css/style-medium.css'},
small: { media: '(max-width: 736px)', href: '/css/style-small.css', grid: { gutters: ['1.5em', 0] }, viewport: { scalable: false } },
xsmall: { media: '(max-width: 480px)', href: '/css/style-xsmall.css' }
global: { href: '{{ site.baseurl }}/css/style.css', grid: { gutters: ['2.5em', 0] } },
xlarge: { media: '(max-width: 1800px)', href: '{{ site.baseurl }}/css/style-xlarge.css' },
large: { media: '(max-width: 1280px)', href: '{{ site.baseurl }}/css/style-large.css', grid: { gutters: ['2em', 0] } },
medium: { media: '(max-width: 980px)', href: '{{ site.baseurl }}/css/style-medium.css'},
small: { media: '(max-width: 736px)', href: '{{ site.baseurl }}/css/style-small.css', grid: { gutters: ['1.5em', 0] }, viewport: { scalable: false } },
xsmall: { media: '(max-width: 480px)', href: '{{ site.baseurl }}/css/style-xsmall.css' }
}
});

Expand Down