Browse Source

Small template fixes

Ivan Arkhipov 2 years ago
parent
commit
29dca242af
2 changed files with 27 additions and 26 deletions
  1. 4 4
      templates/base/head.tmpl
  2. 23 22
      templates/home.tmpl

+ 4 - 4
templates/base/head.tmpl

@@ -30,9 +30,9 @@
 		<meta property="og:url" content="{{AppURL}}" />
 		<meta property="og:type" content="website" />
 		<meta property="og:title" content="{{AppName}}">
-		<meta property="og:description" content="Gogs is a painless self-hosted Git service.">
+		<meta property="og:description" content="Endevirion git repositories server.">
 		<meta property="og:image" content="{{AppURL}}img/favicon.png" />
-		<meta property="og:site_name" content="Gogs">
+		<meta property="og:site_name" content="Endevirion.Git">
 	{{end}}
 
 	<link rel="shortcut icon" href="{{AppSubURL}}/img/favicon.png" />
@@ -69,8 +69,8 @@
 	</noscript>
 
 	<!-- Endevir's stylesheet overrides -->
-	<link rel="stylesheet" href="{{App SubURL}}/css/custom.css">
-	<link rel="stylesheet" href="{{App SubURL}}/css/custom-1.css">
+	<link rel="stylesheet" href="{{AppSubURL}}/css/custom.css">
+	<link rel="stylesheet" href="{{AppSubURL}}/css/custom-1.css">
 
 	<!-- JavaScript -->
 	<script src="{{AppSubURL}}/js/semantic-2.4.2.min.js"></script>

+ 23 - 22
templates/home.tmpl

@@ -17,37 +17,38 @@
 			</div>
 		</div>
 	</div>
-	
+
 	{{if eq .Lang "ru-RU"}}
 		<div class="ui stackable middle very relaxed page grid">
 			<div class="twenty wide center aligned centered column">
-				<p class="large">На этом сервере вы можете просмотреть все проекты, в которых я участвовал и которые находятся в открытом доступе, 
-				а также зарегистрироваться и использовать сервер как хранилище своих проектов. 
-				<br><br>
-				Ограничений на размер проекта и их количество, а также количество публичных и приватных репозиториев пока нет.
-				<br> 
-				Ввиду того, что сервер разрабатывается и поддерживается мной исключительно в образовательных целях, гарантия 100% работоспособности и аптайма не даётся.
-				<br><br><br>
-				За основу был взят проект Gogs (<a href="http://gogs.io/">gogs.io</a>), значительно схожий по интерфейсу и возможностям 
-				с сайтом <a href="github.com" target="blank">github.com.</a>.
+				<p class="large">
+					На этом сервере вы можете просмотреть все проекты, в которых я участвовал и которые находятся в открытом доступе, а также зарегистрироваться и использовать сервер как хранилище своих проектов. 
+				</p>
+				<p class="large">
+					Ограничений на размер проекта и их количество, а также количество публичных и приватных репозиториев пока нет.
+				</p>
+				<p class="large"> 
+					Ввиду того, что сервер разрабатывается и поддерживается мной исключительно в образовательных целях, гарантия 100% работоспособности и аптайма не даётся.
+				</p>
+				<p class="large"> 
+					За основу был взят проект Gogs (<a href="http://gogs.io/">gogs.io</a>), значительно схожий по интерфейсу и возможностям с сайтом <a href="github.com" target="blank">github.com.</a>.
 				</p>
 			</div>
 		</div> 
 	{{else}}
 		<div class="ui stackable middle very relaxed page grid">
 			<div class="twenty wide center aligned centered column">
-				<p class="large">On this server you can see and follow all my open-source projects, or register and use this 
-				platform to place and maintain your own projects.
-				<br><br>
-				There are still no limitations on public/private repositories number, neither on their size.
-				<br> 
-				According to the fact, that this site (as well as all other sites on gi1dor.ru domain) is developed and maintained by me mostly in educational purposes,
-				I cannot guarantee 100% uptime and stability of this server. By the way, backups of all repositories (and whole hard drive) are created frequently, so 
-				there's a very little chance that your data could be destroyed or corrupted. Any questions or suggestions you can send me by e-mail: 
-				<a href="mailto:e1.gi1dor@gmail.com">e1.gi1dor@gmail.com</a> 
-				<br><br><br>
-				This site is based on Gogs project (<a href="http://gogs.io/">gogs.io</a>), which has similar UI and features as 
-				<a href="github.com" target="blank">github.com</a> site has.
+				<p class="large">
+					On this server you can see and follow all my open-source projects, or register and use this platform to place and maintain your own projects.
+				</p>
+				<p class="large">
+					There are still no limitations on public/private repositories number, neither on their size.
+				</p>
+				<p>
+					According to the fact, that this site (as well as all other sites on gi1dor.ru domain) is developed and maintained by me mostly in educational purposes, I cannot guarantee 100% uptime and stability of this server. By the way, backups of all repositories (and whole hard drive) are created frequently, so there's a very little chance that your data could be destroyed or corrupted. Any questions or suggestions you can send me by e-mail: <a href="mailto:e1.gi1dor@gmail.com">e1.gi1dor@gmail.com</a> 
+				</p> 
+				<p>
+					This site is based on Gogs project (<a href="http://gogs.io/">gogs.io</a>), which has similar UI and features as <a href="github.com" target="blank">github.com</a> site has.
 				</p>
 			</div>
 		</div>