The instruction to replace is still in the head.html
file
Thank you very much.
i gotcha.
Sorry now the next error come up.
It is like before but a little different.
Please look attach.
Thank you.
Hello fabiomux,
the navigaton.html problem i fix myself. It was at least easy but once again i’m not a programmer.
Attach here the next problem but for this i don’t find a solution.
Thank you for your help and answer.
Yes they are all similar, this time javascript
must be replaced by asset
too:
So:
{% javascript vendor %}
becomes:
{% asset vendor.js %}
and
{% javascript application %}
becomes:
{% asset application.js %}
Hello fabiomux,
thanks again for your help.
I now have two more problems
First problem can be seen in the pictures Error-25 and Error-26. I don’t know now what the difference is to the other texts, except pictures are included.
If I take these files out, the other error Error-19 - Error 24 appears.
As always a thousand thanks
here you have:
{% include image.html path="....jpg" path=detail="..." ... %}
I think it is trying to include an image but as you can see the path
argument is repeated two times, the first point to an image and it is correct, the second is a glitch because of assigning to path another key (detail).
So must remove the second path
key preceding detail
:
{% include image.html path="....jpg" detail="..." ... %}
Look, you printed the screenshots of the file under the folder _site
, which is the result of a previous building and that’s why it is already rendered in HTML.
Here instead, need to see the original Markdown file under _posts
, as the error says, on line number 12 you still have some asset_path
instruction which should be converted to asset
as we have seen above.
P.S.
Do yourself a favor and hunt all those old asset_path ...
instructions on the files under _includes
, and _layouts
folders and replace them with asset ... @path
before trying to build the project again.
Hello fabiomux,
you wrote this:
{% include image.html path=“…jpg” path=detail=“…” … %}
In the file it was:
{% include image.html path=“…jpg” path-detail=“…” … %}
I change this without success.
What i found in the image.html:
href=“{% asset @path ‘{{ include.path-detail }}’ %}” class=“fluidbox-trigger”>
img src=“{% asset @path ‘{{ include.path }}’ %}” alt=“{{ include.alt }}” /
I will try tomorrow because i not really understand this.
Sorry on my screen it seemed path=detail
, anyway on the image.html file must be {{include.path}}
in place of {{include.path-detail}}
No problem.
I change this without success.
In the Error line:
Liquid Exception: *Unknown asset '* in _posts/2017-09-27-Da-sind-wir-wieder.md in
_posts/2017-09-27-Da-sind-wir-wieder.md’ in /Users/waldemarbednorz/Documents/Dokumente - MacBook Air von admin/Internetseite/Jekyll/waldemar-master Kopie/_posts/2017-09-27-Da-sind-wir-wieder.md
jekyll 3.9.3 | Error: *Unknown asset '* in _posts/2017-09-27-Da-sind-wir-wieder.md in
_posts/2017-09-27-Da-sind-wir-wieder.md’
But i don’t find `’
Also the Sprockets is included in the Gemfile: gem “sprockets”, “~> 3.7”
Attach the Error’s
At this point, the image clearly doesn’t exist, or so it says in the error message.
Can you check under the _assets
folder and see if you find something similar to the jpeg image linked in that post?
I’ve also noticed that the jpeg filename contains uppercase characters, that might be the reason…
I’ve change the jpeg filename to lowercase same result.
Also checked under the _assets folder nothing so far i can see, please check attach.
Have you put it lowercase also in the portion of the file where the image is recalled? (_posts/2017-09-27-Da-sind-wir-wieder.md
)
If this doesn’t work, you should upload your work somewhere so I can give it a better look.
Hello fabiomux,
I have written the files with the pictures all in small letters, without success. Furthermore, the older files are “big small” and can be read without problems.
Here is the link for the entire folder:
Google Drive:
https://drive.google.com/drive/folders/1cQw8qhoL644dQb1RWqG9rncx5sFeWYU5?usp=share_link
Thank you very much and have a nice sunday.
Here the files to replace (4 files in 4 different paths): waldemar - Google Drive
Besides that rename lowercase all the images under:
- estamos-feliz
- marokko
- tot-tut-mir-leid
Hello fabiomux,
thank you very much for this.
After compile i got another error, see attach.
I tried this:
sudo chown -R $(whoami):admin /usr/local/* \
&& sudo chmod -R g+rwx /usr/local/*
and this:
Any idea?
All the best and a great start in the week
The commands you typed should be applied to the project folder, so be sure to be within the folder waldemar-master Kopie
with the terminal and type:
chown -R $(whoami):users .
Or in place of the dot .
use the full path to that folder.
I am on Linux and users are inside the users
group by default, confirm if this is valid for you by typing the groups
command.
That said might just be enough to rename the _site
folder to something else like _site.old
to bypass the writings in that folder.