diff options
author | Alex Legler <alex@a3li.li> | 2015-12-25 17:42:09 +0100 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2015-12-25 17:42:09 +0100 |
commit | f675cf54bfbcbfb2fee8631cc8ba66de48227a2a (patch) | |
tree | e750f73bf6dd16f685758ea43e7af4234766b37d | |
parent | Add support for setting <meta> descriptions (diff) | |
download | security-f675cf54bfbcbfb2fee8631cc8ba66de48227a2a.tar.gz security-f675cf54bfbcbfb2fee8631cc8ba66de48227a2a.tar.bz2 security-f675cf54bfbcbfb2fee8631cc8ba66de48227a2a.zip |
Set <title> and <meta> description for advisory pages
This should hopefully fix the inconsistent result display when searching
on Google for GLSA terms.
-rw-r--r-- | anzen.rb | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -73,6 +73,8 @@ get '/glsa/:glsaid' do if @glsa.is_a? GLSAv1 template = :'glsa/glsav1' + @title = "#{@glsa.title} (GLSA #{@glsa.id})" + @description = "#{@glsa.synopsis}" end @nav = :glsa |