Yes! Wonderful. Thank you so much. I don't think I would ever have noticed
that.

Much appreciation!
Amber

On Tue, Aug 30, 2022 at 12:07 PM Blaise Pabon <[email protected]> wrote:

> ooh, nice catch, Detlev. Thank you!
> -Blaise
>
> On Tue, Aug 30, 2022 at 6:05 AM Detlev Zundel <[email protected]> wrote:
>
>> 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
>> .
>>
>
>
> --
> LinkedIn <https://www.linkedin.com/in/blaisepabon/>  |  Quora
> <https://www.quora.com/profile/Blaise-Pabon>  |  Github
> <https://github.com/blaisep>
> “If you want to go fast, go alone. If you want to go far, go together.” 
> --African
> proverb
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "nikola-discuss" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nikola-discuss/VQmNwPpyDQE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nikola-discuss/CAJZwnxXZuATe%2BCjrDsQ99p42jj1rNrLteR0MB6ZhL7nUW-30gw%40mail.gmail.com
> <https://groups.google.com/d/msgid/nikola-discuss/CAJZwnxXZuATe%2BCjrDsQ99p42jj1rNrLteR0MB6ZhL7nUW-30gw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKPGOArdRX7VN2j26CM%3Dt9rZ15wZ5yjuco4Y1Rvb4YkOZokebw%40mail.gmail.com.

Reply via email to