Comments (1)
[4:39 PM]
jordan It’s not an issue at all. It has to do with where you put the file
[4:39 PM]
if it’s a hugo site then the file needs to go into the static directory so that it gets published
[4:40 PM]
if it’s jekyll then it should just be in the root of the project
[4:40 PM]
chrisdmacrae ^^^ i'm not sure what that has to do w/ a file???
[4:42 PM]
jordan @chrisdmacrae if the CNAME file is in the root of your hugo project and you have forestry build the project and then push it to the gh-pages branch, the CNAME file isn’t going to be included because hugo doesn’t include files from the root of the project in the built site. So if you want it in the root of your built site then you should put the CNAME file in the static directory (edited)
[4:43 PM]
chrisdmacrae @jordan But I think the issue here was that the actual setting in GitHub pages was getting removed. Is that caused by the CNAME file?
[4:44 PM]
jordan @chrisdmacrae They are one and the same. If you create the CNAME file, it sets the setting. If you set the setting, it creates the CNAME file for you.
[4:44 PM]
chrisdmacrae Ah ok
[4:45 PM]
That makes sense! I'll move that issue over to the new site to create a doc
[4:45 PM]
jordan In this scenario though, the setting won’t be set for the master branch because the CNAME file is in the static dir.
from forestry.io.
Related Issues (20)
- Request to add unnus.com in the showcase page at forestry HOT 1
- Docs: root faq page is empty
- Gatsby : Field "hero_image" must not have a selection since type "String" has no subfields. HOT 1
- Website for your showcase
- Sidebar hyperlink option? HOT 2
- Amazon s3 HOT 1
- Add Showcase HOT 2
- Request to be featured on forestry showcase!
- forestry_instant_preview_id is inserted into json file
- Docs: No Actual Way To Contact Forestry.io Company
- pekab.. delete HOT 1
- Feature request: Folder structure in Media Library
- Request to be featured on forestry showcase
- Boolean toggle not showing up for JSON document
- Version History in CMS?
- Showcase request: WorkingMouse website
- Docs: Toggle between Template and Blocks Views?
- Docs: Add info about branch protection rules
- Bug: Forestry.io domain flagged as malicious by Metamask
- Failed to import site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forestry.io.