Commit d9c2129
reflex-site-shared: add canonical override + Streamlit migration footer link
- create_meta_tags grows an optional `canonical` kwarg so any consumer
(blog post, lander) can declare a different canonical URL than the
page's own. Default behavior is unchanged when the kwarg is omitted.
- Footer Migration column gets a "From Streamlit" entry pointing at
/migration/streamlit/, ordered first to surface the most specific
target.
Pairs with:
- reflex-dev/marketing PR adding the /migration/streamlit lander.
- reflex-dev/blog PR refreshing /blog/reflex-streamlit with a frontmatter
canonical override that consumes the new kwarg.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9ed3692 commit d9c2129
2 files changed
Lines changed: 11 additions & 2 deletions
File tree
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
| |||
149 | 157 | | |
150 | 158 | | |
151 | 159 | | |
152 | | - | |
| 160 | + | |
153 | 161 | | |
154 | 162 | | |
155 | 163 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
0 commit comments