Skip to content

Commit

Permalink
UJ: Merged from template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwieds committed May 26, 2024
2 parents 7070750 + 88be1fe commit 8b48232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _websrc/gulp_tasks/master/_prefill.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,11 @@ gulp.task('_prefill', () => {

// only create these files if NOT on template
if (!tools.isTemplate) {
// Create settings.json to hide master files
await createFile(`.vscode/settings.json`, await readFile('./_websrc/templates/master/vscode/settings.json'));

// Create app blog post layout
await createFile(`./_layouts/app/blog/post.html`, await readFile('./_websrc/templates/app/placeholder/blog/post.html'));
}

// only create these files if IS ON template and IS NOT server
Expand Down
4 changes: 4 additions & 0 deletions _websrc/templates/app/placeholder/blog/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
layout: master/placeholder/blog/post
---
{{ content }}

0 comments on commit 8b48232

Please sign in to comment.