Hi Amber,

[...]

> So I tried cloning your https://github.com/ambimorph/subsymbol.org git
> repo and I can build it just fine locally with Nikola 8.2.3. Serving it
> locally with "nikola serv" works also fine, so I think the problem must
> be somewhere in the Github pages setup.  As I do not use GH Pages, I
> have no real idea what could be wrong there, but I guess Nikola is not
> the problem.

Ok, I now understand things a little bit better and it seems that your
problem comes from the fact that files/CNAME is not copied to output/ as
it should.  Your gh-pages branch thus also misses the CNAME file in the
root folder and from what I can read in the documentation, this is the
reason your custom DNS does not work.

So checking your conf.py, I see this section:

#+begin_src python
# One or more folders containing files to be copied as-is into the output.
# The format is a dictionary of {source: relative destination}.
# Default is:
# FILES_FOLDERS = {'files': ''}
# Which means copy 'files' into 'output'
FILES_FOLDERS = {'scripts':'scripts'}
#+end_src

This effectively cuts off the 'file/CNAME' file that you have provided
just for gh-pages. if you re-add the 'files' part, it should work again.
I tried with this diff:

#+begin_src diff
diff --git a/conf.py b/conf.py
index 29693a6..5eb58c8 100644
--- a/conf.py
+++ b/conf.py
@@ -293,7 +293,7 @@ TIMEZONE = "America/Denver"
 # Default is:
 # FILES_FOLDERS = {'files': ''}
 # Which means copy 'files' into 'output'
-FILES_FOLDERS = {'scripts':'scripts'}
+FILES_FOLDERS = {'files': '', 'scripts':'scripts'}
 
 # One or more folders containing code listings to be processed and published on
 # the site. The format is a dictionary of {source: relative destination}.
#+end_src

and I now see that CNAME again ends up in output/ as it should.

Hope that helps.
  Detlev

-- 
I hear and I forget. I see and I remember. I do and I understand.
                      -- Confucius

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/87k06qgi79.fsf%40member.fsf.org.

Reply via email to