Skip to content

Commit

Permalink
Update links in Ruby Front Matter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed May 5, 2020
1 parent dd3e7a1 commit b919ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridgetown-website/src/_docs/front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ For advanced use cases where you wish to generate dynamic values for front matte
This requires the environment variable `BRIDGETOWN_RUBY_IN_FRONT_MATTER` to be set to `"true"` in your development and deployment setups. Otherwise the code will not be executed and will be treated as a raw string.
{% endrendercontent %}

[Here's a blog post with a high-level overview](/feature/supercharge-your-bridgetown-site-with-ruby-front-matter/) of what Ruby Front Matter is capable of and why you might want to use it.
[Here's a blog post with a high-level overview](/feature/supercharge-your-bridgetown-site-with-ruby-front-matter/){:data-no-swup="true"} of what Ruby Front Matter is capable of and why you might want to use it.

To write Ruby code in your front matter, use the special tagged string `!ruby/string:Rb`. Here is an example:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,4 @@ For security reasons, please _do not allow_ untrusted content into your reposito

In summary, if you're excited to give Ruby Front Matter a try, all you have to do is [install Bridgetown v0.13 or later](/docs/), set `BRIDGETOWN_RUBY_IN_FRONT_MATTER` to `"true"` in your development environment, and go to town (Bridge…town 😋). And be sure to share your sweet solutions on Twitter with the hashtag [**\#SpinUpBridgetown**](https://twitter.com/search?q=%23SpinUpBridgetown) to let the community know what you've built with Ruby Front Matter!

(Also learn which internal Bridgetown objects are made available to your Ruby code [in the documentation here](/docs/front-matter/#ruby-front-matter).
(Also learn which internal Bridgetown objects are made available to your Ruby code [in the documentation here](/docs/front-matter/#ruby-front-matter){:data-no-swup="true"}.

0 comments on commit b919ba3

Please sign in to comment.