Skip to content
\n

palette:
\n# Dark Mode`

\n

And on commiting from within Visual studio code to github gh-pages

\n

I still get nothing showing up for date posted or updated date.

\n

I'm hoping with this post might help me get some more clues on how I can try to get it to work within my pages. Or if there another approach, to getting it to work.

\n

I'm not sure if I'm missing to do somthign or if I'm taking the correct ways to be doing this, so be good to see what you all have to say on it.

\n

This is what I have coming up on my page!

\n

\"revision

","upvoteCount":1,"answerCount":4,"acceptedAnswer":{"@type":"Answer","text":"
\n

I'm still very confused on what to attempt here to get it to work as I know about the indents and to mess with them to get it in the correct places, but even so.

\n
\n

As mentioned in the other comment:

\n\n

Your issue is the indent, plugins under theme won't be loaded by MkDocs. So select multiple lines and press Shift + Tab to de-dent the lines.

\n

\"image\"

\n
\n

When you said do a test site, i thought you meant to just do a normal theme, so that is what I did

\n
\n

Using the files from the git localized repository would install mkdocs-material, in the uv run mkdocs serve step
\nI didn't ask you to create a new project from scratch, and instead to test an already working example.

\n
\n

But in me doing this, do I need to do anything with this variable section?

\n
\n

Nothing, I just included it in the video to show that the built website on localhost does correctly display the parsed variables.
\nTherefore, you could compare it the same way if you'd follow along.

\n
\n

then clone it to pc from within Visual Studio Code, saves me all they typing :-)

\n
\n

Using commands is usually faster than clicking buttons, you can set up alias shortcuts to not type a lot.

\n
\n

though I seem to keep getting copy and paste not working a lot at the moment! With Windows 11!

\n
\n

On Git Bash, by default paste is done via Shift + Insert, but you can change it to be more similar to Linux and use Ctrl + Shift + V
\n\"image\"

","upvoteCount":0,"url":"https://github.com/squidfunk/mkdocs-material/discussions/8311#discussioncomment-13661499"}}}

git-revision-date-localized - Issues and how to fit #8311

Discussion options

You must be logged in to vote

I'm still very confused on what to attempt here to get it to work as I know about the indents and to mess with them to get it in the correct places, but even so.

As mentioned in the other comment:

Your issue is the indent, plugins under theme won't be loaded by MkDocs. So select multiple lines and press Shift + Tab to de-dent the lines.

When you said do a test site, i thought you meant to just do a normal theme, so that is what I did

Using the files from the git localized repository would install mkdocs-material, in the uv run mkdocs serve step
I didn't ask you to create a new project from scratch, and instead to test an already working example.

But in me d…

Replies: 4 comments 34 replies

Comment options

You must be logged in to vote
4 replies
@Atlas-Night-Out
Comment options

@kamilkrzyskow
Comment options

@kamilkrzyskow
Comment options

@Atlas-Night-Out
Comment options

Comment options

You must be logged in to vote
7 replies
@kamilkrzyskow
Comment options

@Atlas-Night-Out
Comment options

@kamilkrzyskow
Comment options

Answer selected by Atlas-Night-Out
@Atlas-Night-Out
Comment options

@Atlas-Night-Out
Comment options

@kamilkrzyskow
Comment options

@Atlas-Night-Out
Comment options

Comment options

You must be logged in to vote
18 replies
@Atlas-Night-Out
Comment options

@Atlas-Night-Out
Comment options

@kamilkrzyskow
Comment options

@kamilkrzyskow
Comment options

@Atlas-Night-Out
Comment options

Comment options

You must be logged in to vote
5 replies
@Atlas-Night-Out
Comment options

@kamilkrzyskow
Comment options

@Atlas-Night-Out
Comment options

@Atlas-Night-Out
Comment options

@Atlas-Night-Out
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants