Skip to content

Instantly share code, notes, and snippets.

jennifert / _config.yml
Last active December 12, 2019 18:27
Sample Jekyll config file
# Site settings
title: Jennifer Tesolin
description: "This is Jennifer Tesolin's personal web site. Located on this site are tutorials and tips for web developers."
baseurl: ""
url: ""
timezone : "America/Toronto"
exclude: [Gemfile, Gemfile.lock,, vendor, bin,,wordpress.xml,package.json,Gruntfile.js,node_modules, .ruby-version]
markdown: kramdown
jennifert / .browserslistrc
Last active October 4, 2018 00:16
Npm Build Script (will replace Grunt in blog post)
# Browsers that we support
last 2 version
jennifert / JekyllSeachjQueryFragment2
Last active June 1, 2017 00:58
This is the second custom function for our search. It just look sin the JSON file using jQuery getJson.
var displyResult = function(blogTitle,blogCategory,blogTags,blogLink,blogDate,blogSummary) {
var results = '<article class="posts blogpage">'+
'<h2 class="entry-title">'+
'<a class="post-link" href="'+blogLink+'">'+blogTitle+'</a>'+
'<div class="entry-summary">'+
blogSummary +
'<a href="'+blogLink+'">Continued</a>'+
jennifert / Gruntfile.js
Created June 1, 2017 00:56
Current Grunt file for site resdesign
module.exports = function(grunt) {
'use strict';
// Project configuration.
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
options: {
jennifert / jekyll-post.markdown
Created May 27, 2017 01:49
Jekyll post template

layout: post title: "Draft Template" date: 2015-03-17 19:34:21 categories:

  • Tutorial tags:
  • Jekyll summary: Put details that will be in more tag here.
jennifert / .gitignore
Created May 26, 2017 23:17
My git ignore - sample file
# npm
# sass
jennifert / .deployment
Created May 26, 2017 23:06
Sample Jekyl Azure deployfile
project = _site
jennifert / web.config
Created May 26, 2017 22:59
Jekyll Web.config sample
<?xml version="1.0"?>
<mimeMap fileExtension=".json" mimeType="application/json" />
<mimeMap fileExtension=".eot" mimeType="application/" />
<mimeMap fileExtension=".otf" mimeType="font/otf" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
jennifert / basic-yql.js
Created February 4, 2016 17:53
Basic YQL Call
//declare vars
var blogLink = '' + encodeURIComponent('select title,link,pubDate,category from rss where url =""')+'&format=json&diagnostics=false&callback=?';
//end variable declare
//Call blog feed
$.getJSON(blogLink, function(data){
$.each(data.query.results.item, function(index, item){
$('.blog-post-container' ).append('<div class="row">');
$('.blog-post-container' ).append('<div class="col-md-12">');
jennifert / JekyllSeachjQueryFragment1
Last active August 29, 2015 14:21
This is the first custom function for our search. It just look sin the JSON file using jQuery getJson. The full javascript code is at:
/*start search function;*/
var getSearchResults = function(url) {
var count = 0;
var searchedFor = getParameterByName('searchbox'); /*get the query parameter from search box*/
var searchedForTest = searchedFor.toLowerCase();
$('#searchbox').val(searchedFor); /*update input field with what was searched for*/
$.getJSON('/search.json', function(data) {
$('div#results').append('<section class="col-xs-12 col-sm-6 col-md-12">');