Skip to content

Commit

Permalink
Specify webfinger configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
malkoG committed Oct 12, 2023
1 parent 3568b82 commit 474aab5
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
45 changes: 45 additions & 0 deletions config/initializers.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Bridgetown.configure do |config|
# You can configure aspects of your Bridgetown site here instead of using
# `bridgetown.config.yml`. For example:
#
# permalink "simple"
# timezone "America/Los_Angeles"
#
# You can also modify options on the configuration object directly, like so:
#
# config.autoload_paths << "models"
#

# You can use `init` to initialize various Bridgetown features or plugin gems.
# For example, you can use the Dotenv gem to load environment variables from
# `.env`. Just `bundle add dotenv` and then uncomment this:
#
# init :dotenv
#

# Uncomment to use Bridgetown SSR (aka dynamic rendering of content via Roda):
#
# init :ssr
#

# Uncomment to use file-based dynamic template routing via Roda (make sure you
# uncomment the gem dependency in your `Gemfile` as well):
#
# init :"bridgetown-routes"
#

# We also recommend that if you're using Roda routes you include this plugin
# so you can get a generated routes list in `.routes.json`. You can then run
# `bin/bridgetown roda:routes` to print the routes. (This will require you to
# comment your route blocks. See example in `server/routes/hello.rb.sample`.)
#
# only :server do
# init :parse_routes
# end
#

# For more documentation on how to configure your site using this initializers file,
# visit: https://edge.bridgetownrb.com/docs/configuration/initializers/
url "https://kodingwarrior.github.io"
init :"bridgetown-webfinger", static: true
end
14 changes: 14 additions & 0 deletions src/_data/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
# This account will be represented as acct:kodingwarrior@<your host>
kodingwarrior:
webfinger:
# Aliases are URIs that represent the same person
aliases:
- https://twitter.com/kodingwarrior
- https://social.silicon.moe/@kodingwarrior

links:
# - href: https://example.com/myphoto.png
# rel: http://webfinger.net/rel/avatar
# type: image/png

0 comments on commit 474aab5

Please sign in to comment.