Skip to content

Instantly share code, notes, and snippets.

@d1i1m1o1n
Forked from lineharo/header.pug
Created February 23, 2018 21:12
Show Gist options
  • Save d1i1m1o1n/e55a6441fe660212ec17de0b52d59f8f to your computer and use it in GitHub Desktop.
Save d1i1m1o1n/e55a6441fe660212ec17de0b52d59f8f to your computer and use it in GitHub Desktop.
PUG - auto version .css or another files in HTML head
- function pDate() {
- return new Date().getTime();
- }
doctype html
html(lang="ru")
head
meta(charset="utf-8")
title TITLE
script(src="script.js?v" + pDate())
link(rel="stylesheet" href= "style.css?v" + pDate())
body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment