diff --git a/src/nginxconfig/templates/app.vue b/src/nginxconfig/templates/app.vue
index 6c2b697..771c0b3 100644
--- a/src/nginxconfig/templates/app.vue
+++ b/src/nginxconfig/templates/app.vue
@@ -23,8 +23,12 @@ limitations under the License.
- Single column mode
- Split column mode
+
+ Single column mode
+
+
+ Split column mode
+
@@ -66,12 +70,13 @@ limitations under the License.
Config files
-
-
{{ nginxDir }}/{{ conf[0] }}
-
-
+
@@ -82,11 +87,11 @@ limitations under the License.
diff --git a/src/nginxconfig/templates/setup_sections/certbot.vue b/src/nginxconfig/templates/setup_sections/certbot.vue
index 99d091a..5a4b45e 100644
--- a/src/nginxconfig/templates/setup_sections/certbot.vue
+++ b/src/nginxconfig/templates/setup_sections/certbot.vue
@@ -116,10 +116,10 @@
mounted() {
this.$nextTick(() => this.certbotCmds());
this.$nextTick(() => this.sitesAvailable());
- this.$nextTick(() => Prism.highlightElement(this.$refs.reload, true));
- this.$nextTick(() => Prism.highlightElement(this.$refs.reload2, true));
- this.$nextTick(() => Prism.highlightElement(this.$refs.renewal, true));
- this.$nextTick(() => Prism.highlightElement(this.$refs.chmod, true));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.reload));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.reload2));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.renewal));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.chmod));
},
methods: {
certbotCmds() {
@@ -139,7 +139,7 @@
].filter(x => x !== null).join(' ')
)).join('\n');
- this.$nextTick(() => Prism.highlightElement(this.$refs.certBot, true));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.certBot));
},
sitesAvailable() {
if (!this.$refs.commentOut) return;
@@ -156,8 +156,8 @@
this.$refs.commentOut.textContent = `sed -i -r 's/(listen .*443)/\\1;#/g; s/(ssl_(certificate|certificate_key|trusted_certificate) )/#;#\\1/g' ${sitesAvailable}`;
this.$refs.unComment.textContent = `sed -i -r 's/#?;#//g' ${sitesAvailable}`;
- this.$nextTick(() => Prism.highlightElement(this.$refs.commentOut, true));
- this.$nextTick(() => Prism.highlightElement(this.$refs.unComment, true));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.commentOut));
+ this.$nextTick(() => Prism.highlightElement(this.$refs.unComment));
},
},
};