mirror of https://github.com/luizdepra/hugo-coder.git

William Floyd
19 hours ago 748d96f6852e2038793343a6e1f747fbb08f5580
refs
author William Floyd <github@notmy.space>
Thursday, June 18, 2026 04:48 +0200
committer GitHub <noreply@github.com>
Thursday, June 18, 2026 04:48 +0200
commit748d96f6852e2038793343a6e1f747fbb08f5580
tree a2c2d10fef7aaa22e84b5a6e7e28484e06fadc5d tree | zip | gz
parent 3d3bbd75d7bb46a4670af89442cf0b961440bd4e view | diff
fix: Use `x` instead of `tweet` in exampleSite (#996)

### Prerequisites

Put an `x` into the box(es) that apply:

- [x] This pull request fixes a bug.
- [ ] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

Changes exampleSite to use `x` instead of `tweet`

### Issues Resolved

Newer versions of Hugo complain upon seeing `tweet`:
```
ERROR The "twitter", "tweet", and "twitter_simple" shortcodes were deprecated in v0.142.0 and removed in v0.156.0. Please use the "x" shortcode instead.
```

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [ ] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [ ] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
3 files modified
5 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● diff | view | raw | blame | history
exampleSite/content/posts/rich-content.md 2 ●●● diff | view | raw | blame | history
exampleSite/content/posts/rich-content.pt-br.md 2 ●●● diff | view | raw | blame | history