Advertisement
str-wrs

Themis

Jan 22nd, 2016
15,381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.25 KB | None | 0 0
  1. <!--
  2.  
  3. THEME: THEMIS
  4. by acuite
  5.  
  6. - don't steal this pls
  7. - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
  8.  
  9. - @acuite for more themes
  10.  
  11. -->
  12.  
  13. <html>
  14. <head>
  15.  
  16. <title>{Title}</title>
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  20.  
  21. <meta name="color:Text" content="#555"/>
  22. <meta name="color:Link" content="#999"/>
  23. <meta name="color:Hover" content="#f0bfb3"/>
  24.  
  25. <meta name="if:Load More" content=""/>
  26. <meta name="if:Paginate" content=""/>
  27. <meta name="if:Round Edges" content=""/>
  28.  
  29. <meta name="text:Post" content="420"/>
  30. <meta name="text:Margin" content="50"/>
  31.  
  32. <meta name="text:Link 1" content="/"/>
  33. <meta name="text:Link 1 Title" content="one"/>
  34. <meta name="text:Link 2" content="/" />
  35. <meta name="text:Link 2 Title" content="two"/>
  36. <meta name="text:Link 3" content="/" />
  37. <meta name="text:Link 3 Title" content="three"/>
  38. <meta name="text:Link 4" content="/" />
  39. <meta name="text:Link 4 Title" content="four"/>
  40.  
  41. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  42. <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
  43. <link href="https://fonts.googleapis.com/css?family=Overpass:400,400i,600,600i" rel="stylesheet">
  44.  
  45. <style type="text/css">
  46.  
  47. /* Controls */
  48.  
  49. .tc .oi {font-size:22px;color:{color:Link};}
  50. .tc {position:fixed;top:15px;right:15px;cursor:pointer;}
  51. #tumblr_controls,.tmblr-iframe{-webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);opacity:0;top:0!important;right:0!important;z-index:999999; padding:10px 30px 10px 10px;}
  52.  
  53. #tumblr_controls:hover,.tmblr-iframe:hover{opacity:0.5;}
  54.  
  55. /* General */
  56.  
  57. body {margin:0;color:{color:Text};background:#f8f8f8;}
  58. .cap,.desc {
  59. font-smooth:always;
  60. -webkit-font-smoothing:antialiased;
  61. -moz-osx-font-smoothing: grayscale;
  62. }
  63.  
  64. a:link, a:active, a:visited {text-decoration:none;}
  65. body,p,pre,blockquote,big,small,sub,sup {font-size:13px;}
  66. body,p,pre,em{font-family:'Overpass',Helvetica,Arial,sans-serif;}
  67. a,.tags,.our_button,.like_button,#tumblr_controls,.tmblr-iframe,.tc {
  68. transition:0.5s ease;
  69. -o-transition:0.5s ease;
  70. -moz-transition:0.5s ease;
  71. -webkit-transition:0.5s ease;
  72. }
  73.  
  74. /* Credit & Scroll to Top */
  75.  
  76. .c,.top{position:fixed;right:30px;width:40px;}
  77. .c {bottom:30px;}
  78. .top {bottom:50px;display:none;}
  79.  
  80. /* Pagination */
  81.  
  82. .cp {font-weight:600;}
  83. .cp,.jp,.pag a{display:inline-block;vertical-align:middle;margin:0 10px;}
  84. .pag a i,.top{font-size:20px;}
  85. .pag {position:relative;}
  86. .load {cursor:pointer;display:block;}
  87. .c,.top,.pag,.load {text-align:center;}
  88. .c,.pag,.load{font-size:10px;letter-spacing:1px;text-transform:uppercase;}
  89. {block:ifnotPaginate}
  90. .pag,#infscr-loading {display:none!important;}
  91. {/block:ifnotPaginate}
  92.  
  93. /* Containers */
  94.  
  95. .center {
  96. position:relative;
  97. margin:{text:Margin}px auto;
  98. width:calc({text:Post}px + 4px);
  99. }
  100.  
  101. .entry img{max-width:100%;height:auto;}
  102. .entry {
  103. margin:{text:Margin}px 0;
  104. background:#fff;
  105. border:1px solid #eee;
  106. overflow:hidden;
  107. }
  108.  
  109. /* Sidebar */
  110.  
  111. header {padding:25px;position:relative;}
  112. header,.image {background:#fff;border:1px solid #eee;}
  113. .image{position:absolute;width:50px;height:50px;border-radius:50%;right:10px;top:-26px;}
  114. .desc {font-size:13px;margin:15px 0;}
  115. .lh {cursor:help;}
  116. .lb {display:none;margin-top:10px;}
  117. nav {font-size:0;}
  118. nav a {
  119. display:inline-block;
  120. margin:0 10px 0 0;
  121. font-size:10px;
  122. line-height:100%;
  123. letter-spacing:1px;
  124. text-transform:uppercase;
  125. }
  126.  
  127. /* Titles */
  128.  
  129. h1 {margin:0;font-size:16px;line-height:100%;}
  130. h2 {margin:0 0 10px;font-size:15px;line-height:100%;}
  131. h3,h4,h5 {margin:10px;font-size:11px;line-height:100%;}
  132.  
  133. /* Permalinks */
  134.  
  135. .p {font-size:0;border-top:1px solid #eee;padding:15px;}
  136. .p a{
  137. display:inline-block;
  138. margin:0 15px 0 0;
  139. font-size:10px;
  140. line-height:100%;
  141. letter-spacing:1px;
  142. text-transform:uppercase;
  143. }
  144.  
  145. .tags {font-size:0;margin:20px;}
  146. .tags a {
  147. margin:0 5px 0 0;
  148. display:inline-block;
  149. font-size:10px;
  150. line-height:100%;
  151. letter-spacing:0.5px;
  152. }
  153.  
  154. /* Quotes */
  155.  
  156. .qut_hold {margin:25px;}
  157. .src {margin-bottom:10px;}
  158. .qut {font-size:15px;font-weight:300;line-height:130%;font-style:italic;}
  159.  
  160. /* Audio & Chat */
  161.  
  162. .chat {margin:25px;}
  163. .lines,.chat h2 {margin:10px 0;padding:0;}
  164. .play {padding:10px;background:#e4e4e4;height:27px;width:27px;}
  165. .audio {font-size:0;padding:20px;}
  166. .play,.au {display:inline-block;vertical-align:middle;}
  167. .soundcloud_audio_player{padding:15px 0;}
  168. .au span.tn {font-size:15px;font-weight:800;}
  169. .au span {display:block;margin:5px 0;font-size:12px;line-height:100%;}
  170. .au {width:calc(100% - 62px);margin-left:15px;}
  171. .tumblr_audio_player {width:27px;height:27px;overflow:hidden;}
  172.  
  173. /* Text */
  174.  
  175. ol,ul {padding:0 0 0 20px;}
  176. li {margin:5px;}
  177. p,blockquote,pre,ul,ol{margin:5px 0;}
  178. blockquote p{margin:5px 0;}
  179. blockquote p:first-child{margin:0 0 5px;}
  180. blockquote p:last-child{margin:5px 0 0;}
  181. blockquote p:only-child{margin:0;}
  182. blockquote blockquote {margin:0;}
  183. blockquote{padding-left:10px;border-left:1px solid #eee;}
  184. pre {
  185. white-space:pre-wrap;
  186. white-space:-moz-pre-wrap;
  187. white-space:-pre-wrap;
  188. white-space:-o-pre-wrap;
  189. word-wrap:break-word;
  190. }
  191.  
  192. /* Captions */
  193.  
  194. .txt iframe,.cap iframe{display:block;max-width:100%;overflow:hidden;}
  195. .txt .tumblr_parent:first-of-type {border:0;}
  196. .tumblr_parent blockquote {margin:5px 0;}
  197. .tumblr_parent {
  198. border:0;
  199. margin:0;
  200. padding:20px;
  201. border-top:1px solid #eee;
  202. }
  203.  
  204. a.tumblr_blog {border-bottom:1px solid rgba({RGBcolor:Link},0.5);}
  205. a.tumblr_blog:hover {border-color:rgba({RGBcolor:Hover},0.5)}
  206.  
  207. /* Video */
  208.  
  209. .video {overflow:hidden;}
  210. .vine-embed,#youtube_iframe {display:block;}
  211. .instagram-media {border-radius:0!important;box-shadow:none!important;}
  212.  
  213. /* Photosets */
  214.  
  215. #tumblr_lightbox,.tmblr-lightbox {
  216. background:rgba(255,255,255,0.9)!important;
  217. }
  218.  
  219. #vignette,#tumblr_lightbox_caption,.vignette,.lightbox-caption{
  220. opacity:0!important;
  221. }
  222.  
  223. #tumblr_lightbox_center_image, #tumblr_lightbox_left_image,
  224. #tumblr_lightbox_right_image, .lightbox-image {
  225. box-shadow:none!important;
  226. border-radius:0px!important;
  227. {block:ifRoundEdges}border-radius:6px!important;{/block:ifRoundEdges}
  228. }
  229.  
  230. /* Ask */
  231.  
  232. .ask {padding:20px;}
  233. .aski {margin:0 0 10px;line-height:20px;font-size:10px;}
  234. .aski img {float:left;width:20px;margin-right:7px;}
  235.  
  236. /* Permalink Page + Postnotes */
  237.  
  238. .perma {font-size:0;text-transform:lowercase;}
  239. .perma_li {
  240. display:inline-block;
  241. width:calc(50% - 20px);
  242. font-size:11px;
  243. line-height:100%;
  244. margin:0;
  245. padding:10px;
  246. border-top:1px solid #eee;
  247. }
  248.  
  249. .perma_li .oi {font-size:12px;width:12px;float:left;margin-right:6px;}
  250. .perma_li.pnh,.perma_li.pmt {display:block;width:auto;height:auto;}
  251. .pmt a:after {content:',';}
  252. .pmt a:last-of-type:after {content:'.';}
  253. .pn ol {margin:0;padding:0;list-style-type:none;}
  254. .pn li{
  255. margin:0;
  256. font-size:10px;
  257. line-height:100%;
  258. padding:7px;
  259. border-top:1px dotted #eee;
  260. }
  261.  
  262. .pn,.pn img{display:none;}
  263. .pn {font-size:0;}
  264. .pnh {margin:0;font-size:11px;color:#555;}
  265. .pnh,.more_notes_link,.notes_loading {display:block;font-weight:400;}
  266. .more_notes_link,.notes_loading {text-align:left!important;}
  267.  
  268. /* Tooltips */
  269.  
  270. #s-m-t-tooltip{
  271. max-width:200px;
  272. margin:15px;
  273. z-index:99999999;
  274. padding:6px;
  275. line-height:100%;
  276. word-wrap:break-word;
  277. word-break:break-all;
  278. background:#fff;
  279. }
  280.  
  281. /* Common Styles */
  282.  
  283. .ask,p,blockquote,.lines,.desc{line-height:150%;}
  284. a:hover, a h2:hover{color:{color:Hover};}
  285. a,.p,.perma,.src,.lines b,.tn,h2,.ask{color:{color:Link};}
  286.  
  287. {block:ifRoundEdges}
  288. .play,.aski img,#s-m-t-tooltip{border-radius:4px;}
  289. .entry,header{border-radius:6px!important;}
  290. {/block:ifRoundEdges}
  291.  
  292. /* Etc */
  293.  
  294. img {margin:0;display:block;}
  295.  
  296. </style>
  297. </head>
  298. <body>
  299.  
  300. <div class="tc"><i class="oi oi-menu"></i></div>
  301.  
  302. <div class="center">
  303.  
  304. <header>
  305. <img class="image" src="{PortraitURL-128}"/>
  306.  
  307. <h1><a href="/">{Title}</a></h1>
  308. {block:Description}<div class="desc">{Description}</div>{/block:Description}
  309.  
  310. <nav>
  311. <a href="/ask">contact</a>
  312. <a href="#" class="lh">links</a>
  313. <a href="/archive">history</a>
  314. <div class="lb">
  315. {block:ifLink1}
  316. <a href="{text:Link 1}">{text:Link 1 Title}</a>
  317. {/block:ifLink1}{block:ifLink2}
  318. <a href="{text:Link 2}">{text:Link 2 Title}</a>
  319. {/block:ifLink2}{block:ifLink3}
  320. <a href="{text:Link 3}">{text:Link 3 Title}</a>
  321. {/block:ifLink3}{block:ifLink4}
  322. <a href="{text:Link 4}">{text:Link 4 Title}</a>
  323. {/block:ifLink4}
  324. </div>
  325. </nav>
  326. </header>
  327.  
  328. <div id="content">
  329. {block:Posts}
  330. <div class="entry" id="{PostID}">
  331.  
  332. {block:Text}
  333. <div class="txt cap">
  334. {block:Title}<h2>{Title}</h2>{/block:Title}
  335. {Body}</div>
  336. {/block:Text}
  337.  
  338. {block:Link}
  339. <div class="txt cap">
  340. <h2><a title="{URL}" href="{URL}">{Name}</a></h2>
  341. {block:Description}{Description}{/block:Description}
  342. </div>
  343. {/block:Link}
  344.  
  345. {block:Photo}
  346. <div class="bx"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" class="photo"/></a></div>
  347. {/block:Photo}
  348.  
  349. {block:Photoset}
  350. <div class="bx"><div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div></div>
  351. {/block:Photoset}
  352.  
  353. {block:Quote}
  354. <div class="qut_hold">
  355. {block:Source}<div class="src">{Source}</div>{/block:Source}
  356. <div class="qut">{Quote}</div>
  357. </div>
  358. {/block:Quote}
  359.  
  360. {block:Chat}
  361. <div class="chat">
  362. {block:Title}<h2>{Title}</h2>{/block:Title}
  363. {block:Lines}<div class="lines {Alt}"><div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b> {/block:Label}{Line}</div></div>{/block:Lines}
  364. </div>
  365. {/block:Chat}
  366.  
  367. {block:Audio}
  368. <div class="audio">
  369. {block:AudioPlayer}<div class="play">{AudioPlayerGrey}</div>{/block:AudioPlayer}
  370. <div class="au">
  371. {block:TrackName}<span class="tn">{TrackName}</span>{/block:TrackName}
  372. {block:Artist}<span>by {Artist}</span>{/block:Artist}
  373. </div>
  374. </div>
  375. {/block:Audio}
  376.  
  377. {block:Video}
  378. <div class="video">{Video-500}</div>
  379. {/block:Video}
  380.  
  381. {block:Answer}
  382. <div class="ask">
  383. <div class="aski"><img src="{AskerPortraitURL-24}">{Asker} said:</div>
  384. <div class="que">{Question}</div>
  385. </div>
  386. <div class="txt cap">{Answer}</div>
  387. {/block:Answer}
  388.  
  389. {block:Caption}<div class="cap">{Caption}</div>{/block:Caption}
  390.  
  391. {block:IndexPage}
  392. {block:HasTags}<div class="tags" style="
  393. {block:Caption}margin-top:0;{/block:Caption}
  394. {block:Text}margin-top:0;{/block:Text}
  395. {block:Link}margin-top:0;{/block:Link}
  396. ">
  397. {block:Tags}<a href="{TagURL}">#{Tag}</a> {/block:Tags}
  398. </div>{/block:HasTags}
  399.  
  400. <div class="p">
  401. <a href="{Permalink}">{NoteCountWithLabel}</a>
  402. <a href="{Permalink}">{ShortMonth} {DayofMonth}</a>
  403. <a href="{ReblogURL}">reblog</a>
  404. </div>
  405. {/block:IndexPage}
  406.  
  407. {block:PermalinkPage}
  408. {block:Date}
  409. <div class="pph">
  410. <div class="perma">
  411. <span class="perma_li">
  412. <span class="oi oi-time"></span> posted {TimeAgo}
  413. </span>
  414. <span class="perma_li">
  415. <span class="oi oi-calendar"></span> {DayofMonthWithSuffix} {Month} {Year}
  416. </span>
  417. {block:RebloggedFrom}
  418. <span class="perma_li">
  419. <span class="oi oi-user"></span> via:
  420. <a href="{ReblogParentURL}">{ReblogParentName}</a>
  421. </span>
  422. <span class="perma_li">
  423. <span class="oi oi-location"></span> source:
  424. <a href="{ReblogRootURL}">{ReblogRootName}</a>
  425. </span>
  426. {/block:RebloggedFrom}
  427.  
  428. {block:HasTags}
  429. <span class="perma_li pmt">
  430. <span class="oi oi-tags"></span>
  431. {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
  432. </span>
  433. {/block:HasTags}
  434. <a href="#" class="pnh perma_li">view {NoteCountWithLabel}</a>
  435. </div>
  436.  
  437. {block:PostNotes}
  438. <div class="pn">{PostNotes}</div>
  439. {/block:PostNotes}
  440.  
  441. </div>
  442.  
  443. {/block:Date}
  444. {/block:PermalinkPage}
  445.  
  446. {block:ContentSource}
  447. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  448. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  449. {/block:SourceLogo}
  450. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  451. {/block:ContentSource}
  452.  
  453. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  454.  
  455. </div>
  456. {/block:Posts}
  457.  
  458. {block:ifPaginate}
  459. {block:Pagination}
  460. <div class="pag">
  461. {block:PreviousPage}
  462. <a href="{PreviousPage}"><i class="oi oi-chevron-left"></i></a>
  463. {/block:PreviousPage}
  464.  
  465. {block:JumpPagination length="3"}
  466. {block:CurrentPage}
  467. <span class="cp">{PageNumber}</span>
  468. {/block:CurrentPage}
  469. {block:JumpPage}
  470. <a class="jp" href="{URL}">{PageNumber}</a>
  471. {/block:JumpPage}
  472. {/block:JumpPagination}
  473.  
  474. {block:NextPage}
  475. <a href="{NextPage}"><i class="oi oi-chevron-right"></i></a>
  476. {/block:NextPage}
  477. </div>
  478. {/block:Pagination}
  479. {/block:ifPaginate}
  480.  
  481. </div>
  482.  
  483. {block:ifnotPaginate}
  484. {block:Pagination}
  485. <div class="pag">
  486. {block:PreviousPage}
  487. <a href="{PreviousPage}" class="prev">back</a>
  488. {/block:PreviousPage}
  489. {block:NextPage}
  490. <a href="{NextPage}" class="next">next</a>
  491. {/block:NextPage}
  492. </div>
  493.  
  494. {block:ifLoadMore}
  495. <a class="load">Load More</a>
  496. {/block:ifLoadMore}
  497. {/block:Pagination}
  498. {/block:ifnotPaginate}
  499.  
  500. </div>
  501.  
  502. <a href="#" class="top"><i class="oi oi-chevron-up"></i></a>
  503. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  504.  
  505. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  506. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  507. <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
  508. <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
  509. <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  510. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  511. <script>
  512. // pxu photosets
  513. $(document).ready(function(){
  514. $('.photo-slideshow').pxuPhotoset({
  515. lightbox: true,
  516. rounded: false,
  517. gutter: '1px',
  518. photoset: '.photo-slideshow',
  519. photoWrap: '.photo-data',
  520. photo: '.pxu-photo'
  521. });
  522.  
  523.  
  524. // minimal soundcloud player © eoxk.tumblr
  525. $(document).ready(function(){
  526. var color = '{color:Link}'; // color of play button (hex)
  527. $('.soundcloud_audio_player').each(function(){
  528. $(this).attr({ src: $(this).attr('src').split('&')[0] + '&amp;liking=false&amp;sharing=false&amp;auto_play=false&amp;show_comments=false&amp;continuous_play=false&amp;buying=false&amp;show_playcount=false&amp;show_artwork=true&amp;origin=tumblr&amp;color=' + color.split('#')[1], height: 20, width: '100%' });
  529. });
  530. });
  531.  
  532.  
  533. // drop links & post notes
  534. $(document).ready(function(){
  535. $(".pn").hide();
  536. $(".pnh").show();$('.pnh').toggle(function(){
  537. $(".pn").slideDown(function(){});
  538. },function(){
  539. $(".pn").slideUp(function(){});
  540. });
  541. $(".lb").hide();
  542. $(".lh").show();$('.lh').toggle(function(){
  543. $(".lb").slideDown(function(){});
  544. },function(){
  545. $(".lb").slideUp(function(){});
  546. });
  547. });
  548.  
  549.  
  550. // scroll to top © html-tuts.com
  551. var amountScrolled = 500;
  552. $(window).scroll(function() {
  553. if ($(window).scrollTop() > amountScrolled) {
  554. $('a.top').fadeIn('slow');
  555. } else {
  556. $('a.top').fadeOut('slow');
  557. }
  558. });
  559. $('a.top').click(function() {
  560. $('body, html').animate({
  561. scrollTop: 0
  562. }, 'slow');
  563. return false;
  564. });
  565.  
  566.  
  567. // tooltips
  568. (function($){
  569. $(document).ready(function(){
  570. $("[title]").style_my_tooltips({
  571. tip_delay_time:200,
  572. tip_fade_speed:300
  573. }
  574. );
  575. });
  576. })(jQuery);
  577.  
  578.  
  579. /*
  580.  
  581. UN-NEST TUMBLR CAPTIONS PLUGIN
  582. 2016 @magnusthemes & @neothm
  583. source: http://neothm.com/post/148902138319
  584.  
  585. */
  586. $('.entry').unnest({
  587. yourCaption: ".cap",
  588. newCaptionUsername: false,
  589. originalPostCaptionUsername: false,
  590. tumblrAvatars: false,
  591. tumblrAvatarClass: ".user-pic",
  592. usernameColon: false
  593. });
  594.  
  595.  
  596. // infinite scroll
  597. {block:ifnotPaginate}
  598. var $container = $('#content');
  599. $container.infinitescroll({
  600. itemSelector: '.entry',
  601. navSelector: '.pag',
  602. nextSelector: '.next',
  603. loadingImg: ' ',
  604. loadingText: ' ',
  605. donetext: 'No more posts' ,
  606. bufferPx: 2000,
  607. {block:ifLoadMore}
  608. errorCallback: function(){
  609. jQuery('.load').delay(50).fadeOut();
  610. }
  611. {/block:ifLoadMore}
  612. },
  613. function( newElements ) {
  614. var $newElems = $( newElements );
  615. var $newElemsIDs = $newElems.map(function(){
  616. return this.id;
  617. }).get();
  618. console.log($newElems, $newElemsIDs);
  619. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  620. $newElems.find('.photo-slideshow').pxuPhotoset({
  621. lightbox: true,
  622. rounded: false,
  623. gutter: '1px',
  624. photoset: '.photo-slideshow',
  625. photoWrap: '.photo-data',
  626. photo: '.pxu-photo'
  627. });
  628. resizeVideos();
  629. $newElems.unnest({
  630. yourCaption: ".cap",
  631. newCaptionUsername: true,
  632. originalPostCaptionUsername: true,
  633. tumblrAvatars: false,
  634. tumblrAvatarClass: ".user-pic",
  635. usernameColon: false
  636. });
  637. });
  638. {block:ifLoadMore}
  639. $(window).unbind(".infscr");
  640. $(".load").click(function(){
  641. $("#content").infinitescroll("retrieve");
  642. });
  643. {/block:ifLoadMore}
  644. {/block:ifnotPaginate}
  645. });
  646.  
  647. </script>
  648. </body>
  649. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement