@@ -24,10 +24,10 @@ const keywords = [
2424
2525const plugins = [
2626 {
27- resolve : ` gatsby-plugin-typescript` ,
27+ resolve : '@dvcorg/ gatsby-theme-iterative' ,
2828 options : {
29- isTSX : true ,
30- allExtensions : true
29+ remark : true ,
30+ cssBase : path . join ( 'src' , 'components' , 'organisms' , 'Page' , 'base.css' )
3131 }
3232 } ,
3333 {
@@ -38,83 +38,14 @@ const plugins = [
3838 }
3939 }
4040 } ,
41- 'gatsby-plugin-postcss' ,
42- 'gatsby-plugin-react-helmet' ,
43- 'gatsby-plugin-sitemap' ,
4441 `gatsby-plugin-theme-ui` ,
45- {
46- resolve : 'gatsby-source-filesystem' ,
47- options : {
48- name : 'content' ,
49- path : path . join ( __dirname , 'content' )
50- }
51- } ,
5242 {
5343 resolve : 'gatsby-source-filesystem' ,
5444 options : {
5545 name : 'images' ,
5646 path : path . join ( __dirname , 'static' , 'img' )
5747 }
5848 } ,
59- {
60- resolve : 'gatsby-transformer-remark' ,
61- options : {
62- plugins : [
63- 'gatsby-remark-embedder' ,
64- {
65- resolve : 'gatsby-remark-prismjs' ,
66- options : {
67- noInlineHighlight : true ,
68- languageExtensions : [
69- {
70- language : 'text' ,
71- definition : { }
72- }
73- ]
74- }
75- } ,
76- {
77- resolve : 'gatsby-remark-smartypants' ,
78- options : {
79- quotes : false
80- }
81- } ,
82- `gatsby-plugin-robots-txt` ,
83- {
84- resolve : 'gatsby-remark-embed-gist' ,
85- options : {
86- includeDefaultCss : true
87- }
88- } ,
89- 'gatsby-remark-relative-images' ,
90- 'gatsby-remark-copy-linked-files' ,
91- 'gatsby-remark-external-links' ,
92- {
93- resolve : 'gatsby-remark-autolink-headers' ,
94- options : {
95- enableCustomId : true ,
96- isIconAfterHeader : true
97- }
98- } ,
99- {
100- resolve : 'gatsby-remark-images' ,
101- options : {
102- maxWidth : 700 ,
103- withWebp : true ,
104- quality : 90
105- }
106- } ,
107- 'gatsby-remark-responsive-iframe'
108- ]
109- }
110- } ,
111- {
112- resolve : 'gatsby-plugin-svgr' ,
113- options : {
114- ref : true
115- }
116- } ,
117- 'gatsby-plugin-sharp' ,
11849 'gatsby-plugin-catch-links' ,
11950 {
12051 resolve : 'gatsby-plugin-manifest' ,
@@ -238,8 +169,12 @@ module.exports = {
238169 description,
239170 author : 'Iterative' ,
240171 keywords,
241- siteUrl : 'https://cml.dev' ,
242- title
172+ title,
173+ siteUrl : process . env . HEROKU_APP_NAME
174+ ? `https://${ process . env . HEROKU_APP_NAME } .herokuapp.com`
175+ : 'https://cml.dev' ,
176+ twitterUsername : '@DVCorg' ,
177+ titleTemplate : '%s | CML'
243178 } ,
244179 developMiddleware : app => {
245180 app . use ( redirectsMiddleware )
0 commit comments