Coder Social home page Coder Social logo

Comments (11)

onedrawingperday avatar onedrawingperday commented on May 21, 2024

You are not using .Permalink but .RelPermalink to generate a sub list.

As you know the theme demo is hosted in a subdirectory. There is a double slash due to the use of .RelPermalink over here

from hugothemessite.

zzossig avatar zzossig commented on May 21, 2024

But, I use .Permalink as well. Here
I have other links that using .Permalink that makes double slashes.

from hugothemessite.

onedrawingperday avatar onedrawingperday commented on May 21, 2024

Right. The demo configuration is still inherited from the provided config.

There is a back slash at the end of the baseURL in the exampleSite/config/_default/config.toml

Try removing this back slash and let me know so that I can see if that fixes the issue.

from hugothemessite.

zzossig avatar zzossig commented on May 21, 2024

I can't reproduce the double slashes issue on my end.
Test env: macOS High Sierra 10.13.6/ Hugo 0.60.1
I have tested 4 times:

baseURL = "" 
baseURL = "/" 
baseURL = "http://example.org" 
baseURL = "http://example.org/"

It seems that baseURL is not impacted the url.
Screen Shot 2019-12-10 at 9 09 35 PM

from hugothemessite.

onedrawingperday avatar onedrawingperday commented on May 21, 2024

Please do as I requested above and let me know, my time is limited.

from hugothemessite.

zzossig avatar zzossig commented on May 21, 2024

I don't understand. I did what you requested

from hugothemessite.

zzossig avatar zzossig commented on May 21, 2024

As you can see here
techdoc theme does not have the end of backslash but the theme also have a double backslash issue.

tell me what I'm doing wrong.

from hugothemessite.

onedrawingperday avatar onedrawingperday commented on May 21, 2024

I don't understand. I did what you requested

How?

You still haven't removed the backslash from the exampleSite config as I requested above.

And commit it to the zzo theme repo. (Obviously).

I need to trigger a proper deploy preview of the Hugo Themes website.

Also please keep communication to a minimum. You asked about your theme demo.

I cannot explain the architecture of Hugo Themes on demand.
There are more important things to do than writing long-form.

from hugothemessite.

zzossig avatar zzossig commented on May 21, 2024

@onedrawingperday sorry,
I just commited

from hugothemessite.

onedrawingperday avatar onedrawingperday commented on May 21, 2024

After much investigation it seems like this is related to this longstanding and open bug:

gohugoio/hugo#3568

I'm closing this issue since it depends on the one I linked to, at the main Hugo repo.

But I'm not sure. I have re-opened the issue.

Maybe someone else has the time to look into it.

from hugothemessite.

stale avatar stale commented on May 21, 2024

This issue has been automatically marked as stale because it has not had recent activity. Feel free to ask questions. We're glad to help.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

from hugothemessite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.