Skip to content

Featured posts #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ShalokShalom opened this issue Mar 24, 2021 · 4 comments
Closed

Featured posts #38

ShalokShalom opened this issue Mar 24, 2021 · 4 comments

Comments

@ShalokShalom
Copy link
Contributor

ShalokShalom commented Mar 24, 2021

Hi :)

I detected a misleading link and come here, to correct it in code.

Can you tell me, where to find this featured posts section?

Screenshot_2021-03-24-11-33-08-49

The pip post leads straight to the homepage, I like to switch it with https://rustpython.github.io/
https://rustpython.github.io/featured/2021/01/26/pip-support.html

@youknowone
Copy link
Member

Hi, thank you for looking for the correct article. 😂 The article is here: https://rustpython.github.io/featured/2021/01/26/pip-support.html

@ShalokShalom
Copy link
Contributor Author

ShalokShalom commented Mar 24, 2021

I know where the correct article is. I am looking for the correct place in this repository, to switch the code 😄

EDIT: Oh sorry, I pasted the incorrect URL as a solution in my original post, this probably confused you. 😅
Haha, now I did the same mistake myself 😄

@coolreader18
Copy link
Member

Oh, I think you need to add a permalink attribute to the pip-support post: the other featured post has a permalink: in its yaml front matter, and I think you just need to mirror that for the pip one. @mireille-raad is there a way to automate getting the permalink to a post so that we don't have to remember to do it manually?

@coolreader18
Copy link
Member

Actually @ShalokShalom, try swapping out post.permalink in the home layout with post.url, I think that should fix it systemically

ShalokShalom added a commit to ShalokShalom/rustpython.github.io that referenced this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants