Comments (8)
Ah, works great! Thanks for finding that out.
from franklin.jl.
Addon: As far as I can see, there seems to be an upper bound of variables being loaded? It always affects the last two files in the folder.
If I rename, e.g. graph-laplace.md
to xgraphlaplace.md
it is the one without pagervars. So is there maybe an global user bound how many can be accessed also maybe in the one loop that I do?
edit: Now I am super confused. I thought: Well. If loading all is maybe too much, let ยด's do the loading of page variables per single page and maybe that works. That worked perfectly in the running session when I developed that. But once I restarted Julia now the single-load parts always and only read nothings
. So I think I have a major misunderstanding (after about 8 years of using them) how page-vars load an how they can be accessed.
edit2: Ah. It nothings on first run, but if I change the file while the life-server is running (the utils.jl
that is) it works fine.
So. After so much time of debugging. Why is that the case? And how can I access pagevars in an hfun
function already on first run?
edit3: Surprisingly (I left in a bit of debug) it works fine on CI. Seems to me like the page-vars are maybe loaded in parallel or so? See this debug https://github.com/kellertuer/kellertuer.github.io/actions/runs/8176798601/job/22357013932#step:5:374 where all pagevars are displayed nicely. Locally I loose most of them, sometimes only the last (now its the oldest projects, since I sort first before accessing them now). Currently the last 2. But as soon as Franklin reloads on LIveServer all is fine.
Sorry to not being able to narrow it down further. But if possible, that loading pagevars could be finished before calling any hfun_
that would be great :)
from franklin.jl.
I have been suffering from something similar for a while now. At https://bhvieira.github.io/blog/ in the deployment the pagevars for posts from 2020 are not retrieved correctly (this works flawlessly in local)
from franklin.jl.
This was corrected with a @delay
macro
from franklin.jl.
Can you make that a bit more precise where you put that and how @delay
works there?
from franklin.jl.
from franklin.jl.
Thanks, will try that on my function later as well then.
from franklin.jl.
Glad to hear!
from franklin.jl.
Related Issues (20)
- No Method for _memcmp HOT 1
- Pagevars are not parsed correctly ? HOT 4
- Build site in another folder? HOT 4
- XML prolog lost from RSS template HOT 2
- \toc error HOT 7
- Tag pages don't urlencode their crosslinks
- FR: Button to copy code blocks to clipboard HOT 2
- May insert variable value into a HTML tag attribute? HOT 2
- Does Franklin support Pandoc and MathJax HOT 4
- Deploying with github not working after first commit, getting "there is nothing to commit"
- Option to exclude sidebar contents in lunr search
- Using `python3` as the language of a multiline codeblock results in an error HOT 2
- Demos page leads to 404 HOT 6
- insert not working when using the GitHub actions HOT 1
- Table of contents: level 4 headings do not consistently stay indented under the previous level 3 heading HOT 1
- DataScienceTutorials.jl deployment HOT 1
- How to add total words and time for reading in a post HOT 1
- Franklin websites fail to being parsed by openring
- Demos Page Shows 404 Error HOT 1
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 franklin.jl.