diff --git a/pinaxcon/templates/_scripts.html b/pinaxcon/templates/_scripts.html index 518102b..b3cdce5 100644 --- a/pinaxcon/templates/_scripts.html +++ b/pinaxcon/templates/_scripts.html @@ -1 +1,6 @@ - +{% load compress %} +{% load staticfiles %} + +{% compress js %} + +{% endcompress %} diff --git a/static/STATIC_README.md b/static/STATIC_README.md deleted file mode 100644 index 1575caf..0000000 --- a/static/STATIC_README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Static Media - -We are using `gulp` and `npm` for our static build process. - -Do NOT edit anything in the `dist/` directory. - -Local development uses media from `dist/` and we are firm believers in building -static assets and committing them to the repo before deployments. This way we -always are testing and exercise exactly what will be served in production. It -also makes our deployment simpler. diff --git a/static/src/js/site.js b/static/js/site.js similarity index 100% rename from static/src/js/site.js rename to static/js/site.js diff --git a/static/src/hbs/_scripts.hbs b/static/src/hbs/_scripts.hbs deleted file mode 100644 index ea0e2a9..0000000 --- a/static/src/hbs/_scripts.hbs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/static/src/hbs/_styles.hbs b/static/src/hbs/_styles.hbs deleted file mode 100644 index c5371d0..0000000 --- a/static/src/hbs/_styles.hbs +++ /dev/null @@ -1 +0,0 @@ -