This file contains 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
// Set file variable | |
$filename: 'scss/blocks/_pagination.scss'; | |
//////////////////////////////////////////////////////////////////////////////// | |
// @Pagination Map | |
//////////////////////////////////////////////////////////////////////////////// |
This file contains 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
// Require Packages | |
var gulp = require('gulp'); | |
// Paths variable | |
var paths = { | |
themes: 'wp-content/themes/', | |
shared: 'shared/', | |
src: 'src/', | |
dest: 'dist/' | |
}; |
This file contains 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> | |
<!-- Required Meta Data --> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>BaseWeb</title> |
This file contains 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
{%- capture type -%} | |
{%- if page.layout == "post" -%} | |
posts | |
{%- elsif page.collection -%} | |
{{ page.collection }} | |
{%- else -%} | |
pages | |
{%- endif -%} | |
{%- endcapture -%} |
This file contains 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
// npm install --save-dev through2 | |
import through2 from 'through2' | |
// Add this pipe before your gulp.dest() call | |
// ... | |
.pipe(through2.obj(function(file, enc, cb) { | |
var date = new Date() | |
file.stat.atime = date | |
file.stat.mtime = date | |
cb(null, file) |
This file contains 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
# ------------------------------------------------------------------------------ | |
# Bash Profile | |
# --- | |
# This file is loaded whenever a console or terminal window is opened. It can | |
# also be reloaded by using the `profile` alias. | |
# | |
# GitHub Gist: | |
# https://gist.github.com/sebnitu/a4dceab1df590cd51d3e8d450590ee01 | |
# | |
# Bookmarks: |