Giter Site home page Giter Site logo

Comments (7)

thatvirtualboy avatar thatvirtualboy commented on June 12, 2024

How did you get search working in the first place? I can't get it to show any results on a fresh install on Pages.

from mediumish-theme-jekyll.

leonyonz avatar leonyonz commented on June 12, 2024

Hello @thatvirtualboy ummm, im running it on Nginx and everything fine except post limitation that i mention above.
For now im make custom search on my website you can look at : https://belajarlinux.id

from mediumish-theme-jekyll.

PeterHdd avatar PeterHdd commented on June 12, 2024

@thatvirtualboy the search should work normally, when doing jekyll serve open the console and check if lunrsearchengine.js is being found and read

from mediumish-theme-jekyll.

thatvirtualboy avatar thatvirtualboy commented on June 12, 2024

Thanks @PeterHdd Here is what I see

Screen Shot 2021-03-26 at 8 59 15 AM

from mediumish-theme-jekyll.

thatvirtualboy avatar thatvirtualboy commented on June 12, 2024

Noticed I had baseURL in _config set to "" not '', however that didn't seem to resolve the issue. When I try a search, here is what it says:
Screen Shot 2021-03-26 at 9 06 06 AM

from mediumish-theme-jekyll.

PeterHdd avatar PeterHdd commented on June 12, 2024

I had a problem with it because I changed the baseurl. I changed the baseurl to / instead of baseurl: /mediumish-theme-jekyll so the blog can be immediately in the main domain. But then I had problems with different url including the search, which I was able to fix by removing the extra /. For example in some places I had {{ site.baseurl }}/{{ post.url }} so I just changed it to {{ site.baseurl }}{{ post.url }} and it worked!

I will try to change baseurl to "" and test it to see what should be changed, so you can just use / if you want the base domain to have the blog

from mediumish-theme-jekyll.

thatvirtualboy avatar thatvirtualboy commented on June 12, 2024

Hmm replacing "" with / breaks formatting and throws all sorts of errors. In my prior theme, baseURL was set to "" as well

from mediumish-theme-jekyll.

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.