Skip to content

Commit

Permalink
Merge pull request #1683 from FreeFeed/fix-ssi-metadata
Browse files Browse the repository at this point in the history
Improve index.html: fix regexes and add the site description
  • Loading branch information
davidmz authored Jun 8, 2024
2 parents fd2527b + 7be5d48 commit a0cb211
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.133.0] - Not released
### Added
- Add a "description" meta-tag to the index.html.
### Fixed
- Update SSI patterns in index.html to support dashes in groupnames.

## [1.132.0] - 2024-05-27
### Added
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />

<!-- Support for FB OpenGraph and Twitter -->
<!--#if expr="${request_uri} = /^\/([a-zA-Z0-9]+)\/([a-fA-F0-9\-]{36}|[a-fA-F0-9]{4,6})/" -->
<!--#if expr="${request_uri} = /^\/([a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)\/([a-fA-F0-9\-]{36}|[a-fA-F0-9]{4,6})/" -->
<!--#set var="post_id" value="$2" -->
<!--#include virtual="/v2/posts-opengraph/${post_id}" -->
<!--#endif -->

<!-- RSS autodiscovery -->
<!--#if expr="${request_uri} = /^\/([a-zA-Z0-9]+)/" -->
<!--#if expr="${request_uri} = /^\/([a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)/" -->
<!--#set var="username" value="$1" -->
<!--#include virtual="/v2/timelines-metatags/${username}" -->
<!--#endif -->

<title>FreeFeed</title>
<meta name="description" content="FreeFeed is a small and free social network, that enables you to discover and discuss the interesting stuff your friends find on the web">

<link rel="icon" href="/assets/images/favicon.ico" type="image/x-icon" />
<link rel="icon" href="/assets/images/favicon.svg" type="image/svg+xml" />
Expand Down

0 comments on commit a0cb211

Please sign in to comment.