Fix Git commit hash

This commit is contained in:
Luna 2021-09-14 07:54:08 -04:00
parent 03ecfb2793
commit cda3a38af3
Signed by: luna
GPG key ID: C8DA627859769F68
2 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
module ApplicationHelper
def git_hash
exec 'git rev-parse --short HEAD'
`git rev-parse HEAD`.chomp
end
def meta_description

View file

@ -20,7 +20,7 @@
<meta name="twitter:title" content="<%= page_title %>">
<meta name="twitter:description" content="<%= meta_description %>">
<meta name="generator" content="mint-lgbt/mintbooru @ <%# git_hash %>">
<meta name="generator" content="mint-lgbt/mintbooru @ <%= git_hash %>">
<meta name="theme-color" content="#0073ff">
@ -33,8 +33,9 @@
<body>
<%= render partial: 'layouts/navbar' %>
<%= render AlertComponent.new(content: alert) if alert %>
<%= render NoticeComponent.new(content: notice) if notice %>
<%# idk what's wrong, but these spit out errors %>
<%# render AlertComponent.new(content: alert) if alert %>
<%# render NoticeComponent.new(content: notice) if notice %>
<div id="output">
<%= yield %>