mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-10 06:54:13 +08:00
#85773 removed unneccessary disital ocean tamplate elements from generator page
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user