Browse Source

Google Search Console Verification Page

Associated with Joshua Gleitze’s Google Account.
Joshua Gleitze 2 years ago
parent
commit
4f31de5f7b
2 changed files with 11 additions and 1 deletions
  1. 10 1
      gulpfile.js
  2. 1 0
      static/google6a4caa96597b7ffe.html

+ 10 - 1
gulpfile.js

@@ -29,6 +29,7 @@ let builddir = 'build';
 const releasedir = 'release';
 const stylesheets = 'style/**/*.scss';
 const scripts = 'script/**/*.js';
+const miscstaticfiles = 'static/**/*';
 const contentsources = 'content/**/*.pug';
 const graphicfiles = ['graphic/**/*', 'favicon.ico'];
 const tutorenfiles = 'images/tutoren/*.jpg';
@@ -98,6 +99,14 @@ function graphics() {
 		.pipe(gulp.dest(builddir));
 }
 
+/**
+ * Copies miscelangelous static files to the build dir.
+ */
+function miscstatic() {
+	return gulp.src(miscstaticfiles)
+		.pipe(gulp.dest(builddir));
+}
+
 /**
  * Copies an resizes images to the build dir.
  */
@@ -226,7 +235,7 @@ function upload() {
 }
 
 gulp.task('clean', cleanbuilddir);
-gulp.task('build', gulp.parallel(style, content, graphics, images));
+gulp.task('build', gulp.parallel(style, content, graphics, images, miscstatic));
 gulp.task('buildrelease', gulp.series(setreleasemode, 'clean', 'build', revision));
 gulp.task('watch', gulp.series('clean', 'build', gulp.parallel(watch, serve)));
 gulp.task('serverelease', gulp.series('buildrelease', serve));

+ 1 - 0
static/google6a4caa96597b7ffe.html

@@ -0,0 +1 @@
+google-site-verification: google6a4caa96597b7ffe.html