Skip to content
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

Pretty URLs #140

Open
secure-77 opened this issue Oct 1, 2024 · 2 comments
Open

Pretty URLs #140

secure-77 opened this issue Oct 1, 2024 · 2 comments
Labels
enhancement New feature or request To Do on the to do list

Comments

@secure-77
Copy link
Owner

secure-77 commented Oct 1, 2024

Evaluation if I can implement the use of pretty URLs like https://perlite.secure77.de/folder name/note name

@secure-77 secure-77 added enhancement New feature or request To Do on the to do list labels Oct 1, 2024
@rsubr
Copy link
Contributor

rsubr commented Nov 3, 2024

I badly need this!

Can we also please implement Open Graph? OG markup can be implemented using content from the YAML front matter.

At the very least, can we please have the page title in the main HTML <title> tag?

What we now have is a generic Perlite text in all the page titles, which I presume is due to the way iframes are used.

Thanks as always.

@secure-77
Copy link
Owner Author

Hey @rsubr

Can we also please implement Open Graph? OG markup can be implemented using content from the YAML front matter.

Open Graph is already implemented, you can define the settings via variables, take a look at: https://github.com/secure-77/Perlite/wiki/03---Perlite-Settings#social-media-settings

you can see them for example here: view-source:https://perlite.secure77.de/

However, these are fixed for the setup and not yet variable for each note. Defining them via the frontmetter is a good idea, I will check if I can implement it

At the very least, can we please have the page title in the main HTML <title> tag?

This is already implemented, the Title will be updated after clicking to a note as following: $("title").text(title + ' - ' + $("p.vault").text() + ' - ' + $("p.perliteTitle").text());

for example it looks like this for Markdown Samples <title>Markdown Samples - Demo - Perlite</title>

What we now have is a generic Perlite text in all the page titles, which I presume is due to the way iframes are used.

As above explained, this isn't the case. Also the page doesn't use iframes at all, the content is updated via javascript and ajax calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request To Do on the to do list
Projects
None yet
Development

No branches or pull requests

2 participants