Created
September 25, 2020 19:41
-
-
Save gdecaso/802fc612bff353f25a7d9ba3dd7c34b2 to your computer and use it in GitHub Desktop.
Micropub GitHub Pages configuration example for https://github.com/lildude/micropub-github-pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sites: | |
mysite: | |
# This must point to the GitHub repo that's hosting your user/org GitHub Page | |
github_repo: [you]/[you].github.io # just an example! | |
# The permalink format that your GitHub Page uses. | |
# If you don't know what this is, just leave it be. | |
# It's used by the Micropub server to return the created post URL back to the client (e.g., ThreadReaderApp). | |
permalink_style: "/:year/:month/:day/:title/" | |
# The public URL of your GitHub Pages blog. | |
# Would be https://[you].github.io unless you use a custom domain | |
site_url: "https://micustomdomain.com" # just an example! | |
# Let's leave these two values as is | |
full_image_urls: false | |
image_dir: "images" | |
# We'll also leave this one alone | |
download_photos: false | |
# We'll complete our github user here. Even though the config template calls for a token too. | |
# I repeat. DO NOT complete your token in this file. We'll pass the token via env later. | |
github: | |
token: # FFS, leave this one blank | |
username: you # your github username | |
# We'll config how to authenticate our Micropub client (e.g., ThreadReaderApp) | |
micropub: | |
# We'll use IndieAuth | |
# IMPORTANT: this URL *is not* an example, just use this one as is | |
token_endpoint: "https://tokens.indieauth.com/token" | |
# Here we put the URL that we want to authenticate as for IndieAuth. | |
# If you don't know what I'm talking about, just put your blog URL: either the github.io one, | |
# or your custom domain if you're using one. | |
token_me: "https://micustomdomain.com" # just an example! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment