Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/educenter-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 06:41:17 +0300
committersomratpro <abdulmonnafsomrat@gmail.com>2020-10-01 06:41:17 +0300
commit798ed133fb0d68d2b547e3c16f3682e181d57988 (patch)
tree3fe94ecee9e3e7d4929621673bd7678903d4a64b
parent8b40742d3b0b7e45d8fe52a0d1065e54b3fa32ad (diff)
parent6d7a605e69ea1b918ec7d5d98529588b2fca4903 (diff)
Merge branch 'master' of https://github.com/themefisher/educenter-hugo
-rw-r--r--LICENSE27
-rw-r--r--README.md4
-rw-r--r--exampleSite/i18n/en.yaml32
-rw-r--r--exampleSite/i18n/fr.yaml32
-rwxr-xr-xlayouts/partials/header.html8
5 files changed, 84 insertions, 19 deletions
diff --git a/LICENSE b/LICENSE
index 2eb2a8d..6c459db 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,12 +1,21 @@
-Attribution 3.0 Unported (CC BY 3.0)
+MIT License
-You are free to:
-Share — copy and redistribute the material in any medium or format
-Adapt — remix, transform, and build upon the material
-for any purpose, even commercially.
-This license is acceptable for Free Cultural Works.
-The licensor cannot revoke these freedoms as long as you follow the license terms.
+Copyright (c) 2020 Themefisher
-Know more about the license follow this link - https://creativecommons.org/licenses/by/3.0/
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
-If you want to remove the credit simply make a [donation](https://www.paypal.me/Themefisher), so that we can run our contribution to hugo community.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 96d8026..ab3d1c8 100644
--- a/README.md
+++ b/README.md
@@ -78,10 +78,6 @@ If your problem or idea is not addressed yet, [open a new issue](https://github.
If you have questions or need help integrating the product please [contact us](mailto:mehedi@themefisher.com) instead of opening an issue.
-## Licensing
-
-This Theme is released under [Creative Commons Attribution 3.0 (CC-BY-3.0) License](https://creativecommons.org/licenses/by/3.0/)
-If you want to remove the credit simply make a Donation , so that we can run our contribution to hugo community.
### Donate Us (Author)
This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated . Thank you!
diff --git a/exampleSite/i18n/en.yaml b/exampleSite/i18n/en.yaml
index bf7cc82..c95af6a 100644
--- a/exampleSite/i18n/en.yaml
+++ b/exampleSite/i18n/en.yaml
@@ -107,4 +107,34 @@
translation: Our Teachers
- id: download
- translation: Download \ No newline at end of file
+ translation: Download
+
+- id: About
+ translation: About
+
+- id: course
+ translation: course
+
+- id: Pages
+ translation: Pages
+
+#- id: teacher
+# translation: teacher
+
+- id: notice
+ translation: notice
+
+- id: event
+ translation: event
+
+- id: scholarship
+ translation: scholarship
+
+- id: research
+ translation: research
+
+- id: blog
+ translation: blog
+
+- id: contact
+ translation: contact
diff --git a/exampleSite/i18n/fr.yaml b/exampleSite/i18n/fr.yaml
index 5715deb..b412b42 100644
--- a/exampleSite/i18n/fr.yaml
+++ b/exampleSite/i18n/fr.yaml
@@ -107,4 +107,34 @@
translation: Nos enseignants
- id: download
- translation: Télécharger \ No newline at end of file
+ translation: Télécharger
+
+- id: About
+ translation: À propos
+
+- id: course
+ translation: Cours
+
+- id: Pages
+ translation: Pages
+
+#- id: teacher
+# translation: Enseignant·e
+
+- id: notice
+ translation: notice
+
+- id: event
+ translation: Évènement
+
+- id: scholarship
+ translation: Cursus
+
+- id: research
+ translation: Recherches
+
+- id: blog
+ translation: Blog
+
+- id: contact
+ translation: Contact
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index bc34393..0901771 100755
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -44,17 +44,17 @@
{{ if .HasChildren }}
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown">
- {{ .Name }}
+ {{ i18n .Name }}
</a>
<div class="dropdown-menu">
{{ range .Children }}
- <a class="dropdown-item" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
+ <a class="dropdown-item" href="{{ .URL | absLangURL }}">{{ i18n .Name }}</a>
{{ end }}
</div>
</li>
{{ else }}
<li class="nav-item">
- <a class="nav-link" href="{{ .URL | absLangURL }}">{{ .Name }}</a>
+ <a class="nav-link" href="{{ .URL | absLangURL }}">{{ i18n .Name }}</a>
</li>
{{ end }}
{{ end }}
@@ -86,4 +86,4 @@
</div>
</div>
</header>
-<!-- /header --> \ No newline at end of file
+<!-- /header -->