Skip to content

Instantly share code, notes, and snippets.

View kantan2015's full-sized avatar

Wataru Matsumoto kantan2015

View GitHub Profile
(function(){
var total = 0;
var year = '2012';
function init(num) {
num = (typeof num !== 'number' ? 0 : num);
if(num === 0) {
$('<div/>').css({
position: 'fixed',
left: 0,
top: 0,
@kantan2015
kantan2015 / base.html
Last active August 29, 2015 14:13
seesaa
<?xml version="1.0" encoding="Shift_JIS"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
<title><% if:page_name eq 'search' -%><% keyword %>: <% /if %><% if:page_name eq 'archive' -%><% extra_title_datetime | date_format("%Y年%m月") %>: <% else -%><% if:extra_title %><% extra_title | remove_emoji %>: <% /if -%><% /if -%><% if:current_page > 1 %>(<% current_page %>) <% /if %><% blog.title %></title>
<% unless page_name eq 'article' %>
<meta name="description" content="<% if:extra_title %><% extra_title | nl2br | tag_strip | remove_emoji %>,<% /if %><% blog.description | nl2br | tag_strip | remove_emoji %>" />
<% /unless %>
<meta name="keywords" content="<% blog.keywords | oneline | tag_strip | __or__ | blog.title | oneline | remove_emoji | tag_strip %><% extra_keywords | oneline | tag_strip
@kantan2015
kantan2015 / content_article.html
Last active August 29, 2015 14:13
seesaaブログ 記事html
<% content.header -%>
<!-- Content -->
<% if:page_name eq 'article' -%>
<div class="crumb">
<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="<% blog.page_url %>" itemprop="url"><span itemprop="title">Top</span></a>>
</span>
<% loop:list_article -%>
<span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">