Comments (3)
Hmm, actually I downloaded the skeleton that you had linked in another reply to another issue. That skeleton is 200mb. In that one search is working just fine. The first skeleton I downloaded (1.03?) was only 80mb in comparison. In that one search was not working. Regardless, I don't think this is a bug to report as an issue.
from grav-theme-scholar.
Ah, haha, sorry for being annoying, I truly love the idea of this theme, I think it is a brilliant thing, and I really want it to work. However, in that big skeleton where the search indeed is searching and then displaying results, the headlines of the results have a "localhost" in the URL path for the relevant page. Seems like a simple omission of a site variable in the code. Just so you know. :)
This means that headlines for search do not work to click on as it will not take me to the correct result.
On a similar note I noticed that "tags" and "category" on the blog posts, where they are linked (not always) also do not lead to a listing of the tag/category.
from grav-theme-scholar.
Yes, this is as intended. The theme's default engine for searching does not use live data, but statically generated data. Links are by default absolute, not relative, because they need to work outside of non-standard contexts. The same applies to the metadata-links; they point to a search-page that is non-existent apart from dynamically generated routing.
All of which is to say that search-data must be generated when the theme is installed, not before. Accommodations could be made in the Static Generator plugin though, for predetermined base URLs.
from grav-theme-scholar.
Related Issues (20)
- Layout Schema
- Unable to load the theme HOT 5
- Installation Difficulty (Dependency "Error" is required) HOT 6
- Display RSS feed on Scholar homepage HOT 1
- Wrong dependency on "error" plugin version number HOT 1
- Scholar skeleton + upgrade = server error HOT 1
- 02.Documentation in admin GUI defaults to incorrect template HOT 2
- Taxonomy pointing to worng page HOT 1
- Feature: List of backlinks HOT 7
- Keep header in tufte documents HOT 4
- Custom menu in site.yaml ignored HOT 1
- Dependency error upon attempted install. HOT 13
- Link to menu-item markdown generates error HOT 2
- Selecting a theme style crashes site HOT 3
- Scholar skeleton + upgrades = RuntimeException HOT 7
- Documentation Navigation not present HOT 4
- doumentation style HOT 2
- what_links_here twig template missing HOT 3
- raw option missing in article twig template
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grav-theme-scholar.