#85773 removed unneccessary disital ocean tamplate elements from generator page
This commit is contained in:
parent
e49ec084ac
commit
baa2c8f1a0
|
@ -11,7 +11,7 @@
|
|||
"scripts": {
|
||||
"build": "npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool",
|
||||
"build:clean": "do-vue clean",
|
||||
"build:template": "do-vue template && node src/nginxconfig/build/template.js",
|
||||
"build:template": "node src/nginxconfig/build/template.js",
|
||||
"build:prism": "node src/nginxconfig/build/prism.js",
|
||||
"build:static": "copyfiles --up 2 src/static/{*,**/*} dist",
|
||||
"build:tool": "vue-cli-service build src/nginxconfig/mount.js --no-clean",
|
||||
|
|
|
@ -33,7 +33,7 @@ const main = () => {
|
|||
let template = fs.readFileSync(path.join(buildDir, 'base.html'), 'utf8');
|
||||
|
||||
// Inject our title now
|
||||
template = template.replace('<block name="title"><title>DigitalOcean</title></block>', '<title>NGINXConfig | DigitalOcean</title>');
|
||||
template = template.replace('<block name="title"><title>DigitalOcean</title></block>', '<title>NGINXConfig | REG.RU</title>');
|
||||
|
||||
// We don't need the head/script blocks, vue-cli-service handles those
|
||||
template = template.replace('<block name="head"></block>', '');
|
||||
|
|
|
@ -110,9 +110,6 @@ THE SOFTWARE.
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<Footer></Footer>
|
||||
<ContributeCallout></ContributeCallout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue