deploy: 848f6129ec
This commit is contained in:
parent
e9ef4a7cfa
commit
de11482928
5
404.html
5
404.html
|
@ -1 +1,4 @@
|
|||
<!doctype html><html><meta http-equiv=content-type content="text/html" charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>404 Page not found</title><link rel="shortcut icon" href=https://janraasch.github.io/hugo-scroll/images/favicon.png type=image/png><meta name=description content="Nutrition Coach & Chef Consultant"><meta name=keywords content="some,keywords,for,seo,you,know,google,duckduckgo,and,such"><meta name=referrer content="no-referrer-when-downgrade"><meta name=HandheldFriendly content="True"><meta name=MobileOptimized content="320"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/css/screen.css><link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700" rel=stylesheet type=text/css><link href="https://fonts.googleapis.com/css?family=Oswald:400,300,700|Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800|Roboto+Slab:400,100,300,700" rel=stylesheet type=text/css><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/font-awesome/css/font-awesome.min.css><meta property="og:title" content="404 Page not found"><meta property="og:description" content="Nutrition Coach & Chef Consultant"><meta property="og:type" content="website"><meta property="og:url" content="https://janraasch.github.io/hugo-scroll/404.html"><meta property="og:image" content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta property="og:site_name" content="Jane Doe - Nutrition Coach & Chef Consultant"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="Nutrition Coach & Chef Consultant"><meta itemprop=name content="404 Page not found"><meta itemprop=description content="Nutrition Coach & Chef Consultant"><link rel=apple-touch-icon sizes=180x180 href=https://janraasch.github.io/hugo-scroll/images/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=https://janraasch.github.io/hugo-scroll/images/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=https://janraasch.github.io/hugo-scroll/images/favicon-16x16.png><body><main class="content page-template 404" role=main><article class="post page"><header class=post-header><a id=blog-logo href=/hugo-scroll/>Jane Doe - Nutrition Coach & Chef Consultant</a></header><h1 class=post-title>404 - Page Not Found</h1><section class=post-content>Give it another try: <a href=/hugo-scroll/ alt=Homepage>Back to the homepage</a>.</section></article></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template built with ♥️ by <a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
||||
<!doctype html><html><meta http-equiv=content-type content="text/html" charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>404 Page not found</title><link rel="shortcut icon" href=https://janraasch.github.io/hugo-scroll/images/favicon.png type=image/png><meta name=description content="Nutrition Coach & Chef Consultant"><meta name=keywords content="some,keywords,for,seo,you,know,google,duckduckgo,and,such"><meta name=referrer content="no-referrer-when-downgrade"><meta name=HandheldFriendly content="True"><meta name=MobileOptimized content="320"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/css/screen.css><link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700" rel=stylesheet type=text/css><link href="https://fonts.googleapis.com/css?family=Oswald:400,300,700|Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800|Roboto+Slab:400,100,300,700" rel=stylesheet type=text/css><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/font-awesome/css/font-awesome.min.css><meta property="og:title" content="404 Page not found"><meta property="og:description" content="Nutrition Coach & Chef Consultant"><meta property="og:type" content="website"><meta property="og:url" content="https://janraasch.github.io/hugo-scroll/404.html"><meta property="og:image" content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta property="og:site_name" content="Jane Doe - Nutrition Coach & Chef Consultant"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta name=twitter:title content="404 Page not found"><meta name=twitter:description content="Nutrition Coach & Chef Consultant"><meta itemprop=name content="404 Page not found"><meta itemprop=description content="Nutrition Coach & Chef Consultant"><link rel=apple-touch-icon sizes=180x180 href=https://janraasch.github.io/hugo-scroll/images/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=https://janraasch.github.io/hugo-scroll/images/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=https://janraasch.github.io/hugo-scroll/images/favicon-16x16.png><body><main class="content page-template 404" role=main><article class="post page"><header class=post-header><a id=blog-logo href=/hugo-scroll/>Jane Doe - Nutrition Coach & Chef Consultant</a></header><h1 class=post-title>404 - Page Not Found</h1><section class=post-content>Give it another try:
|
||||
<a href=/hugo-scroll/ alt=Homepage>Back to the homepage</a>.</section></article></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template
|
||||
built with ♥️ by
|
||||
<a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
1818
css/screen.css
1818
css/screen.css
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,6 @@
|
|||
<!doctype html><html><meta http-equiv=content-type content="text/html" charset=utf-8><meta http-equiv=x-ua-compatible content="IE=edge,chrome=1"><title>Jane Doe - Nutrition Coach & Chef Consultant</title><link rel="shortcut icon" href=https://janraasch.github.io/hugo-scroll/images/favicon.png type=image/png><meta name=description content="Nutrition Coach & Chef Consultant"><meta name=keywords content="some,keywords,for,seo,you,know,google,duckduckgo,and,such"><meta name=referrer content="no-referrer-when-downgrade"><meta name=HandheldFriendly content="True"><meta name=MobileOptimized content="320"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/css/screen.css><link href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700" rel=stylesheet type=text/css><link href="https://fonts.googleapis.com/css?family=Oswald:400,300,700|Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800|Roboto+Slab:400,100,300,700" rel=stylesheet type=text/css><link rel=stylesheet href=https://janraasch.github.io/hugo-scroll/font-awesome/css/font-awesome.min.css><meta property="og:title" content><meta property="og:description" content="Nutrition Coach & Chef Consultant"><meta property="og:type" content="website"><meta property="og:url" content="https://janraasch.github.io/hugo-scroll/"><meta property="og:image" content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta property="og:site_name" content="Jane Doe - Nutrition Coach & Chef Consultant"><meta name=twitter:card content="summary_large_image"><meta name=twitter:image content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta name=twitter:title content><meta name=twitter:description content="Nutrition Coach & Chef Consultant"><meta itemprop=name content><meta itemprop=description content="Nutrition Coach & Chef Consultant"><link rel=apple-touch-icon sizes=180x180 href=https://janraasch.github.io/hugo-scroll/images/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=https://janraasch.github.io/hugo-scroll/images/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=https://janraasch.github.io/hugo-scroll/images/favicon-16x16.png><body><header id=site-head style=background-image:url(images/cover-image.jpg)><div class=vertical><div id=site-head-content class=inner><h1 class=blog-title>Jane Doe</h1><h2 class=blog-description>Hi there , I am a Nutrition Coach & Chef Consultant</h2><a class="btn site-menu" data-title-anchor=services>Services</a>
|
||||
<a class="btn site-menu" data-title-anchor=about-me>About Me</a>
|
||||
<a class="btn site-menu" data-title-anchor=contact>Contact</a>
|
||||
<i id=header-arrow class="fa fa-angle-down"></i></div></div></header><main class=content role=main><div class=fixed-nav></div><div class=post-holder><article id=welcome class="post first"><header class=post-header><h2 class=post-title>Welcome</h2></header><section class=post-content><p>Hi there. This section will not show up in the header menu above. Other than that, there’s really not much to see here. I did however append some generated »Lorem ipsum«-paragraphs for you. Enjoy!</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vehicula turpis nec arcu cursus, ac faucibus felis tempor. Donec molestie arcu eu pretium accumsan. Phasellus urna nisi, volutpat pharetra orci vel, feugiat sollicitudin diam. Phasellus dolor tortor, feugiat a ipsum id, gravida volutpat urna. Nam dictum nulla ac nisi aliquam ultricies. Nam tempus eget lorem vitae vulputate.</p><p>Nulla aliquet, nisl pulvinar fermentum ultricies, turpis purus ultricies lorem, ut faucibus arcu nisl in tellus. Integer eu augue auctor, fringilla nunc ut, finibus eros. Curabitur est lectus, ultricies id blandit at, malesuada et ipsum. Suspendisse potenti. Quisque euismod sapien arcu, vel sollicitudin ipsum dignissim nec.</p></section></article><div class=post-after></div></div><div class=post-holder><article id=services class=post><header class=post-header><h2 class=post-title>Services</h2></header><section class=post-content><p>That is the important part, right? You want to know what I can do for you. This is why I put this right up there into the header menu of the website.</p><hr><h2 id=nutrition-coaching>Nutrition Coaching</h2><p>This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first.</p><p><img src=images/selective-focus-photography-of-pasta-with-tomato-and-basil-1279330.jpg alt="Nice picture to make you pay me ;-)"></p><p>Wow. That was nice, right? Well, call me and let us talk.</p><hr><h2 id=chef-consulting>Chef Consulting</h2><p>Did you see the picture above? I can show you how to go from</p><p><img src=images/board-bunch-cooking-food-349609.jpg alt="Let us get started on a clean slate"></p><p>to</p><p><img src=images/woman-pouring-juice-on-glass-3184192.jpg alt="Let us get started on a clean slate"></p><p>in estimated seconds.</p><hr><p>Want to learn more about my services?</p><p>Check out <a href=services>this page</a> I created. It carries a lot more details…</p></section></article><div class=post-after></div></div><div class=post-holder><article id=about-me class=post><header class=post-header><h2 class=post-title>About Me</h2></header><section class=post-content><p><img src=images/happy-ethnic-woman-sitting-at-table-with-laptop-3769021.jpg alt="Jane Doe"></p><h5 id=professionel-experience>Professionel Experience</h5><p>A lot, but let us get into the details with some lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat lectus et magna placerat tincidunt. Nullam sit amet lectus vitae elit mollis rhoncus non eget lorem. Ut tempor sed dui quis volutpat.</p><p>In ultrices, est at lobortis pretium, magna quam mollis neque, id viverra odio est sit amet lorem. Mauris efficitur nunc vel lectus porttitor, sit amet sodales quam eleifend. Duis et felis ut mauris dignissim efficitur. Aliquam non sem eros. Integer elit ante, bibendum id hendrerit vitae, vestibulum eget risus. Nunc efficitur nisl in iaculis vestibulum.</p></section></article><div class=post-after></div></div><div class=post-holder><article id=contact class="post last"><header class=post-header><h2 class=post-title>Contact</h2></header><section class=post-content><p>E-Mail: <a href=mailto:your-email@your-domain.com>mail@janedoe.com</a></p><p>Tel.: <a href=tel:+491111555555>+49 1111 555555</a></p><p>Let us get in touch!</p></section></article><div class=post-after></div></div></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template built with ♥️ by <a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
||||
<i id=header-arrow class="fa fa-angle-down"></i></div></div></header><main class=content role=main><div class=fixed-nav></div><div class=post-holder><article id=welcome class="post first"><header class=post-header><h2 class=post-title>Welcome</h2></header><section class=post-content><p>Hi there. This section will not show up in the header menu above. Other than that, there’s really not much to see here. I did however append some generated »Lorem ipsum«-paragraphs for you. Enjoy!</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vehicula turpis nec arcu cursus, ac faucibus felis tempor. Donec molestie arcu eu pretium accumsan. Phasellus urna nisi, volutpat pharetra orci vel, feugiat sollicitudin diam. Phasellus dolor tortor, feugiat a ipsum id, gravida volutpat urna. Nam dictum nulla ac nisi aliquam ultricies. Nam tempus eget lorem vitae vulputate.</p><p>Nulla aliquet, nisl pulvinar fermentum ultricies, turpis purus ultricies lorem, ut faucibus arcu nisl in tellus. Integer eu augue auctor, fringilla nunc ut, finibus eros. Curabitur est lectus, ultricies id blandit at, malesuada et ipsum. Suspendisse potenti. Quisque euismod sapien arcu, vel sollicitudin ipsum dignissim nec.</p></section></article><div class=post-after></div></div><div class=post-holder><article id=services class=post><header class=post-header><h2 class=post-title>Services</h2></header><section class=post-content><p>That is the important part, right? You want to know what I can do for you. This is why I put this right up there into the header menu of the website.</p><hr><h2 id=nutrition-coaching>Nutrition Coaching</h2><p>This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first.</p><p><img src=images/selective-focus-photography-of-pasta-with-tomato-and-basil-1279330.jpg alt="Nice picture to make you pay me ;-)"></p><p>Wow. That was nice, right? Well, call me and let us talk.</p><hr><h2 id=chef-consulting>Chef Consulting</h2><p>Did you see the picture above? I can show you how to go from</p><p><img src=images/board-bunch-cooking-food-349609.jpg alt="Let us get started on a clean slate"></p><p>to</p><p><img src=images/woman-pouring-juice-on-glass-3184192.jpg alt="Let us get started on a clean slate"></p><p>in estimated seconds.</p><hr><p>Want to learn more about my services?</p><p>Check out <a href=services>this page</a> I created. It carries a lot more details…</p></section></article><div class=post-after></div></div><div class=post-holder><article id=about-me class=post><header class=post-header><h2 class=post-title>About Me</h2></header><section class=post-content><p><img src=images/happy-ethnic-woman-sitting-at-table-with-laptop-3769021.jpg alt="Jane Doe"></p><h5 id=professionel-experience>Professionel Experience</h5><p>A lot, but let us get into the details with some lorem ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat lectus et magna placerat tincidunt. Nullam sit amet lectus vitae elit mollis rhoncus non eget lorem. Ut tempor sed dui quis volutpat.</p><p>In ultrices, est at lobortis pretium, magna quam mollis neque, id viverra odio est sit amet lorem. Mauris efficitur nunc vel lectus porttitor, sit amet sodales quam eleifend. Duis et felis ut mauris dignissim efficitur. Aliquam non sem eros. Integer elit ante, bibendum id hendrerit vitae, vestibulum eget risus. Nunc efficitur nisl in iaculis vestibulum.</p></section></article><div class=post-after></div></div><div class=post-holder><article id=contact class="post last"><header class=post-header><h2 class=post-title>Contact</h2></header><section class=post-content><p>E-Mail: <a href=mailto:your-email@your-domain.com>mail@janedoe.com</a></p><p>Tel.: <a href=tel:+491111555555>+49 1111 555555</a></p><p>Let us get in touch!</p></section></article><div class=post-after></div></div></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template
|
||||
built with ♥️ by
|
||||
<a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
507
js/icons.js
507
js/icons.js
File diff suppressed because one or more lines are too long
216
js/index.js
216
js/index.js
|
@ -2,121 +2,133 @@
|
|||
* Main JS file for GhostScroll behaviours
|
||||
*/
|
||||
|
||||
var $post = $('.post');
|
||||
var $first = $('.post.first');
|
||||
var $last = $('.post.last');
|
||||
var $fnav = $('.fixed-nav');
|
||||
var $postholder = $('.post-holder');
|
||||
var $postafter = $('.post-after');
|
||||
var $sitehead = $('#site-head');
|
||||
var $post = $(".post");
|
||||
var $first = $(".post.first");
|
||||
var $last = $(".post.last");
|
||||
var $fnav = $(".fixed-nav");
|
||||
var $postholder = $(".post-holder");
|
||||
var $postafter = $(".post-after");
|
||||
var $sitehead = $("#site-head");
|
||||
|
||||
/* Globals jQuery, document */
|
||||
(function ($) {
|
||||
"use strict";
|
||||
function srcTo (el) {
|
||||
$('html, body').animate({
|
||||
scrollTop: el.offset().top
|
||||
}, 1000);
|
||||
}
|
||||
function srcToAnchorWithTitle (str) {
|
||||
var $el = $('#' + str);
|
||||
if ($el.length) {
|
||||
srcTo($el);
|
||||
}
|
||||
}
|
||||
$(document).ready(function(){
|
||||
"use strict";
|
||||
function srcTo(el) {
|
||||
$("html, body").animate(
|
||||
{
|
||||
scrollTop: el.offset().top,
|
||||
},
|
||||
1000
|
||||
);
|
||||
}
|
||||
function srcToAnchorWithTitle(str) {
|
||||
var $el = $("#" + str);
|
||||
if ($el.length) {
|
||||
srcTo($el);
|
||||
}
|
||||
}
|
||||
$(document).ready(function () {
|
||||
$postholder.each(function (e) {
|
||||
if (e % 2 != 0) $(this).addClass("odd");
|
||||
});
|
||||
|
||||
$postholder.each(function (e) {
|
||||
if(e % 2 != 0)
|
||||
$(this).addClass("odd");
|
||||
});
|
||||
$postafter.each(function (e) {
|
||||
var bg = $(this).parent().css("background-color");
|
||||
$(this).css("border-top-color", bg);
|
||||
|
||||
$postafter.each(function (e) {
|
||||
var bg = $(this).parent().css('background-color')
|
||||
$(this).css('border-top-color', bg);
|
||||
if (e % 2 == 0) {
|
||||
$(this).addClass("even");
|
||||
}
|
||||
});
|
||||
|
||||
if (e % 2 == 0) {
|
||||
$(this).addClass("even");
|
||||
}
|
||||
});
|
||||
$("a.btn.site-menu").click(function (e) {
|
||||
srcToAnchorWithTitle($(e.target).data("title-anchor"));
|
||||
});
|
||||
$("#header-arrow").click(function () {
|
||||
srcTo($first);
|
||||
});
|
||||
|
||||
$('a.btn.site-menu').click(function (e) {
|
||||
srcToAnchorWithTitle($(e.target).data('title-anchor'));
|
||||
});
|
||||
$('#header-arrow').click(function () {
|
||||
srcTo($first);
|
||||
});
|
||||
$(".post-title").each(function () {
|
||||
var t = $(this).text();
|
||||
var index = $(this).parents(".post-holder").index();
|
||||
$fnav.append(
|
||||
"<a class='fn-item' item_index='" + index + "'>" + t + "</a>"
|
||||
);
|
||||
$(".fn-item").click(function () {
|
||||
var i = $(this).attr("item_index");
|
||||
var s = $(".post[item_index='" + i + "']");
|
||||
|
||||
$('.post-title').each(function () {
|
||||
var t = $(this).text();
|
||||
var index = $(this).parents('.post-holder').index();
|
||||
$fnav.append("<a class='fn-item' item_index='"+index+"'>"+t+"</a>")
|
||||
$('.fn-item').click(function () {
|
||||
var i = $(this).attr('item_index');
|
||||
var s = $(".post[item_index='"+i+"']");
|
||||
$("html, body").animate(
|
||||
{
|
||||
scrollTop: s.offset().top,
|
||||
},
|
||||
400
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
$('html, body').animate({
|
||||
scrollTop: s.offset().top
|
||||
}, 400);
|
||||
$(".post.last").next(".post-after").hide();
|
||||
if ($sitehead.length) {
|
||||
$(window).scroll(function () {
|
||||
var w = $(window).scrollTop();
|
||||
var g = $sitehead.offset().top;
|
||||
var h = $sitehead.offset().top + $sitehead.height() - 100;
|
||||
|
||||
});
|
||||
});
|
||||
if (w >= g && w <= h) {
|
||||
$(".fixed-nav").fadeOut("fast");
|
||||
} else if ($(window).width() > 500) {
|
||||
$(".fixed-nav").fadeIn("fast");
|
||||
}
|
||||
|
||||
$('.post.last').next('.post-after').hide();
|
||||
if($sitehead.length) {
|
||||
$(window).scroll( function () {
|
||||
var w = $(window).scrollTop();
|
||||
var g = $sitehead.offset().top;
|
||||
var h = $sitehead.offset().top + $sitehead.height()-100;
|
||||
$post.each(function () {
|
||||
var f = $(this).offset().top;
|
||||
var b = $(this).offset().top + $(this).height();
|
||||
var t = $(this).parent(".post-holder").index();
|
||||
var i = $(".fn-item[item_index='" + t + "']");
|
||||
var a = $(this)
|
||||
.parent(".post-holder")
|
||||
.prev(".post-holder")
|
||||
.find(".post-after");
|
||||
|
||||
if(w >= g && w<=h) {
|
||||
$('.fixed-nav').fadeOut('fast');
|
||||
} else if($(window).width()>500) {
|
||||
$('.fixed-nav').fadeIn('fast');
|
||||
}
|
||||
$(this).attr("item_index", t);
|
||||
|
||||
$post.each(function () {
|
||||
var f = $(this).offset().top;
|
||||
var b = $(this).offset().top + $(this).height();
|
||||
var t = $(this).parent('.post-holder').index();
|
||||
var i = $(".fn-item[item_index='"+t+"']");
|
||||
var a = $(this).parent('.post-holder').prev('.post-holder').find('.post-after');
|
||||
if (w >= f && w <= b) {
|
||||
i.addClass("active");
|
||||
a.fadeOut("slow");
|
||||
} else {
|
||||
i.removeClass("active");
|
||||
a.fadeIn("slow");
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
$(this).attr('item_index', t);
|
||||
$("ul li").before(
|
||||
'<span class="bult fa fa-asterisk icon-asterisk"></span>'
|
||||
);
|
||||
$("blockquote p").prepend('<span class="quo icon-quote-left"></span>');
|
||||
$("blockquote p").append('<span class="quo icon-quote-right"></span>');
|
||||
});
|
||||
|
||||
if(w >= f && w<=b) {
|
||||
i.addClass('active');
|
||||
a.fadeOut('slow');
|
||||
} else {
|
||||
i.removeClass('active');
|
||||
a.fadeIn('slow');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
$post.each(function () {
|
||||
var postText = $(this).html();
|
||||
var fa = [];
|
||||
for (var i = 0; i < icons.length; i++) {
|
||||
fa[i] = {};
|
||||
fa[i].str = "@" + icons[i] + "@";
|
||||
fa[i].icon = icons[i];
|
||||
fa[i].int = postText.search(fa[i].str);
|
||||
|
||||
$('ul li').before('<span class="bult fa fa-asterisk icon-asterisk"></span>');
|
||||
$('blockquote p').prepend('<span class="quo icon-quote-left"></span>');
|
||||
$('blockquote p').append('<span class="quo icon-quote-right"></span>');
|
||||
});
|
||||
|
||||
$post.each(function () {
|
||||
var postText = $(this).html();
|
||||
var fa = [];
|
||||
for(var i=0; i < icons.length; i++) {
|
||||
fa[i] = {};
|
||||
fa[i].str = "@"+ icons[i]+ "@";
|
||||
fa[i].icon = icons[i];
|
||||
fa[i].int = postText.search(fa[i].str);
|
||||
|
||||
if(fa[i].int > -1 ) {
|
||||
fa[i].count = postText.match(new RegExp(fa[i].str,"g")).length;
|
||||
for(var j=0; j < fa[i].count; j++) {
|
||||
$(this).html($(this).html().replace(fa[i].str, "<i class='fa "+fa[i].icon+"'></i>"))
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}(jQuery));
|
||||
if (fa[i].int > -1) {
|
||||
fa[i].count = postText.match(new RegExp(fa[i].str, "g")).length;
|
||||
for (var j = 0; j < fa[i].count; j++) {
|
||||
$(this).html(
|
||||
$(this)
|
||||
.html()
|
||||
.replace(fa[i].str, "<i class='fa " + fa[i].icon + "'></i>")
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
})(jQuery);
|
||||
|
|
|
@ -10,4 +10,6 @@ Well, let me tell ya!
|
|||
It carries a lot more detail than what I put on the homepage - I swear!
|
||||
You want to know what I can do for you?
|
||||
Well, let me tell ya!
|
||||
Nutrition Coaching This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first."><meta itemprop=wordCount content="102"><meta itemprop=image content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta itemprop=keywords content><link rel=apple-touch-icon sizes=180x180 href=https://janraasch.github.io/hugo-scroll/images/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=https://janraasch.github.io/hugo-scroll/images/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=https://janraasch.github.io/hugo-scroll/images/favicon-16x16.png><body><main class="content page-template page-" role=main><article class="post page"><header class=post-header><a id=blog-logo href=/hugo-scroll/>Jane Doe - Nutrition Coach & Chef Consultant</a></header><h1 class=post-title>Services</h1><section class=post-content><p>This is a page about the services, which I offer.</p><p>It carries a lot more detail than what I put on the homepage - I swear!</p><p>You want to know what I can do for you?</p><p>Well, let me tell ya!</p><hr><h2 id=nutrition-coaching>Nutrition Coaching</h2><p>This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first.</p><p><img src=../images/selective-focus-photography-of-pasta-with-tomato-and-basil-1279330.jpg alt="Nice picture to make you pay me ;-)"></p><p>Wow. That was nice, right? Well, call me and let us talk.</p><hr><h2 id=chef-consulting>Chef Consulting</h2><p>Did you see the picture above? I can show you how to go from</p><p><img src=../images/board-bunch-cooking-food-349609.jpg alt="Let us get started on a clean slate"></p><p>to</p><p><img src=../images/woman-pouring-juice-on-glass-3184192.jpg alt="Let us get started on a clean slate"></p><p>in estimated seconds.</p></section></article></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template built with ♥️ by <a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
||||
Nutrition Coaching This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first."><meta itemprop=wordCount content="102"><meta itemprop=image content="https://janraasch.github.io/hugo-scroll/images/cover-image.jpg"><meta itemprop=keywords content><link rel=apple-touch-icon sizes=180x180 href=https://janraasch.github.io/hugo-scroll/images/apple-touch-icon.png><link rel=icon type=image/png sizes=32x32 href=https://janraasch.github.io/hugo-scroll/images/favicon-32x32.png><link rel=icon type=image/png sizes=16x16 href=https://janraasch.github.io/hugo-scroll/images/favicon-16x16.png><body><main class="content page-template page-" role=main><article class="post page"><header class=post-header><a id=blog-logo href=/hugo-scroll/>Jane Doe - Nutrition Coach & Chef Consultant</a></header><h1 class=post-title>Services</h1><section class=post-content><p>This is a page about the services, which I offer.</p><p>It carries a lot more detail than what I put on the homepage - I swear!</p><p>You want to know what I can do for you?</p><p>Well, let me tell ya!</p><hr><h2 id=nutrition-coaching>Nutrition Coaching</h2><p>This is not an easy task. You will likely have to pay money for this. You know what - let us look at a nice picture first.</p><p><img src=../images/selective-focus-photography-of-pasta-with-tomato-and-basil-1279330.jpg alt="Nice picture to make you pay me ;-)"></p><p>Wow. That was nice, right? Well, call me and let us talk.</p><hr><h2 id=chef-consulting>Chef Consulting</h2><p>Did you see the picture above? I can show you how to go from</p><p><img src=../images/board-bunch-cooking-food-349609.jpg alt="Let us get started on a clean slate"></p><p>to</p><p><img src=../images/woman-pouring-juice-on-glass-3184192.jpg alt="Let us get started on a clean slate"></p><p>in estimated seconds.</p></section></article></main><footer class=site-footer><div class=inner><section class=copyright>© Jane Doe</section><section></section><section><a href=https://github.com/janraasch/hugo-scroll/>Design</a> template
|
||||
built with ♥️ by
|
||||
<a href=https://www.janraasch.com title="Jan Raasch">Jan Raasch</a></section></div></footer><script type=text/javascript src=https://code.jquery.com/jquery-1.11.3.min.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/icons.js></script><script type=text/javascript src=https://janraasch.github.io/hugo-scroll/js/index.js></script></body></html>
|
Loading…
Reference in a new issue