Franklin.jl website generated on Github is much different than what i created on Local system

<!--
Add here global page variables to use throughout your website.
-->
+++
author = "Raman Kumar"
mintoclevel = 2
@def prepath  = "maria.github.io"

# Add here files or directories that should be ignored by Franklin, otherwise
# these files might be copied and, if markdown, processed by Franklin which
# you might not want. Indicate directories by ending the name with a `/`.
# Base files such as LICENSE.md and README.md are ignored by default.
ignore = ["node_modules/"]

# RSS (the website_{title, descr, url} must be defined to get RSS)
generate_rss = true
website_title = "Maria Giovanna Dainotti"
website_descr = "Example website using Franklin"
website_url   = "https://tlienart.github.io/FranklinTemplates.jl/"
+++

<!--
Add here global latex commands to use throughout your pages.
-->
\newcommand{\R}{\mathbb R}
\newcommand{\scal}[1]{\langle #1 \rangle}

Should i push it all again ?

don’t use @def here, follow the blueprint

Ok sir, I will keep only prepath = “maria.github.io

New link is Dr. Maria Giovanna Dainotti

   ~/Maria    master !1    git push --set-upstream origin master    ✔ 

Username for 'https://github.com': ramanjarpura@gmail.com
Password for 'https://ramanjarpura@gmail.com@github.com': 
remote: Permission to raman-maker/maria.github.io.git denied to raman-maker.
fatal: unable to access 'https://github.com/raman-maker/maria.github.io/': The requested URL returned error: 403
    ~/Maria    master !1                                 128 ✘  27s  


I have difficulty in pushing up prepath addition.

it is still not working even after git push . Please see changes GitHub - raman-maker/Maria.github.io here. Dr. Maria Giovanna Dainotti
Please look my prepath in config.md file below.

<!--
Add here global page variables to use throughout your website.
-->
+++
author = "Raman Kumar"
mintoclevel = 2
prepath  = "https://github.com/raman-maker/Maria.github.io"

# Add here files or directories that should be ignored by Franklin, otherwise
# these files might be copied and, if markdown, processed by Franklin which
# you might not want. Indicate directories by ending the name with a `/`.
# Base files such as LICENSE.md and README.md are ignored by default.
ignore = ["node_modules/"]

# RSS (the website_{title, descr, url} must be defined to get RSS)
generate_rss = true
website_title = "Maria Giovanna Dainotti"
website_descr = "Example website using Franklin"
website_url   = "https://tlienart.github.io/FranklinTemplates.jl/"
+++

<!--
Add here global latex commands to use throughout your pages.
-->
\newcommand{\R}{\mathbb R}
\newcommand{\scal}[1]{\langle #1 \rangle}

You are mixing up the adress of the repository

which links to the main branch reporitory where only two files are but for example not the file you can find in the source code of your generated html at

https://raman-maker.github.io/Maria.github.io/

line 5 which reads

<link rel="stylesheet" href="/https://github.com/raman-maker/Maria.github.io/css/franklin.css">

which does of course not exist (you see that by looking at the repository). Not only is the URL itself wrong, it also starts with a / which looks at the current URLs base path and starts from there with https:/// - you will not find anything there even if there would be a css folder with the Franklin css in the repo, which it isn’t .
What you want to link to is

https://raman-maker.github.io/Maria.github.io/

as a prefix to get the css at the place where it is namely

https://raman-maker.github.io/Maria.github.io/css/franklin.css

(copy this to your browser and you see it works and delivers a css). This is what you want to end up with having in the <link rel=> s href. And that is also explained in the tutorial on Franklin.

What changes should i do and where ?? where in line 5 should i correct it ?

The shortest guess is – as explained in my very long last answer – your PREPATH is wrong, it has a / upfront with is wrong and the adress you postet in there is also wrong, it is currently the adress of the GitHub repository but it should be set to the URL you are deploying the page to.
Line 5 refers to your deployed HTML where the <link rel= is at, since I can not point to your code, since you do not provide code here.

But I do not know what it is set to, since even after mentioning that 3 times by now, you never provided any insight into any code, so I can only describe what I see not what is to fix. You also never describe what you tried and where you are at.
So I can only solve the “inverse problem”, looking at the result and guessing what your code might be. That is challenging, takes a lot of time, and I can only give you hints what the reason might be, since you never provide examples. So I write looong answers, and you answer with further very short questions. That is not much fun.

And at this point - after mentioning all this a fourth time – and presuming you do this page for someone else, I think you might even get paid (and I at this point don’t) – so I give up now.

1 Like

Sir , I am just learning to make it even the professor does not know that i am making website for her. :laughing: :sweat_smile: .

Posting her personal data (though possibly publicly available) here – is kind of creepy, you should then maybe focus on a project or your own page instead.

2 Likes

NO, Actually her original website is bad so i thought to make it better. I am nothing to make my own website. :laughing:

I do not think that is a good idea to do that without asking her.
Even less ok is to post her data here.

1 Like

it is already public data. Why then you made your website ?

Nothing changed in website . How to make changes ?

I made my website for myself since I can do with my data what I want. Also: Over my own website containing my data, I have full control, that is, I can take that down if I want to. I do not want to, since that page represents my research.

But using other persons data, even if publicly available, is not nice. Posting that data somewhere else (for example here) – is not ok.

Concerning your latest screenshot. Please read again what Thiebaut wrote (no I will not @ mention him) on deploying a homepage and the pre path. That page explains what you have to do with the pre path. And please – I am writing that for the fifth time now – read this Please read: make it easier to help you .

Finally, please take her data down and do a project that does not use other peoples personal data.

PS: The website did change – you just have not read any of the previous posts about how the pre path works. its called pre path for a reason and not url-prefix for example.

Ok sir , now website is working but still one error that https://raman-maker.github.io/Maria.github.io/Publications/ is not working till yet. i had to set prepath = Maria.github.io/. thanks for your hint. Now i would like to delete her data , but how can i delete it ? should i put flag in it ?

Also for the sixth post without code, I am not a code wizard, so I can not tell you why Publications does not work.

If you want to delete it I would just delete the whole GitHub repository and all traces on the GitHub pages and start a new Franklin project.

Yeah, it’s not very cool to do that without consent.

Besides that, @raman_kumar, I really need you to read and follow the guidance in Please read: make it easier to help you.

Between those two issues, I’m going to close and unlist this topic.

If you have specific problems with documenter, you can create new topics specific to those issues, but you need to do legwork on minimizing the issue and showing your work in doing so — that’s the only way folks can help you here.

1 Like