0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Rename tmpl directory to tpl and remove content level

Should close #137.
This commit is contained in:
Jacob Gable 2013-06-16 19:20:10 -05:00
parent bc3b8541ab
commit ccdb63cc71
15 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View file

@ -23,7 +23,7 @@ projectFilesBackup
# Ghost DB file
*.db
/core/admin/assets/tmpl/hbs-tmpl.js
/core/admin/assets/tpl/hbs-tpl.js
/core/admin/assets/css
/core/admin/assets/sass/modules/bourbon
.sass-cache/

View file

@ -33,7 +33,7 @@
// Lint files in the root, including Gruntfile.js
"*.js",
// Lint core files, but not libs
["core/**/*.js", "!**/assets/lib/**/*.js", "!**/assets/tmpl/*.js"]
["core/**/*.js", "!**/assets/lib/**/*.js", "!**/assets/tpl/*.js"]
]
},
@ -92,19 +92,19 @@
options: {
namespace: "JST",
processName: function (filename) {
filename = filename.replace('./core/admin/assets/tmpl/', '');
filename = filename.replace('./core/admin/assets/tpl/', '');
return filename.replace('.hbs', '');
}
},
files: {
"<%= paths.adminAssets %>/tmpl/hbs-tmpl.js": "<%= paths.adminAssets %>/tmpl/**/*.hbs"
"<%= paths.adminAssets %>/tpl/hbs-tpl.js": "<%= paths.adminAssets %>/tpl/**/*.hbs"
}
}
},
watch: {
handlebars: {
files: '<%= paths.adminAssets %>/tmpl/**/*.hbs',
files: '<%= paths.adminAssets %>/tpl/**/*.hbs',
tasks: ['handlebars']
},
sass: {

View file

@ -48,7 +48,7 @@
<script src="/core/admin/assets/lib/packery.pkgd.min.js"></script>
<script src="/core/admin/assets/js/init.js"></script>
<script src="/core/admin/assets/tmpl/hbs-tmpl.js"></script>
<script src="/core/admin/assets/tpl/hbs-tpl.js"></script>
<script src="/core/admin/assets/js/toggle.js"></script>
<script src="/core/admin/assets/js/admin-ui-temp.js"></script>
<script src="/core/admin/assets/js/markdown-actions.js"></script>