Browse Source

Remove DevuanHelpers.email.

Closes #157
revert-43b95d76
Evilham 4 years ago
parent
commit
f199511527
  1. 6
      lib/devuan_helpers.rb
  2. 2
      source/pages/os/security/index.en.html.md.erb

6
lib/devuan_helpers.rb

@ -84,10 +84,6 @@ module DevuanHelpers
current_title << site_title
end
def email(email)
`echo #{email} | pandoc -f markdown_github -t html`.gsub(/<[\/]*>/,'')
end
def favicon_url
"/ui/img/favicon.ico".freeze
end
@ -105,7 +101,7 @@ module DevuanHelpers
mm.map! do |maint|
if maint =~ /^(.*) <(.*)>$/
name, email = $1, $2
"#{name} #{email(email)}"
"#{name} #{email}"
else
maint
end

2
source/pages/os/security/index.en.html.md.erb

@ -13,7 +13,7 @@ None so far.
## Contacting the Security Team
If you found a security issue in Devuan, please send an encrypted email
to <%= email('security@devuan.org') %>.
to `security@devuan.org`.
The OpenPGP fingerprint is: [`1D8E 3B76 D173 5BC1 AED3 39AF 1872 6912 38BB CDB4`][ASC].

Loading…
Cancel
Save