├── casper.yaml
├── screenshot.jpg
├── thumbnail.jpg
├── assets
├── images
│ ├── design.jpg
│ ├── ghost.png
│ ├── grapes.jpg
│ ├── locked.jpg
│ ├── piano.jpg
│ ├── blog-icon.png
│ ├── favicon.png
│ ├── blog-cover.jpg
│ └── ghost-logo.svg
├── built
│ ├── medium-zoom.css
│ ├── cards.css
│ ├── screen.edited.css
│ ├── screen.edited.css.map
│ ├── global.css
│ ├── syntax.css
│ ├── global.css.map
│ ├── syntax.css.map
│ └── screen.css
└── js
│ ├── infinitescroll.js
│ ├── jquery.fitvids.js
│ ├── smooth-scroll.polyfills.14.2.1.min.js
│ └── medium-zoom-1.1.0.min.js
├── languages.yaml
├── templates
├── icons
│ ├── ethereum.svg
│ ├── twitch.svg
│ ├── flickr.svg
│ ├── gitlab.svg
│ ├── tumblr.svg
│ ├── rss.svg
│ ├── arrow-left.svg
│ ├── arrow-right.svg
│ ├── facebook.svg
│ ├── stackoverflow.svg
│ ├── email.svg
│ ├── about.svg
│ ├── youtube.svg
│ ├── linkedin.svg
│ ├── twitter.svg
│ ├── medium.svg
│ ├── spotify.svg
│ ├── github.svg
│ ├── docker.svg
│ ├── bitcoin.svg
│ ├── steam.svg
│ ├── bitbucket.svg
│ ├── dribbble.svg
│ ├── discord.svg
│ ├── instagram.svg
│ └── keybase.svg
├── partials
│ ├── header.html.twig
│ ├── base.html.twig
│ ├── head.html.twig
│ ├── post-mini.html.twig
│ ├── share.html.twig
│ ├── post-card.html.twig
│ ├── footer.html.twig
│ ├── navbar.twig
│ └── navbar.html.twig
├── home.html.twig
├── default.html.twig
├── archive.html.twig
├── blog.html.twig
└── item.html.twig
├── blueprints
├── default.yaml
└── blog.yaml
├── LICENSE
├── CHANGELOG.md
├── casper.php
├── blueprints.yaml
└── README.md
/casper.yaml:
--------------------------------------------------------------------------------
1 | enabled: true
2 | dropdown:
3 | enabled: false
4 |
--------------------------------------------------------------------------------
/screenshot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/screenshot.jpg
--------------------------------------------------------------------------------
/thumbnail.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/thumbnail.jpg
--------------------------------------------------------------------------------
/assets/images/design.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/design.jpg
--------------------------------------------------------------------------------
/assets/images/ghost.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/ghost.png
--------------------------------------------------------------------------------
/assets/images/grapes.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/grapes.jpg
--------------------------------------------------------------------------------
/assets/images/locked.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/locked.jpg
--------------------------------------------------------------------------------
/assets/images/piano.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/piano.jpg
--------------------------------------------------------------------------------
/assets/images/blog-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/blog-icon.png
--------------------------------------------------------------------------------
/assets/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/favicon.png
--------------------------------------------------------------------------------
/assets/images/blog-cover.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/diomed/casper/HEAD/assets/images/blog-cover.jpg
--------------------------------------------------------------------------------
/languages.yaml:
--------------------------------------------------------------------------------
1 | en:
2 | THEME_CASPER:
3 | POST_ARCHIVE: "Post Archive"
4 | TO_TOP: "To Top"
5 | SHARE_THIS: "Share this"
6 |
7 | fr:
8 | THEME_CASPER:
9 | POST_ARCHIVE: "Archives"
10 | TO_TOP: "Haut de la page"
11 | SHARE_THIS: "Partager"
12 |
--------------------------------------------------------------------------------
/templates/icons/ethereum.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/twitch.svg:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/templates/icons/flickr.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/gitlab.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/tumblr.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/rss.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/arrow-left.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/arrow-right.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/facebook.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/stackoverflow.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/icons/email.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/templates/partials/header.html.twig:
--------------------------------------------------------------------------------
1 |
5 |
7 |
6 |
{{ theme_config.tagline }}
8 |
x
'; 29 | head.appendChild(div.childNodes[1]); 30 | } 31 | 32 | if ( options ) { 33 | $.extend( settings, options ); 34 | } 35 | 36 | return this.each(function(){ 37 | var selectors = [ 38 | 'iframe[src*="player.vimeo.com"]', 39 | 'iframe[src*="youtube.com"]', 40 | 'iframe[src*="youtube-nocookie.com"]', 41 | 'iframe[src*="kickstarter.com"][src*="video.html"]', 42 | 'object', 43 | 'embed' 44 | ]; 45 | 46 | if (settings.customSelector) { 47 | selectors.push(settings.customSelector); 48 | } 49 | 50 | var ignoreList = '.fitvidsignore'; 51 | 52 | if(settings.ignore) { 53 | ignoreList = ignoreList + ', ' + settings.ignore; 54 | } 55 | 56 | var $allVideos = $(this).find(selectors.join(',')); 57 | $allVideos = $allVideos.not('object object'); // SwfObj conflict patch 58 | $allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video. 59 | 60 | $allVideos.each(function(){ 61 | var $this = $(this); 62 | if($this.parents(ignoreList).length > 0) { 63 | return; // Disable FitVids on this video. 64 | } 65 | if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; } 66 | if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width')))) 67 | { 68 | $this.attr('height', 9); 69 | $this.attr('width', 16); 70 | } 71 | var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(), 72 | width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(), 73 | aspectRatio = height / width; 74 | if(!$this.attr('name')){ 75 | var videoName = 'fitvid' + $.fn.fitVids._count; 76 | $this.attr('name', videoName); 77 | $.fn.fitVids._count++; 78 | } 79 | $this.wrap('