Skip to content

Commit

Permalink
jade -> pug
Browse files Browse the repository at this point in the history
  • Loading branch information
metaflow committed Mar 16, 2024
1 parent ea2e9e2 commit 98a22b6
Show file tree
Hide file tree
Showing 9 changed files with 2,264 additions and 3,198 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var logger = require('morgan');
var app = express();

app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'jade');
app.set('view engine', 'pug');

app.use(logger('dev'));
app.use(express.json());
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ gulp.task('js', function () {
.pipe(gulp.dest('./static'));
});

var jade = require('gulp-jade');
var pug = require('gulp-pug');
gulp.task('templates', function () {
return gulp.src('./views/*.jade')
.pipe(jade({
return gulp.src('./views/*.pug')
.pipe(pug({
locals: {
'title': 'Apex Legends Recoils'
}
Expand Down
Loading

0 comments on commit 98a22b6

Please sign in to comment.