Fix Git commit hash
This commit is contained in:
parent
03ecfb2793
commit
cda3a38af3
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
def git_hash
|
def git_hash
|
||||||
exec 'git rev-parse --short HEAD'
|
`git rev-parse HEAD`.chomp
|
||||||
end
|
end
|
||||||
|
|
||||||
def meta_description
|
def meta_description
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<meta name="twitter:title" content="<%= page_title %>">
|
<meta name="twitter:title" content="<%= page_title %>">
|
||||||
<meta name="twitter:description" content="<%= meta_description %>">
|
<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">
|
<meta name="theme-color" content="#0073ff">
|
||||||
|
|
||||||
|
@ -33,8 +33,9 @@
|
||||||
<body>
|
<body>
|
||||||
<%= render partial: 'layouts/navbar' %>
|
<%= render partial: 'layouts/navbar' %>
|
||||||
|
|
||||||
<%= render AlertComponent.new(content: alert) if alert %>
|
<%# idk what's wrong, but these spit out errors %>
|
||||||
<%= render NoticeComponent.new(content: notice) if notice %>
|
<%# render AlertComponent.new(content: alert) if alert %>
|
||||||
|
<%# render NoticeComponent.new(content: notice) if notice %>
|
||||||
|
|
||||||
<div id="output">
|
<div id="output">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|
Loading…
Reference in a new issue