privatemaker / headless-cms

Hugo Module for headless Decap and Sveltia CMS
GNU Affero General Public License v3.0
9 stars 0 forks source link

how can i use this for github pages? #1

Closed sanabel-al-firdaws closed 10 months ago

sanabel-al-firdaws commented 11 months ago

Failed to load resource: the server responded with a status of 404 (Not Found)

the error message^ its trying to look for http://localhost:1313/sveltia-cms_5643924719973156006.js

while its path is at http://localhost:1313/my-repo-name/sveltia-cms_5643924719973156006.js

site_url = "http://localhost:1313/my-repo-name/"

sanabel-al-firdaws commented 11 months ago

i went back to the normal approch of adding a static/admin/index.html,config.yml

currently using the Sveltia cloudflare auth with github pages and I switched Sveltia with "Static Cms" cuz Static Cms has better Ui in mobile

sanabel-al-firdaws commented 10 months ago

i switched back to stackedit the problem i was facing is why can't i just open a mdoc file in it and now i relised i can just make all my content in md then do

renamer --find /.md$/ --replace .mdoc 'src/content/**'

and that's it