Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aramo98 patch 1 #7

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ for win: 1. download last hugo [static site generator for windows](https://githu

for mac: 1. `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ` 2. `brew install hugo `

for linux: 1. `sudo snap install hugo`

3. after do:
`git clone [email protected]:goshva/snakeword.git`

4. go to folder snakeword and:
` ../hugo.exe server` for mac: ` hugo server`
` ../hugo.exe server` for mac and linux: ` hugo server`

5. for build run
` ../hugo.exe (withouut server)`
` ../hugo.exe (withouut server)` for linux: `hugo`

## for websocket server

Expand Down
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
DefaultContentLanguage = "en"
DefaultContentLanguageInSubdir = true
copyright = "Everything is mine"
baseURL = "http://snakeword.vit.ooo"
baseURL = "http://snakeword.vit.ooo/"
#baseURL = "https://goshva.github.io/snakeword/"
languageCode = "en-us"
title = "My snakeword game"
Expand Down
Binary file added docs/.DS_Store
Binary file not shown.
32 changes: 16 additions & 16 deletions docs/ar/categories/index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html><!DOCTYPE html>
<html><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="" />
<meta property="og:description" content="" />
<meta property="og:url" content="http://snakeword.vit.ooo/ar/categories/ar" />
<meta property="og:url" content="http://localhost:1313/ar/categories/ar" />
<meta property="og:type" content="website" />
<meta property="og:title" content="" />
<meta property="og:image" content="/img/soc.jpg" />
Expand Down Expand Up @@ -79,37 +79,37 @@
<li class="top-menu-item">

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/la/"
>Latin</a
<a class="top-menu-link-languages" href="http://localhost:1313/en/"
>English</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/ar/"
>Arabian</a
<a class="top-menu-link-languages" href="http://localhost:1313/la/"
>Latin</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/en/"
>English</a
<a class="top-menu-link-languages" href="http://localhost:1313/ar/"
>Arabian</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/fr/"
<a class="top-menu-link-languages" href="http://localhost:1313/fr/"
>French</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/de/"
<a class="top-menu-link-languages" href="http://localhost:1313/de/"
>Немецкий</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/ru/"
<a class="top-menu-link-languages" href="http://localhost:1313/ru/"
>Русский</a
>
</li>
Expand All @@ -127,11 +127,11 @@
</body>
<div id="content">
</div>
<script src="/js/classes.js"></script>
<script src="/js/gameCtrl.js"></script>
<script src="/js/genSet.js"></script>
<script src="/js/dictionary.js"></script>
<script src="/js/victory.js"></script>
<script defer src="/js/classes.js"></script>
<script defer src="/js/gameCtrl.js"></script>
<script defer src="/js/genSet.js"></script>
<script defer src="/js/dictionary.js"></script>
<script defer src="/js/victory.js"></script>
</body>
</html>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/ar/categories/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Snakeword</title>
<link>http://snakeword.vit.ooo/ar/categories/</link>
<link>http://localhost:1313/ar/categories/</link>
<description>Recent content in Categories on Snakeword</description>
<generator>Hugo -- gohugo.io</generator>
<language>ar</language>
<copyright>Everything is mine</copyright>
<atom:link href="http://snakeword.vit.ooo/ar/categories/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/ar/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
34 changes: 17 additions & 17 deletions docs/ar/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html><!DOCTYPE html>
<html><script src="/livereload.js?mindelay=10&amp;v=2&amp;port=1313&amp;path=livereload" data-no-instant defer></script><!DOCTYPE html>
<html lang="ar">
<head>
<meta name="generator" content="Hugo 0.120.4">
<meta name="generator" content="Hugo 0.124.1">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="" />
<meta property="og:description" content="" />
<meta property="og:url" content="http://snakeword.vit.ooo/ar/ar" />
<meta property="og:url" content="http://localhost:1313/ar/ar" />
<meta property="og:type" content="website" />
<meta property="og:title" content="" />
<meta property="og:image" content="/img/soc.jpg" />
Expand Down Expand Up @@ -80,37 +80,37 @@
<li class="top-menu-item">

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/la/"
>Latin</a
<a class="top-menu-link-languages" href="http://localhost:1313/en/"
>English</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/ar/"
>Arabian</a
<a class="top-menu-link-languages" href="http://localhost:1313/la/"
>Latin</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/en/"
>English</a
<a class="top-menu-link-languages" href="http://localhost:1313/ar/"
>Arabian</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/fr/"
<a class="top-menu-link-languages" href="http://localhost:1313/fr/"
>French</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/de/"
<a class="top-menu-link-languages" href="http://localhost:1313/de/"
>Немецкий</a
>
</li>

<li class="top-menu-item">
<a class="top-menu-link-languages" href="http://snakeword.vit.ooo/ru/"
<a class="top-menu-link-languages" href="http://localhost:1313/ru/"
>Русский</a
>
</li>
Expand Down Expand Up @@ -166,11 +166,11 @@
></div>

</div>
<script src="/js/classes.js"></script>
<script src="/js/gameCtrl.js"></script>
<script src="/js/genSet.js"></script>
<script src="/js/dictionary.js"></script>
<script src="/js/victory.js"></script>
<script defer src="/js/classes.js"></script>
<script defer src="/js/gameCtrl.js"></script>
<script defer src="/js/genSet.js"></script>
<script defer src="/js/dictionary.js"></script>
<script defer src="/js/victory.js"></script>
</body>
</html>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/ar/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Snakeword</title>
<link>http://snakeword.vit.ooo/ar/</link>
<link>http://localhost:1313/ar/</link>
<description>Recent content on Snakeword</description>
<generator>Hugo -- gohugo.io</generator>
<language>ar</language>
<copyright>Everything is mine</copyright>
<atom:link href="http://snakeword.vit.ooo/ar/index.xml" rel="self" type="application/rss+xml" />
<atom:link href="http://localhost:1313/ar/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
46 changes: 23 additions & 23 deletions docs/ar/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,100 +2,100 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://snakeword.vit.ooo/ar/categories/</loc>
<loc>http://localhost:1313/ar/categories/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://snakeword.vit.ooo/en/categories/"
href="http://localhost:1313/en/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="http://snakeword.vit.ooo/fr/categories/"
href="http://localhost:1313/fr/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="la"
href="http://snakeword.vit.ooo/la/categories/"
href="http://localhost:1313/la/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://snakeword.vit.ooo/de/categories/"
href="http://localhost:1313/de/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="ru"
href="http://snakeword.vit.ooo/ru/categories/"
href="http://localhost:1313/ru/categories/"
/>
<xhtml:link
rel="alternate"
hreflang="ar"
href="http://snakeword.vit.ooo/ar/categories/"
href="http://localhost:1313/ar/categories/"
/>
</url><url>
<loc>http://snakeword.vit.ooo/ar/</loc>
<loc>http://localhost:1313/ar/</loc>
<xhtml:link
rel="alternate"
hreflang="la"
href="http://snakeword.vit.ooo/la/"
hreflang="en"
href="http://localhost:1313/en/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://snakeword.vit.ooo/en/"
hreflang="la"
href="http://localhost:1313/la/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="http://snakeword.vit.ooo/fr/"
href="http://localhost:1313/fr/"
/>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://snakeword.vit.ooo/de/"
href="http://localhost:1313/de/"
/>
<xhtml:link
rel="alternate"
hreflang="ru"
href="http://snakeword.vit.ooo/ru/"
href="http://localhost:1313/ru/"
/>
<xhtml:link
rel="alternate"
hreflang="ar"
href="http://snakeword.vit.ooo/ar/"
href="http://localhost:1313/ar/"
/>
</url><url>
<loc>http://snakeword.vit.ooo/ar/tags/</loc>
<loc>http://localhost:1313/ar/tags/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="http://snakeword.vit.ooo/en/tags/"
href="http://localhost:1313/en/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="fr"
href="http://snakeword.vit.ooo/fr/tags/"
href="http://localhost:1313/fr/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="la"
href="http://snakeword.vit.ooo/la/tags/"
href="http://localhost:1313/la/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="de"
href="http://snakeword.vit.ooo/de/tags/"
href="http://localhost:1313/de/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="ru"
href="http://snakeword.vit.ooo/ru/tags/"
href="http://localhost:1313/ru/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="ar"
href="http://snakeword.vit.ooo/ar/tags/"
href="http://localhost:1313/ar/tags/"
/>
</url>
</urlset>
Loading