Skip to content

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kpumuk committed Oct 28, 2024
1 parent a587ede commit 61773dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Changelog

## Development

Changes:

- Added Ruby on Rails 8.0 to the build matrix, removed Rails 6.0 ([321](https://github.com/kpumuk/meta-tags/pull/321))

## 2.22.1 (September 20, 2024) [](https://github.com/kpumuk/meta-tags/compare/v2.22.0...v2.22.1)

Changes:

- Removed `meta-tags.gemspec` and `Rakefile` from the gem package ([312](https://github.com/kpumuk/meta-tags/pull/312)
- Removed `meta-tags.gemspec` and `Rakefile` from the gem package ([312](https://github.com/kpumuk/meta-tags/pull/312))
- Use GitHub actions to build, sign and publish the gem ([314](https://github.com/kpumuk/meta-tags/pull/314), [315](https://github.com/kpumuk/meta-tags/pull/315), [316](https://github.com/kpumuk/meta-tags/pull/316))

## 2.22.0 (July 15, 2024) [](https://github.com/kpumuk/meta-tags/compare/v2.21.0...v2.22.0)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@ In order to update the page title, you can use the following trick. First, set t
MetaTags.configure do |config|
config.title_tag_attributes = {id: "page-title"}
end
````
```

Now in your turbo frame, you can update the title using a turbo stream:

```html
<turbo-frame ...>
<turbo-stream action="update" target="page-title">
<template>My new title</template>
</turbo-stream>
<turbo-stream action="update" target="page-title">
<template>My new title</template>
</turbo-stream>
</turbo-frame>
```

Expand Down

0 comments on commit 61773dc

Please sign in to comment.