-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtumblrvars.js
57 lines (54 loc) · 1.71 KB
/
tumblrvars.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
(function(window) {
window.TumblrVars = {
title: '{Title}',
blogUrl: '{BlogURL}',
rss: '{RSS}',
portraitUrl64: '{PortraitURL-64}',
posts: {
photos: [
{block:Posts}{block:Photo} {
postType: '{PostType}',
postId: '{PostID}',
permalink: '{Permalink}',
postNotesUrl: '{PostNotesUrl}',
likeButton: '{LikeButton}',
reblogButton: '{ReblogButton}',
photoAlt: '{PhotoAlt}',
{block:Caption}caption: '{Caption}',{/block:Caption}
linkUrl: '{LinkURL}',
photoUrl500: '{PhotoURL-500}',
photoWidth500: '{PhotoWidth-500}',
photoHeight500: '{PhotoHeight-500}',
photoUrl400: '{PhotoURL-400}',
photoWidth400: '{PhotoWidth-400}',
photoHeight400: '{PhotoHeight-400}',
photoUrl250: '{PhotoURL-250}',
photoWidth250: '{PhotoWidth-250}',
photoHeight250: '{PhotoHeight-250}',
photoUrl100: '{PhotoURL-100}',
photoWidth100: '{PhotoWidth-100}',
photoHeight100: '{PhotoHeight-100}',
photoUrl75sq: '{PhotoURL-75sq}',
{/block:Photo}
{block:Date}date: {
timestamp: {Timestamp},
timeAgo: '{TimeAgo}'
},{/block:Date}
{block:HasTags} tags: [
{block:Tags} {
tag: '{Tag}',
urlSafeTag: '{URLSafeTag}',
tagUrl: '{TagURL}',
tagUrlChrono: '{TagURLChrono}'
}, {/block:Tags}
], {/block:HasTags}
{block:NoteCount} notes: {
count: {NoteCount},
countWithLabel: '{NoteCountWithLabel}'
} {/block:NoteCount}
},
{/block:Posts}
]
},
}
})(window);