将静态页面添加到Squarespace(开发人员) [英] Adding a static page to squarespace (developer)

查看:107
本文介绍了将静态页面添加到Squarespace(开发人员)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有一个Squarespace网站,该网站虽然有些旧,但仍然可以正常使用.在为它创建新站点之前还需要一段时间,但是,我想向Squarespace站点添加一个新页面,该页面是一个静态HTML页面,可以作为新站点的迷你预览.

我现在仅创建了一个单独的站点,所有内容都可以在真实帐户中进行支付(已付费).开发站点我只是在站点上进行了所有操作.区域文件,但是,由于使用模板,实时站点的布局有些不同.

我跟随他们的文档访问

那至少应该让页面显示出来.

I currently have a Squarespace site which is a bit old but still functional. It's going to be a while before I do the new site for it, however, I want to add a new page to the Squarespace site that is a static HTML page that functions as a mini preview to the new site.

I have made a separate site just for now and everything is ready to go up on the live account (that's paid for). The dev site I just did everything on the site. region file, however, the layout of the live site is a bit different since it's using a template.

I followed their docs to this page on adding static pages...

It says to add a folder called pages and 2 files, in my test I made barry.page and barry.page.conf

barry.page is a boilerplate HTML page for testing and barry.conf looks like:

{
    "title" : "Barry",
    "description" : "barry desc"
}

As far as I can tell, this is all I need to do however I cannot find the page when I run the site either locally or on Squarespace. localhost:9000/barry returns a 404.

How can I find this site, it would be a major pain if I had to host the site elsewhere and redirect from Squarespace because their docs aren't written well!

解决方案

Assuming you've pushed your changes to the server (and assuming you meant barry.page.conf not barry.conf), perhaps you've not set the URL for the page as desired using the "settings" icon to the right of the page in your "Not Linked" section (while in the back-end editing ["config"] area of your Squarespace website).

That should at least get the page to show up.

这篇关于将静态页面添加到Squarespace(开发人员)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆