This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| doctype html | |
| html(lang="en") | |
| head | |
| meta(charset="UTF-8") | |
| meta(name="viewport", content="width=device-width, initial-scale=1.0") | |
| meta(http-equiv="X-UA-Compatible", content="ie=edge") | |
| title Webpack app | |
| body | |
| h1 test pug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var parallaxContainer = document.getElementById('parallax'), | |
| layers = parallaxContainer.children; | |
| var moveLayers = function (e) { | |
| var initialX = (window.innerWidth / 2) - e.pageX, | |
| initialY = (window.innerHeight / 2) - e.pageY; | |
| [].slice.call(layers).forEach(function (layer, i) { | |
| var divider = i / 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Animate CSS + WayPoints javaScript Plugin | |
| //Example: $(".element").animated("zoomInUp", "zoomOutDown"); | |
| //Author URL: http://webdesign-master.ru | |
| (function($) { | |
| $.fn.animated = function(inEffect, outEffect) { | |
| $(this).css("opacity", "0").addClass("animated").waypoint(function(dir) { | |
| if (dir === "down") { | |
| $(this).removeClass(outEffect).addClass(inEffect).css("opacity", "1"); | |
| } else { | |
| $(this).removeClass(inEffect).addClass(outEffect).css("opacity", "1"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Alerts | |
| @include alert-variant($background, $border, $text-color); | |
| // Background Variant | |
| @include bg-variant($parent, $color); | |
| // Border Radius | |
| @include border-top-radius($radius); | |
| @include border-right-radius($radius); | |
| @include border-bottom-radius($radius); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $idObj = get_category_by_slug('s_about'); | |
| $id = $idObj->term_id; | |
| echo get_cat_name($id); | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php echo get_post_meta($post->ID, 'year', true); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( has_post_thumbnail() ) : ?> | |
| <a class="popup" href="<?php echo wp_get_attachment_image_src(get_post_thumbnail_id(),'large')[0]; | |
| ?>" title="<?php the_title_attribute(); ?>"> | |
| <?php the_post_thumbnail(array(260,260)); ?> | |
| </a> | |
| <?php endif; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| show_admin_bar(false); | |
| add_theme_support('post-thumbnails'); | |
| remove_action( 'wp_head', 'feed_links_extra', 3 ); | |
| remove_action( 'wp_head', 'feed_links', 2 ); | |
| remove_action( 'wp_head', 'rsd_link' ); | |
| remove_action('wp_head', 'wlwmanifest_link'); | |
| remove_action('wp_head', 'wp_generator'); |
NewerOlder