hexo working

This commit is contained in:
Tommy Parnell
2015-11-21 10:03:37 -05:00
parent ed39b2a035
commit df61914d67
11 changed files with 29 additions and 65 deletions

20
Web.config Normal file
View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="SpecificRewrite" stopProcessing="true">
<match url="^rss$" />
<action type="Rewrite" url="/rss.xml" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>

View File

@@ -27,6 +27,9 @@ code_dir: downloads/code
i18n_dir: :lang
skip_render:
sitemap:
path: sitemap.xml
# Writing
new_post_name: :title.md # File name of new posts
default_layout: post

View File

@@ -11,6 +11,7 @@
"hexo-generator-category": "^0.1.2",
"hexo-generator-feed": "^1.0.3",
"hexo-generator-index": "^0.1.2",
"hexo-generator-sitemap": "^1.0.1",
"hexo-generator-tag": "^0.1.1",
"hexo-migrator-ghost": "0.0.1",
"hexo-migrator-rss": "^0.1.2",

View File

@@ -1,12 +0,0 @@
title: About
permalink: about
id: 4
updated: '2015-08-09 14:41:49'
date: 2014-02-16 20:09:02
---
I work at vistaprint where I work on our Gallery and keyword search platform. I often do DevOps type things while trying to avoid using the word DevOps.
![](/content/images/2014/Apr/MTA_2013-rgb-_1427.png) <a href="http://www.linkedin.com/pub/tommy-parnell/24/722/63a">
<img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png" width="160" height="33" border="0" alt="View Tommy Parnell's profile on LinkedIn">
</a>

View File

@@ -1,12 +0,0 @@
title: About
permalink: about
id: 4
updated: '2015-08-09 14:41:49'
date: 2014-02-16 20:09:02
---
I work at vistaprint where I work on our Gallery and keyword search platform. I often do DevOps type things while trying to avoid using the word DevOps.
![](/content/images/2014/Apr/MTA_2013-rgb-_1427.png) <a href="http://www.linkedin.com/pub/tommy-parnell/24/722/63a">
<img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png" width="160" height="33" border="0" alt="View Tommy Parnell's profile on LinkedIn">
</a>

View File

@@ -1,12 +0,0 @@
title: About
permalink: about
id: 4
updated: '2015-08-09 14:41:49'
date: 2014-02-16 20:09:02
---
I work at vistaprint where I work on our Gallery and keyword search platform. I often do DevOps type things while trying to avoid using the word DevOps.
![](/content/images/2014/Apr/MTA_2013-rgb-_1427.png) <a href="http://www.linkedin.com/pub/tommy-parnell/24/722/63a">
<img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png" width="160" height="33" border="0" alt="View Tommy Parnell's profile on LinkedIn">
</a>

View File

@@ -1,12 +0,0 @@
title: About
permalink: about
id: 4
updated: '2015-08-09 14:41:49'
date: 2014-02-16 20:09:02
---
I work at vistaprint where I work on our Gallery and keyword search platform. I often do DevOps type things while trying to avoid using the word DevOps.
![](/content/images/2014/Apr/MTA_2013-rgb-_1427.png) <a href="http://www.linkedin.com/pub/tommy-parnell/24/722/63a">
<img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png" width="160" height="33" border="0" alt="View Tommy Parnell's profile on LinkedIn">
</a>

View File

@@ -1,12 +0,0 @@
title: About
permalink: about
id: 4
updated: '2015-08-09 14:41:49'
date: 2014-02-16 20:09:02
---
I work at vistaprint where I work on our Gallery and keyword search platform. I often do DevOps type things while trying to avoid using the word DevOps.
![](/content/images/2014/Apr/MTA_2013-rgb-_1427.png) <a href="http://www.linkedin.com/pub/tommy-parnell/24/722/63a">
<img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png" width="160" height="33" border="0" alt="View Tommy Parnell's profile on LinkedIn">
</a>

View File

@@ -14,7 +14,7 @@
# Image directory (default: images)
image_dir: assets/images
image_dir: content
# Sidebar Configuration
@@ -104,7 +104,7 @@ sidebar:
# class: st-search-show-outputs
header:
right_link:
url: /about
url: /#about
icon:
class:
@@ -153,7 +153,7 @@ auto_thumbnail_image: true
# Current image is on AWS S3 and delivered by AWS CloudFront.
# Otherwise put your image in folder `source/_images/` (development) or in `source/assets/images/` if you can't or don't want to build the theme,
# and use relative url : `your-image.png`
cover_image: cover.jpg
cover_image: images/2014/Feb/origin_134672066-2.jpg
# Your favicon located in folder `source/_images/` (development) or in `source/assets/images/` (production)
favicon:
# Display an image gallery at the end of a post which have photos variables (false: disabled, true: enabled)

View File

@@ -5,7 +5,7 @@ global:
home: "Home"
categories: "Categories"
category: "Category"
tags: "Tags"
tags: "Tag"
tag: "Tag"
archives: "Archives"
search: "Search"

View File

@@ -14,7 +14,7 @@
<% site.tags.sort('name').each(function(item) { %>
<div id="<%= item.name + '-list' %>" class="archive box" data-tag="<%= item.name.replace('.','__').toLowerCase() %>">
<h4 class="archive-title">
<a class="link-unstyled" href="<%- url_for('tags/' + item.name.replace(/ /g, '-') ) %>"><%= item.name + ' (' + item.length + ')' %></a>
<a class="link-unstyled" href="<%- url_for('tag/' + item.name.replace(/ /g, '-') ) %>"><%= item.name + ' (' + item.length + ')' %></a>
</h4>
<ul class="archive-posts">
<% site.tags.findOne({'name': item.name}).posts.each(function(post) { %>