Guest User

Untitled

a guest
Sep 29th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.68 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5.  
  6. theme: Ambient
  7. version: 2.1.1 (June 30, 2016)
  8. from: adorablethemes.com
  9.  
  10. -->
  11. <title>{block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
  12. <meta charset="UTF-8">
  13. <meta name="viewport" content="width=720">
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="apple-touch-icon" href="{PortraitURL-128}">
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  17. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  18.  
  19. {block:Hidden}
  20. <meta name="image:Background" content="">
  21.  
  22. <meta name="select:Background Image Style" content="tile" title="tile">
  23. <meta name="select:Background Image Style" content="cover" title="cover">
  24. <meta name="select:Background Image Style" content="center" title="center">
  25.  
  26. <meta name="select:Font Size" content="small" title="small">
  27. <meta name="select:Font Size" content="medium" title="medium">
  28. <meta name="select:Font Size" content="large" title="large">
  29.  
  30. <meta name="color:Post Borders" content="#ffffff">
  31. <meta name="color:Post Background" content="#fafafa">
  32. <meta name="color:Post Text" content="#444444">
  33.  
  34. <meta name="font:Post Body" content="Helvetica">
  35. <meta name="font:Sidebar Links" content="Verdana">
  36.  
  37. <meta name="if:500px Column" content="1">
  38. <meta name="if:Show Archive Link" content="1">
  39. <meta name="if:Show Random Link" content="0">
  40. <meta name="if:Infinite Scrolling" content="0">
  41. <meta name="if:Show Tags On Index" content="1">
  42. <meta name="if:Use Real Dates" content="0">
  43. <meta name="if:Show Sidebar Link Icons" content="1">
  44. <meta name="if:Post Shadows" content="1">
  45.  
  46. <meta name="text:Facebook Username" content="">
  47. <meta name="text:Twitter Username" content="">
  48. <meta name="text:Instagram Username" content="">
  49.  
  50. <meta name="text:Google Analytics ID" content="">
  51. {/block:Hidden}
  52.  
  53. <!--[if lt IE 9]><script src="//static.tumblr.com/hriofhd/Qj0m8pn7q/html5shiv.js"></script><![endif]-->
  54.  
  55. <link href="//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet">
  56.  
  57. <style type="text/css">
  58. body {
  59. color: {color:Post Text};
  60. background-color: {BackgroundColor};
  61. {block:IfBackgroundImage}
  62. background-image: url('{image:Background}');
  63. background-position: center center;
  64. background-attachment: fixed;
  65. {/block:IfBackgroundImage}
  66. font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  67. width: 618px;
  68. margin: 0 auto;
  69. position: relative;
  70. font-size: 12px;
  71. }
  72.  
  73. /* Main column of posts */
  74. .main {
  75. float: right;
  76. width: 430px;
  77. margin-top: 20px;
  78. }
  79.  
  80. /* Fixed sidebar */
  81. .sidebar {
  82. width: 138px;
  83. padding: 10px;
  84. margin-top: 10px;
  85. background: transparent;
  86. position: fixed;
  87. }
  88.  
  89. .widget {
  90. background: {BackgroundColor};
  91. padding: 10px;
  92. border-radius: 2px;
  93. {block:IfNotBackgroundImage}
  94. padding: 10px 0;
  95. {/block:IfNotBackgroundImage}
  96. }
  97. {block:HideDescription}
  98. {block:HideTitle}
  99. .widget {
  100. display: none;
  101. }
  102. {/block:HideTitle}
  103. {/block:HideDescription}
  104.  
  105. /* Background setting styles */
  106. .background-cover {
  107. background-position: center center;
  108. background-size: cover;
  109. }
  110. .background-tile {
  111. background-repeat: repeat;
  112. }
  113. .background-center {
  114. background-position: center center;
  115. background-repeat: no-repeat;
  116. }
  117.  
  118. /* Avatar styles */
  119. .my-avatar {
  120. border: 5px solid white;
  121. border-radius: 2px;
  122. margin-bottom: 16px;
  123. }
  124. .my-avatar:hover {
  125. box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  126. }
  127. .avatar-circle {
  128. border-radius: 128px;
  129. }
  130.  
  131. /* Blog title */
  132. .blog-title {
  133. color: {TitleColor};
  134. font-weight: bold;
  135. font-size: 0.92em;
  136. }
  137.  
  138. /* Blog description */
  139. .blog-description {
  140. color: {TitleColor};
  141. font-size: 0.92em;
  142. }
  143.  
  144. .blog-description a, .blog-description a:hover {
  145. color: {TitleColor};
  146. text-decoration: underline;
  147. }
  148.  
  149. /* Sidebar link styles */
  150. .sidebar-links {
  151. list-style-type: none;
  152. padding-left: 0;
  153. }
  154. .sidebar-link {
  155. font-size: 0.83em;
  156. font-family: {font:Sidebar Links};
  157. color: white;
  158. background-color: {AccentColor};
  159. display: block;
  160. padding: 4px 5px;
  161. margin-bottom: 2px;
  162. text-decoration: none;
  163. border-radius: 2px;
  164. }
  165. .sidebar-link:hover {
  166. background-color: rgba({RGBAccentColor},0.9);
  167. text-decoration: none;
  168. }
  169. {block:IfNotShowSidebarLinkIcons}
  170. .sidebar-link .fa {
  171. display: none;
  172. }
  173. {/block:IfNotShowSidebarLinkIcons}
  174.  
  175. /* General post styles */
  176. .post {
  177. background-color: {color:Post Background};
  178. margin-bottom: 40px;
  179. border: 5px solid {color:Post Borders};
  180. {block:IfPostShadows}
  181. box-shadow: 0px 3px 15px rgba(0,0,0,0.1);
  182. {/block:IfPostShadows}
  183. border-radius: 2px;
  184. }
  185. figure {
  186. margin: 0;
  187. }
  188. .post-content {
  189. padding: 10px;
  190. font-family: {font:Post Body};
  191. }
  192. .post img {
  193. max-width: 100%;
  194. height: auto;
  195. border-radius: 2px;
  196. }
  197. .post .photo-highres {
  198. width: 100%;
  199. }
  200. .post h1,.post h2,.post h3,.post h4,.post h5,.post h6 {
  201. font-size: 1.16em;
  202. }
  203. .post a {
  204. color: {AccentColor};
  205. text-decoration: none;
  206. }
  207. .post a:hover {
  208. color: {AccentColor};
  209. text-decoration: underline;
  210. }
  211. .post p, .blog-description p {
  212. font-size: 1em;
  213. line-height: 150%;
  214. }
  215. .post ul, .blog-description ul {
  216. list-style-type: circle;
  217. font-size: 1em;
  218. line-height: 140%;
  219. padding-left: 20px;
  220. }
  221. .post ol, .blog-description ol {
  222. font-size: 1em;
  223. line-height: 140%;
  224. padding-left: 20px;
  225. }
  226. .post blockquote, .blog-description blockquote {
  227. background-color: rgba({RGBcolor:Post Text},0.02);
  228. border: 1px solid rgba({RGBcolor:Post Text},0.05);
  229. font-size: 1em;
  230. padding: 8px 16px;
  231. margin: 16px 0;
  232. font-style: italic;
  233. }
  234. .post hr, .blog-description hr {
  235. border: 0;
  236. border-bottom: 1px solid rgba({RGBcolor:Post Text},0.15);
  237. }
  238.  
  239. /* Videos, photosets, etc */
  240. .post iframe, .blog-description iframe {
  241. max-width: 100%;
  242. }
  243.  
  244. /* Chat post styles */
  245. .chat .label {
  246. font-weight: bold;
  247. text-align: right;
  248. }
  249. .chat ul {
  250. list-style-type: none;
  251. padding-left: 0;
  252. }
  253. .chat ul li {
  254. border-bottom: 1px solid rgba({RGBcolor:Post Text},0.1);
  255. padding: 5px 0;
  256. }
  257. .chat ul li:last-child {
  258. border-bottom: 0;
  259. }
  260.  
  261. /* Quote post styles */
  262. .quote-text {
  263. font-family: serif;
  264. font-size: 1.25em !important;
  265. font-style: italic;
  266. }
  267.  
  268. /* Keep reading link arrow */
  269. a.read_more:after {
  270. content: " \2192";
  271. }
  272.  
  273. /* Post meta info blocks */
  274. .post-meta {
  275. background-color: rgba({RGBcolor:Post Text},0.02);
  276. border-top: 1px solid rgba({RGBcolor:Post Text},0.07);
  277. color: rgba({RGBcolor:Post Text},0.75);
  278. font-size: 0.92em;
  279. padding: 0.8em 0.66em;
  280. }
  281. .post-meta a {
  282. color: rgba({RGBcolor:Post Text},0.75);
  283. text-decoration: none;
  284. }
  285. .post-meta a:hover {
  286. color: rgba({RGBcolor:Post Text},0.95);
  287. text-decoration: none;
  288. }
  289. .tag:before {
  290. content: "#";
  291. }
  292. .like-reblog-buttons {
  293. margin-top: -1px;
  294. }
  295. .reblog_button {
  296. margin-right: 8px;
  297. }
  298. .post-reblog-info {
  299. background-color: transparent;
  300. border: 0;
  301. }
  302. ol.notes {
  303. list-style-type: none;
  304. padding-left: 0;
  305. }
  306. .note {
  307. padding: 5px;
  308. font-size: 0.92em;
  309. }
  310. .note img.avatar, .asker-avatar {
  311. width: 16px;
  312. height: 16px;
  313. border-radius: 2px;
  314. margin-right: 9px;
  315. vertical-align: middle;
  316. }
  317. .note blockquote {
  318. background-color: transparent;
  319. border: 0;
  320. border-left: 4px solid {color:Post Text};
  321. }
  322.  
  323. /* Note icons */
  324. ol.notes .reblog {background: transparent url('//static.tumblr.com/anzluor/Gw5n6ay0z/reblog.png') right center no-repeat;}
  325. ol.notes .like {background: transparent url('//static.tumblr.com/anzluor/0yrn6ay0n/like.png') right center no-repeat;}
  326. ol.notes .reply {background: transparent url('//static.tumblr.com/anzluor/n70n6ay1a/reply.png') right center no-repeat;}
  327.  
  328. /* Page navigation */
  329. .pagination {
  330. background-color: {BackgroundColor};
  331. margin: 0 auto;
  332. clear: both;
  333. text-align: center;
  334. padding: 10px 0;
  335. {block:IfInfiniteScrolling}
  336. display: none;
  337. {/block:IfInfiniteScrolling}
  338. }
  339. #previous, #next, .jump-page {
  340. border-radius: 2px;
  341. font-size: 0.84em;
  342. line-height: 2em;
  343. color: {TitleColor};
  344. padding: 3px 5px;
  345. text-decoration: none;
  346. }
  347. #previous:hover, #next:hover, .jump-page:hover {
  348. background-color: rgba({RGBAccentColor},0.9);
  349. color: white;
  350. text-decoration: none;
  351. }
  352. .current-page {
  353. font-weight: 700;
  354. color: white;
  355. background-color: {AccentColor};
  356. }
  357.  
  358. /* misc classes */
  359. .float-right {
  360. float: right;
  361. }
  362. .text-right {
  363. text-align: right;
  364. }
  365.  
  366. /* stop old IE from showing borders on linked images */
  367. a img {
  368. border: 0;
  369. }
  370.  
  371. {block:If500pxColumn}
  372. body {
  373. width: 718px;
  374. }
  375. .main {
  376. width: 530px;
  377. }
  378. {/block:If500pxColumn}
  379.  
  380. {block:IfNotShowTagsOnIndex}
  381. .index-page .tags-list {
  382. display: none;
  383. }
  384. {/block:IfNotShowTagsOnIndex}
  385.  
  386. /* Infinite scroll loading indicator */
  387. .loading {
  388. background: white;
  389. color: black;
  390. box-shadow: 0px 0px 25px rgba(0,0,0,0.15);
  391. border-radius: 5px;
  392. padding: 10px;
  393. position: fixed;
  394. top: 49%;
  395. left: 49%;
  396. z-index: 999;
  397. }
  398.  
  399. .font-small {
  400. font-size: 12px;
  401. }
  402. .font-medium {
  403. font-size: 14px;
  404. }
  405. .font-large {
  406. font-size: 15px;
  407. }
  408.  
  409. {CustomCSS}
  410. </style>
  411. </head>
  412. <body class="{block:IndexPage}index-page{/block:IndexPage}{block:PermalinkPage}permalink-page{/block:PermalinkPage} background-{select:Background Image Style} font-{select:Font Size}">
  413. <div class="sidebar">
  414.  
  415. {block:ShowAvatar}
  416. <a href="/">
  417. <img class="my-avatar avatar-{AvatarShape}" src="{PortraitURL-128}" alt="" />
  418. </a>
  419. {/block:ShowAvatar}
  420.  
  421. <div class="widget">
  422.  
  423. {block:ShowTitle}
  424. <h1 class="blog-title">{Title}</h1>
  425. {/block:ShowTitle}
  426.  
  427. {block:ShowDescription}
  428. {block:Description}
  429. <div class="blog-description">{Description}</div>
  430. {/block:Description}
  431. {/block:ShowDescription}
  432.  
  433. </div>
  434.  
  435. <ul class="sidebar-links">
  436.  
  437. <a class="sidebar-link" href="/"><li><i class="fa fa-fw fa-home"></i> {lang:Home}</li></a>
  438.  
  439. {block:IfShowArchiveLink}
  440. <a class="sidebar-link" href="/archive"><li><i class="fa fa-fw fa-calendar-o"></i> {lang:Archive}</li></a>
  441. {/block:IfShowArchiveLink}
  442.  
  443. {block:IfShowRandomLink}
  444. <a class="sidebar-link" href="/random"><li><i class="fa fa-fw fa-question-circle"></i> {lang:Random}</li></a>
  445. {/block:IfShowRandomLink}
  446.  
  447. {block:AskEnabled}
  448. <a class="sidebar-link" href="/ask"><li><i class="fa fa-fw fa-envelope-o"></i> {AskLabel}</li></a>
  449. {/block:AskEnabled}
  450.  
  451. {block:SubmissionsEnabled}
  452. <a class="sidebar-link" href="/submit"><li><i class="fa fa-fw fa-download"></i> {SubmitLabel}</li></a>
  453. {/block:SubmissionsEnabled}
  454.  
  455. {block:HasPages}
  456. {block:Pages}
  457. <a class="sidebar-link" href="{URL}"><li><i class="fa fa-fw fa-file-o"></i> {Label}</li></a>
  458. {/block:Pages}
  459. {/block:HasPages}
  460.  
  461. {block:IfFacebookUsername}
  462. <a class="sidebar-link" href="https://facebook.com/{text:Facebook Username}"><li><i class="fa fa-fw fa-facebook-square"></i> Facebook</li></a>
  463. {/block:IfFacebookUsername}
  464.  
  465. {block:IfInstagramUsername}
  466. <a class="sidebar-link" href="https://instagram.com/{text:Instagram Username}"><li><i class="fa fa-fw fa-instagram"></i> Instagram</li></a>
  467. {/block:IfInstagramUsername}
  468.  
  469. {block:IfTwitterUsername}
  470. <a class="sidebar-link" href="https://twitter.com/{text:Twitter Username}"><li><i class="fa fa-fw fa-twitter"></i> Twitter</li></a>
  471. {/block:IfTwitterUsername}
  472.  
  473. <a class="sidebar-link" href="http://adorablethemes.com/"><li><i class="fa fa-fw fa-heart"></i> Theme</li></a>
  474.  
  475. </ul>
  476.  
  477. {block:IfNotInfiniteScrolling}
  478. {block:Pagination}
  479. <div class="pagination">
  480.  
  481. {block:PreviousPage}<a href="{PreviousPage}" id="previous"><i class="fa fa-caret-left"></i></a>{/block:PreviousPage}
  482.  
  483. {block:JumpPagination length="3"}
  484.  
  485. {block:CurrentPage}
  486. <span class="jump-page current-page">{PageNumber}</span>
  487. {/block:CurrentPage}
  488.  
  489. {block:JumpPage}
  490. <a class="jump-page" href="{URL}">{PageNumber}</a>
  491. {/block:JumpPage}
  492.  
  493. {/block:JumpPagination}
  494.  
  495. {block:NextPage}<a href="{NextPage}" id="next"><i class="fa fa-caret-right"></i></a>{/block:NextPage}
  496.  
  497. </div>
  498. {/block:Pagination}
  499. {/block:IfNotInfiniteScrolling}
  500.  
  501. </div>
  502.  
  503. <div class="main">
  504.  
  505. {block:SearchPage}
  506. {block:SearchResults}
  507. <div class="post">
  508. <div class="post-content">
  509. <h3>{lang:SearchResultCount results for SearchQuery 2}</h3>
  510. </div>
  511. </div>
  512. {/block:SearchResults}
  513.  
  514. {block:NoSearchResults}
  515. <div class="post">
  516. <div class="post-content">
  517. <h3>{lang:No search results for SearchQuery 2}</h3>
  518. </div>
  519. </div>
  520. {/block:NoSearchResults}
  521. {/block:SearchPage}
  522.  
  523. {block:TagPage}
  524. <div class="post">
  525. <div class="post-content">
  526. <h3>#{Tag}</h3>
  527. </div>
  528. </div>
  529. {/block:TagPage}
  530.  
  531.  
  532. <div id="posts">
  533. {block:Posts}
  534.  
  535. <article id="{PostID}" class="post {PostType}{block:PermalinkPage} {block:Date}not-{/block:Date}page{/block:PermalinkPage}">
  536.  
  537. <div class="post-content">
  538. {block:Text}
  539. {block:Title}
  540. <h3 class="post-title">{Title}</h3>
  541. {/block:Title}
  542.  
  543. {Body}
  544. {/block:Text}
  545.  
  546. {block:Answer}
  547. <p><img class="asker-avatar" src="{AskerPortraitURL-16}" /> <b>{Asker}:</b></p><p>{Question}</p>
  548.  
  549. <hr>
  550.  
  551. {block:Answerer}
  552. <p><img class="asker-avatar" src="{AnswererPortraitURL-16}" /> <b>{Answerer}:</b></p>
  553.  
  554. {Answer}
  555.  
  556. <hr>
  557. {/block:Answerer}
  558.  
  559. {Replies}
  560. {/block:Answer}
  561.  
  562. {block:Photo}
  563. <figure>
  564. {LinkOpenTag}<img class="photo-post-photo{block:HighRes} photo-highres{/block:HighRes}"{block:HighRes} srcset="{PhotoURL-1280} 2x"{/block:HighRes} src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag}
  565. </figure>
  566. <figcaption class="caption">{Caption}</figcaption>
  567. {/block:Photo}
  568.  
  569. {block:Photoset}
  570. <figure>
  571. {block:IfNot500pxColumn}
  572. {Photoset-400}
  573. {/block:IfNot500pxColumn}
  574. {block:If500pxColumn}
  575. {Photoset-500}
  576. {/block:If500pxColumn}
  577. </figure>
  578.  
  579. <figcaption class="caption">{Caption}</figcaption>
  580. {/block:Photoset}
  581.  
  582. {block:Quote}
  583. <p class="quote-text">"{Quote}"</p>
  584.  
  585. {block:Source}
  586. <p class="text-right"> &mdash; {Source}</p>
  587. {/block:Source}
  588. {/block:Quote}
  589.  
  590. {block:Link}
  591. <h3><a href="{URL}" class="link-post-link"{block:Host} title="{Host}"{/block:Host} {Target}>{Name} &rarr;</a></h3>
  592.  
  593. {block:Description}
  594. <div class="link-description">{Description}</div>
  595. {/block:Description}
  596. {/block:Link}
  597.  
  598. {block:Chat}
  599. {block:Title}
  600. <h3 class="post-title">{Title}</h3>
  601. {/block:Title}
  602.  
  603. <ul class="chat-lines">
  604. {block:Lines}
  605. <li class="{Alt} user_{UserNumber}">
  606. {block:Label}
  607. <span class="label">{Label}</span>
  608. {/block:Label}
  609.  
  610. <span class="line">{Line}</span>
  611. </li>
  612. {/block:Lines}
  613. </ul>
  614. {/block:Chat}
  615.  
  616. {block:Video}
  617. <figure>
  618. {block:IfNot500pxColumn}
  619. {VideoEmbed-400}
  620. {/block:IfNot500pxColumn}
  621. {block:If500pxColumn}
  622. {VideoEmbed-500}
  623. {/block:If500pxColumn}
  624. </figure>
  625.  
  626. {block:Caption}
  627. <figcaption class="caption">{Caption}</figcaption>
  628. {/block:Caption}
  629. {/block:Video}
  630.  
  631. {block:Audio}
  632. <figure>
  633. {AudioEmbed}
  634. </figure>
  635.  
  636. {block:Caption}
  637. <figcaption class="caption">{Caption}</figcaption>
  638. {/block:Caption}
  639. {/block:Audio}
  640.  
  641. </div>
  642.  
  643. {block:Date}
  644.  
  645.  
  646.  
  647. {block:HasTags}
  648. <div class="post-meta tags-list">
  649. {block:Tags}
  650. <a class="tag" href="{TagURL}">{Tag}</a>&nbsp;&nbsp;
  651. {/block:Tags}
  652. </div>
  653. {/block:HasTags}
  654.  
  655. <div class="post-meta">
  656. <div class="float-right like-reblog-buttons">
  657. <div class="float-right like-button">
  658. {LikeButton color="gray" size="16"}
  659. </div>
  660. <div class="float-right reblog-button">
  661. {ReblogButton color="gray" size="16"}
  662. </div>
  663. </div>
  664.  
  665. <a href="{Permalink}">
  666. {block:IfUseRealDates}
  667. <span class="time-posted" title="{12Hour}:{Minutes} {AmPm}, {DayOfWeek}, {Month} {DayOfMonth}, {Year}">{ShortMonth} {DayOfMonth} {Year}</span>
  668. {/block:IfUseRealDates}
  669. {block:IfNotUseRealDates}
  670. <span class="time-posted" title="{12Hour}:{Minutes} {AmPm}, {DayOfWeek}, {Month} {DayOfMonth}, {Year}">{TimeAgo}</span>
  671. {/block:IfNotUseRealDates}
  672. {block:NoteCount}
  673. - <span class="note-count">{NoteCountWithLabel}</span>
  674. {block:NoteCount}
  675. </a>
  676. {block:Submission} - {lang:By PostAuthorName 2}{/block:Submission}
  677.  
  678. </div>
  679. {/block:Date}
  680.  
  681. {block:PermalinkPage}
  682. {block:PostNotes}
  683. <div class="post-meta notes-list">{PostNotes-16}</div>
  684. {/block:PostNotes}
  685. {/block:PermalinkPage}
  686.  
  687. </article>
  688.  
  689. {/block:Posts}
  690.  
  691. {block:IfInfiniteScrolling}
  692. {block:Pagination}
  693. <div class="pagination">
  694.  
  695. {block:PreviousPage}<a href="{PreviousPage}" id="previous">&laquo;</a>{/block:PreviousPage}
  696.  
  697. {block:JumpPagination length="3"}
  698.  
  699. {block:CurrentPage}
  700. <span class="jump-page current-page">{PageNumber}</span>
  701. {/block:CurrentPage}
  702.  
  703. {block:JumpPage}
  704. <a class="jump-page" href="{URL}">{PageNumber}</a>
  705. {/block:JumpPage}
  706.  
  707. {/block:JumpPagination}
  708.  
  709. {block:NextPage}<a href="{NextPage}" id="next">&raquo;</a>{/block:NextPage}
  710.  
  711. </div>
  712. {/block:Pagination}
  713. {/block:IfInfiniteScrolling}
  714.  
  715. </div>
  716. </div>
  717. {block:IndexPage}
  718. {block:IfInfiniteScrolling}
  719. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  720. <script src="//static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script>
  721. <script>
  722. $(function(){
  723. var container = $('#posts');
  724.  
  725. container.infinitescroll({
  726. navSelector : '.pagination',
  727. nextSelector : '.pagination a#next',
  728. itemSelector : '.post',
  729. loading: {
  730. img: 'data:image/gif;base64,R0lGODlhAQABAHAAACH5BAUAAAAALAAAAAABAAEAAAICRAEAOw==',
  731. msgText: '<div class="loading"><i class="fa fa-lg fa-circle-o-notch fa-spin"></i></div>',
  732. finishedMsg: ''
  733. }
  734. },
  735. function( newElements ) {
  736. var $newElems = $( newElements );
  737. var $newElemsIDs = $newElems.map(function () {
  738. return this.id;
  739. }).get();
  740. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  741. }
  742. );
  743. });
  744. </script>
  745. {/block:IfInfiniteScrolling}
  746. {/block:IndexPage}
  747. {block:IfGoogleAnalyticsID}
  748. <script>
  749. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  750. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  751. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  752. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  753.  
  754. ga('create', '{text:Google Analytics ID}', 'auto');
  755. ga('send', 'pageview');
  756.  
  757. </script>
  758. {/block:IfGoogleAnalyticsID}
  759. </body>
  760. </html>
Add Comment
Please, Sign In to add comment