【问题标题】:Set default extension webpage name in Bootstudio在 Bootstudio 中设置默认扩展网页名称
【发布时间】:2021-06-19 03:44:31
【问题描述】:

我正在使用 BootstrapStudio 为我的网站创建一些页面。 我通常使用 htm 作为网页的扩展而不是 html,所以我想知道是否有任何方法可以更改 BootstrapStudio 中的默认 html 扩展。 谢谢

【问题讨论】:

    标签: html web edit utilities


    【解决方案1】:

    我认为这在 Bootstrap Studio 中是不可能的,但您可以编写一个脚本在导出站点时运行以更改所有文件扩展名。

    试试看https://bootstrapstudio.io/tutorials/export-scripts

    如果您在 linux 上运行 Bootstrap Studio,脚本将类似于:

    #!/bin/bash
    cd "$1"
    for f in *.html; do mv -- "$f" "${f%.html}.htm"; done
    

    【讨论】:

      猜你喜欢
      • 2013-06-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-17
      • 1970-01-01
      • 2013-01-09
      • 2011-03-23
      相关资源
      最近更新 更多