diff --git a/_src/_layouts/about.html b/_src/_layouts/about.html index 9b9f748..627b556 100644 --- a/_src/_layouts/about.html +++ b/_src/_layouts/about.html @@ -43,8 +43,8 @@ layout: base
@@ -56,8 +56,8 @@ layout: base @@ -69,8 +69,8 @@ layout: base diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb-square.png b/_src/mediakit/logo/logo-bigchaindb-square.png similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb-square.png rename to _src/mediakit/logo/logo-bigchaindb-square.png diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb-square.svg b/_src/mediakit/logo/logo-bigchaindb-square.svg similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb-square.svg rename to _src/mediakit/logo/logo-bigchaindb-square.svg diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb-white.png b/_src/mediakit/logo/logo-bigchaindb-white.png similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb-white.png rename to _src/mediakit/logo/logo-bigchaindb-white.png diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb-white.svg b/_src/mediakit/logo/logo-bigchaindb-white.svg similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb-white.svg rename to _src/mediakit/logo/logo-bigchaindb-white.svg diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb.png b/_src/mediakit/logo/logo-bigchaindb.png similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb.png rename to _src/mediakit/logo/logo-bigchaindb.png diff --git a/_src/_assets/mediakit/logo/logo-bigchaindb.svg b/_src/mediakit/logo/logo-bigchaindb.svg similarity index 100% rename from _src/_assets/mediakit/logo/logo-bigchaindb.svg rename to _src/mediakit/logo/logo-bigchaindb.svg diff --git a/_src/robots.txt b/_src/robots.txt index b625914..75fde4d 100644 --- a/_src/robots.txt +++ b/_src/robots.txt @@ -4,7 +4,7 @@ User-agent: * Disallow: /usecases/*.pdf$ -Disallow: /assets/mediakit/ +Disallow: /mediakit/ Disallow: /mediakit-bigchaindb.zip Sitemap: {{ site.url }}/sitemap.xml diff --git a/docs/mediakit.md b/docs/mediakit.md index 8cb60d0..f128d09 100644 --- a/docs/mediakit.md +++ b/docs/mediakit.md @@ -2,10 +2,10 @@ ![giphy](https://user-images.githubusercontent.com/90316/29563895-dde966ae-873f-11e7-976b-c2f0fa9578b6.gif) -Media kit lives under [`_src/_assets/mediakit/`](../_src/_assets/mediakit/). The folder structure will be reflected in the final zip file always available under [https://www.bigchaindb.com/mediakit-bigchaindb.zip](https://www.bigchaindb.com/mediakit-bigchaindb.zip). +Media kit lives under [`_src/mediakit/`](../_src/mediakit/). The folder structure will be reflected in the final zip file always available under [https://www.bigchaindb.com/mediakit-bigchaindb.zip](https://www.bigchaindb.com/mediakit-bigchaindb.zip). The zip file will be created automatically upon site build. File names in the `logo` folder should not be changed, those assets are used on the About page for the logo downloads. ## Editing media kit -All contents of the `_src/_assets/mediakit/` folder can be edited on GitHub. Whatever is put in there will be part of the final zip package after the next site build and deployment. +All contents of the `_src/mediakit/` folder can be edited on GitHub. Whatever is put in there will be part of the final zip package after the next site build and deployment. diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 11b5440..a82a5d2 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -239,19 +239,12 @@ export const fonts = () => src(SRC + '_assets/fonts/**/*') .pipe(dest(DIST + 'assets/fonts/')) -// -// Copy mediakit -// -export const mediakit = () => src(SRC + '_assets/mediakit/**/*') - .pipe(dest(DIST + 'assets/mediakit/')) - - // // Zip up media kit // -export const mediakitzip = () => src([ - SRC + '_assets/mediakit/**/*'], - { base: SRC + '_assets/' } +export const mediakit = () => src([ + SRC + 'mediakit/**/*'], + { base: SRC } ) .pipe($.zip('mediakit-bigchaindb.zip')) .pipe(dest(DIST)) @@ -353,7 +346,7 @@ const deployBanner = (done) => { // `gulp build` is the development build // `gulp build --production` is the production build // -export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, mediakit, mediakitzip), rev, revReplace, criticalCss) +export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg, mediakit), rev, revReplace, criticalCss) // // Build site, run server, and watch for file changes