164
164
//- disabled
165
165
//- )
166
166
167
+ v-card.mt-5.animated.fadeInUp.wait-p6s
168
+ v-toolbar( color ='primary' , dark , dense , flat )
169
+ v-toolbar-title.subtitle-1 URL Handling
170
+ v-card-text
171
+ v-text-field(
172
+ outlined
173
+ :label ='$t(`admin:general.pageExtensions`)'
174
+ v-model ='config.pageExtensions'
175
+ prepend-icon ='mdi-format-text-wrapping-overflow'
176
+ :hint ='$t(`admin:general.pageExtensionsHint`)'
177
+ persistent-hint
178
+ )
179
+
167
180
component( :is ='activeModal' )
168
181
169
182
</template >
@@ -202,7 +215,8 @@ export default {
202
215
featurePageRatings: false ,
203
216
featurePageComments: false ,
204
217
featurePersonalWikis: false ,
205
- featureTinyPNG: false
218
+ featureTinyPNG: false ,
219
+ pageExtensions: ' '
206
220
},
207
221
metaRobots: [
208
222
{ text: ' Index' , value: ' index' },
@@ -247,32 +261,34 @@ export default {
247
261
await this .$apollo .mutate ({
248
262
mutation: gql `
249
263
mutation (
250
- $host : String !
251
- $title : String !
252
- $description : String !
253
- $robots : [String ]!
254
- $analyticsService : String !
255
- $analyticsId : String !
256
- $company : String !
257
- $contentLicense : String !
258
- $logoUrl : String !
259
- $featurePageRatings : Boolean !
260
- $featurePageComments : Boolean !
261
- $featurePersonalWikis : Boolean !
264
+ $host : String
265
+ $title : String
266
+ $description : String
267
+ $robots : [String ]
268
+ $analyticsService : String
269
+ $analyticsId : String
270
+ $company : String
271
+ $contentLicense : String
272
+ $logoUrl : String
273
+ $pageExtensions : String
274
+ $featurePageRatings : Boolean
275
+ $featurePageComments : Boolean
276
+ $featurePersonalWikis : Boolean
262
277
) {
263
278
site {
264
279
updateConfig (
265
- host : $host ,
266
- title : $title ,
267
- description : $description ,
268
- robots : $robots ,
269
- analyticsService : $analyticsService ,
270
- analyticsId : $analyticsId ,
271
- company : $company ,
272
- contentLicense : $contentLicense ,
273
- logoUrl : $logoUrl ,
274
- featurePageRatings : $featurePageRatings ,
275
- featurePageComments : $featurePageComments ,
280
+ host : $host
281
+ title : $title
282
+ description : $description
283
+ robots : $robots
284
+ analyticsService : $analyticsService
285
+ analyticsId : $analyticsId
286
+ company : $company
287
+ contentLicense : $contentLicense
288
+ logoUrl : $logoUrl
289
+ pageExtensions : $pageExtensions
290
+ featurePageRatings : $featurePageRatings
291
+ featurePageComments : $featurePageComments
276
292
featurePersonalWikis : $featurePersonalWikis
277
293
) {
278
294
responseResult {
@@ -295,6 +311,7 @@ export default {
295
311
company: _ .get (this .config , ' company' , ' ' ),
296
312
contentLicense: _ .get (this .config , ' contentLicense' , ' ' ),
297
313
logoUrl: _ .get (this .config , ' logoUrl' , ' ' ),
314
+ pageExtensions: _ .get (this .config , ' pageExtensions' , ' ' ),
298
315
featurePageRatings: _ .get (this .config , ' featurePageRatings' , false ),
299
316
featurePageComments: _ .get (this .config , ' featurePageComments' , false ),
300
317
featurePersonalWikis: _ .get (this .config , ' featurePersonalWikis' , false )
@@ -347,6 +364,7 @@ export default {
347
364
company
348
365
contentLicense
349
366
logoUrl
367
+ pageExtensions
350
368
featurePageRatings
351
369
featurePageComments
352
370
featurePersonalWikis
0 commit comments