Complie Error [Blank Theme]
- This topic has 8 replies, 2 voices, and was last updated 7 months ago by .
- September 22, 2020 at 8:23 pm#3838nicholasoneil
Hi, I’m downloaded the blank theme for developers to start creating Publii sites. And I made some changes to the config file and uploading it to Publii app and chose the theme I want to use and click on Preview changes and this displays. Could it be all those invalid styles in styles.css and main.css? Which one should I work in, styles.css or main.css?
Rendering process failed
An error (1002) occurred during parsing index.hbs file.
ENOENT: no such file or directory, open ‘/Users/nicholasoneil/Documents/Publii/sites/kresson-bible-church/input/themes/kresson bible church/assets/css/style.css’September 23, 2020 at 5:15 am#3839Bob
Avoid using spaces in the theme name kresson bible church, I think it should help.September 23, 2020 at 12:34 pm#3840nicholasoneil
Nice to hear from you. I never typed spaces when I created my folder. I created a folder called ‘Websites’ in my Mac’s Document folder and then, I drag-and-drop a new theme into Publii Theme area in the software. I just verified and my website folder contains a folder named ‘kresson-bible-church’ and the Publii folder > sites also saids, ‘kresson-bible-church’.
You must be logged in to access attached files.September 23, 2020 at 12:41 pm#3843Bob
have a look at your theme name (Documents ▸ Publii ▸ sites ▸ YOUR_SITE ▸ input ▸ themes ▸ kresson bible church)September 23, 2020 at 12:44 pm#3845nicholasoneil
Hi again Bob,
It’s still kresson-bible-church. Here is a new screenshot:
You must be logged in to access attached files.September 23, 2020 at 12:57 pm#3847Bob
So most likely this is a problem that arises from your modifications.September 23, 2020 at 1:36 pm#3850nicholasoneil
Hi again Bob,
So I copy the blank theme folder into my Websites folder and renamed it. Is that what you’re talking about? I wonder if I copy all the contents from the blank theme and paste it into an empty kresson-bible-church folder. Would this work? Or maybe kressonbiblechurch will work without dashes? I’m learning, Bob
NickSeptember 23, 2020 at 1:44 pm#3851Bob
I’m not a teacher mate 🙂 and I don’t have too much free time for myself 😥
If you want to change the name of the theme you should also update the config.json file.September 23, 2020 at 2:09 pm#3854nicholasoneil
Hi again Bob,
So, let me make sure I understand. Publii uses the ‘name’ :in the config file: “Kresson Bible Church” and renders it: ‘kresson bible church’. If I put ‘Kresson-Bible-Church’ in the ‘name’: property in the config file, it’ll renders ‘kresson-bible-church’.
Also, I understand you. I love serving the Lord at the churches I go to and I have a tough time managing what I do. Thank you Bob for explaining.
- The topic ‘Complie Error [Blank Theme]’ is closed to new replies.