Skip to content

Commit

Permalink
Merge 13611dd into 4b92f2e
Browse files Browse the repository at this point in the history
  • Loading branch information
jimaek committed Mar 8, 2021
2 parents 4b92f2e + 13611dd commit ae6f2c5
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 482 deletions.
5 changes: 0 additions & 5 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ app.use('/bootswatch4/', routes.bootswatch4Route);
app.use('/data/bootstrapcdn.json', routes.dataRoute);
app.use('/fontawesome/', routes.fontawesomeRoute);
app.use('/integrations/', routes.integrationsRoute);
app.use('/jobs/', routes.jobsRoute);
app.use('/legacy', routes.legacyRoutes);
app.use('/privacy-policy/', routes.privacyPolicyRoute);
app.use('/showcase/', routes.showcaseRoute);
app.use('/themes/', routes.themesRoute);

Expand All @@ -159,9 +157,6 @@ const map = sitemap({
'/bootswatch4/': {
hide: true
},
'/jobs/': {
hide: true
},
'/legacy/': {
hide: true
},
Expand Down
4 changes: 2 additions & 2 deletions config/_app.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
port: 3333
theme: 1
siteurl: 'https://www.bootstrapcdn.com'
description: 'The recommended CDN for Bootstrap, Font Awesome and Bootswatch.'
title_suffix: 'BootstrapCDN by StackPath'
description: 'The recommended free CDN for Bootstrap, Font Awesome and Bootswatch.'
title_suffix: 'BootstrapCDN'
authors:
inactive:
- name: Justin Dorfman
Expand Down
2 changes: 1 addition & 1 deletion public/assets/js/google-analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
m=s.getElementsByTagName(o)[0];a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-32253110-1', 'bootstrapcdn.com');
ga('create', 'G-WWCYVX0YTQ', 'bootstrapcdn.com');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
/* eslint-enable */
Expand Down
4 changes: 0 additions & 4 deletions routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ const dataRoute = require('./data');
const fontawesomeRoute = require('./fontawesome');
const indexRoute = require('./home');
const integrationsRoute = require('./integrations');
const jobsRoute = require('./jobs');
const legacyRoutes = require('./legacy');
const privacyPolicyRoute = require('./privacyPolicy');
const redirectToRoot = require('./redirectToRoot');
const showcaseRoute = require('./showcase');
const themesRoute = require('./themes');
Expand All @@ -29,9 +27,7 @@ const routes = {
fontawesomeRoute,
indexRoute,
integrationsRoute,
jobsRoute,
legacyRoutes,
privacyPolicyRoute,
redirectToRoot,
showcaseRoute,
themesRoute
Expand Down
18 changes: 0 additions & 18 deletions routes/privacyPolicy.js

This file was deleted.

40 changes: 0 additions & 40 deletions test/jobs_test.js

This file was deleted.

40 changes: 0 additions & 40 deletions test/privacy_policy_test.js

This file was deleted.

7 changes: 1 addition & 6 deletions views/_partials/footer.pug
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ footer.mt-5.py-4.text-center.border-top
else if (index > 0)
| ,
a(href=author.url, rel='noopener nofollow', target='_blank')=`@${author.twitter}`

p
a(href='https://www.stackpath.com/?utm_campaign=Partner%20Display&utm_source=Partner%20Display&utm_medium=bootstrapcdn', title='StackPath', rel='noopener', target='_blank')
include /assets/img/stackpath-logo-reversed-screen.svg

p
| Homies be
each friend, index in config.app.friends
Expand All @@ -27,6 +22,6 @@ footer.mt-5.py-4.text-center.border-top
a(href=friend.url, rel=`noopener${friend.nofollow !== false ? " nofollow" : ""}`, target='_blank')=friend.name

p.
#[a(href='/about/') About] · #[a(href='/privacy-policy/') Privacy Policy]
#[a(href='/about/') About] · #[a(href='https://www.jsdelivr.com/terms/privacy-policy-jsdelivr-net', target='_blank') Privacy Policy]

//- vim: ft=pug sw=4 sts=4 et:
4 changes: 0 additions & 4 deletions views/_partials/iconfinder-alert.pug

This file was deleted.

10 changes: 4 additions & 6 deletions views/_partials/jumbotron.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,21 @@
h1.display-5 BootstrapCDN

p.lead
| The recommended
a(href='https://www.stackpath.com/products/cdn/?utm_campaign=Partner%20Display&utm_source=Partner%20Display&utm_medium=bootstrapcdn', rel='noopener', target='_blank') CDN
| The recommended CDN
| for
a(href='https://getbootstrap.com/', rel='noopener nofollow', target='_blank') Bootstrap
| ,
a(href='https://fontawesome.com/', rel='noopener nofollow', target='_blank') Font Awesome
| and
a(href='https://bootswatch.com/', rel='noopener nofollow', target='_blank') Bootswatch
| .
| powered by
a(href='https://www.jsdelivr.com', target='_blank') jsDelivr

.social.my-4.text-center
ul.list-inline
li.list-inline-item.d-block.d-sm-inline-block.mr-sm-3
object(data='https://img.shields.io/github/stars/MaxCDN/bootstrapcdn.svg?style=social', type='image/svg+xml', aria-hidden='true', width='100', height='20')
li.list-inline-item.d-block.d-sm-inline-block.mx-sm-3
a.twitter-follow-button(href='https://twitter.com/getbootstrapcdn', data-show-count='false') Follow @getbootstrapcdn
li.list-inline-item.d-block.d-sm-inline-block.ml-sm-3
a.twitter-share-button(href=encodeURI('https://twitter.com/intent/tweet?hashtags=webperf&related=mervinej,jdorfman,xhmikosr&text=#BootstrapCDN: @getbootstrap hosted by @StackPath&url=https://www.bootstrapcdn.com/&via=getbootstrapcdn')) Tweet
a.twitter-follow-button(href='https://twitter.com/jsdelivr', data-show-count='false') Follow @jsDelivr

//- vim: ft=pug sw=4 sts=4 et:
1 change: 0 additions & 1 deletion views/_partials/nav.pug
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ nav.navbar.navbar-expand-xl.navbar-dark.bg-dark
ul.nav.navbar-nav.ml-auto
+menuItem('Themes', '/themes/', true)
+menuItem('Books', '/books/', true)
+menuItem('Jobs', '/jobs/', true)
+menuItem('Showcase', '/showcase/')
+menuItem('Integrations', '/integrations/')
li.nav-item.dropdown
Expand Down
2 changes: 1 addition & 1 deletion views/about.pug
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ block content
p.
In May 2018, we created #[a(href='https://opencollective.com/getbootstrapcdn', rel='noopener', target='_blank') an organization on Open Collective].
We use the collective for any money we make from ethical advertisements (#[a(href='https://codefund.io/invite/EBoAxC6PuGU', rel='noopener', target='_blank') CodeFund])
and affiliate commissions (#[a(href='/themes/') Themes], #[a(href='/books/') Books] and #[a(href='/jobs/') Jobs]).
and affiliate commissions (#[a(href='/themes/') Themes] and #[a(href='/books/') Books].
This allows us to do the following:

ul
Expand Down
2 changes: 0 additions & 2 deletions views/fontawesome.pug
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
extends layout.pug

block content
include _partials/iconfinder-alert.pug

h2.text-center.mb-4 Font Awesome

.card.bg-light.mt-4.p-4.text-center
Expand Down
26 changes: 0 additions & 26 deletions views/jobs.pug

This file was deleted.

0 comments on commit ae6f2c5

Please sign in to comment.