-
Notifications
You must be signed in to change notification settings - Fork 11
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
manage meta description tag #131 #138
base: master
Are you sure you want to change the base?
manage meta description tag #131 #138
Conversation
…dex of the closing ---, copies all of the content after this point, writes the description meta tag info, including title, and then adds the original content back. All files are updated, python code included.
Hi @eclecticexistential! Thank you for this work. I'll review it quickly. For reference, this PR addresses issue #131 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry but I have to refuse this contribution as is: the main reason is that I think we should handcraft descriptions instead of guessing them from the post file name.
updateMD.py
Outdated
# des = file[11: len(file)-3].replace('-',' ') | ||
# deslab = 'description: {0}\r\n---'.format(des) | ||
# name = './_posts/' + file | ||
# updatedMD(name, deslab) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like core code that must not be commented.
User will be prompted for each description name.
Created python script to read and write description: and file name to each file. Script included.