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 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

View file

@ -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 %>