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.
| # Browsers that we support | |
| last 2 version |
| module.exports = function(grunt) { | |
| 'use strict'; | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| sass: { | |
| dist: { | |
| options: { |
layout: post title: "Draft Template" date: 2015-03-17 19:34:21 categories:
| # npm | |
| node_modules | |
| npm-debug.log | |
| tmp | |
| # sass | |
| .sass-cache/ | |
| *.css.map | |
| #ruby |
| # 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: "https://sea-lion-app-g2mm7.ondigitalocean.app/" | |
| timezone : "America/Toronto" | |
| plugins: [jekyll-paginate] | |
| # Build Settings | |
| include: [dist, imgs] |
| [config] | |
| project = _site |
| <?xml version="1.0"?> | |
| <configuration> | |
| <system.webServer> | |
| <staticContent> | |
| <mimeMap fileExtension=".json" mimeType="application/json" /> | |
| <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject" /> | |
| <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" /> |
| //declare vars | |
| var blogLink = 'https://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select title,link,pubDate,category from rss where url ="http://rss.cbc.ca/lineup/technology.xml"')+'&format=json&diagnostics=false&callback=?'; | |
| //end variable declare | |
| jQuery.noConflict(); | |
| jQuery(document).ready(function($){ | |
| //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">'); |
| --- | |
| --- | |
| [ | |
| {% for post in site.posts %} | |
| { | |
| "title" : "{{ post.title }}", | |
| "href" : "{{ post.url }}", | |
| "summary" : "{{ post.content | strip_html | strip_newlines | truncatewords: 30 | escape }}", | |
| "category" : [{% for category in post.categories %}"{{ category }}",{% endfor %} null], | |
| "tags" : [{% for tag in post.tags %}"{{ tag }}",{% endfor %} null], |
| --- | |
| layout: default | |
| title: Search Results | |
| --- | |
| <h1 id="searchHeader">Search results</h1> | |
| <noscript><p>Sorry, the current site search is form Javascript. Please try this link to search from Google.</p></noscript> | |