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

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2020-10-08 07:14:55 +0300
committerYihui Xie <xie@yihui.name>2020-10-08 07:14:55 +0300
commit9f548db856e9fcd5897e629454d4b24633691696 (patch)
treed0f49869a079ad48e58956a14f59d0da646a423e
parentbd05a2b6efa92b31dc481b15bf4a40d3e9bac30b (diff)
yihui.name -> yihui.org
-rw-r--r--README.md4
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/about.md4
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum.md2
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum2.md2
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum3.md2
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum4.md2
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum5.md2
-rw-r--r--exampleSite/content/post/2015-07-23-lorem-ipsum6.md2
-rw-r--r--exampleSite/content/post/2017-02-14-hello-markdown.md2
-rw-r--r--exampleSite/data/authors.yaml2
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--theme.toml4
13 files changed, 17 insertions, 17 deletions
diff --git a/README.md b/README.md
index 310dda5..cd29128 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,6 @@ It also supports features that are probably not even worth mentioning:
- Table of contents for single pages
-Most features can be configured through `config.toml`, and a few can be enabled by custom layouts. Please see the detailed documentation on the [About](https://xmag.yihui.name/about/) page of the theme website. The source code is available [on Github](https://github.com/yihui/hugo-xmag) (MIT license).
+Most features can be configured through `config.toml`, and a few can be enabled by custom layouts. Please see the detailed documentation on the [About](https://xmag.yihui.org/about/) page of the theme website. The source code is available [on Github](https://github.com/yihui/hugo-xmag) (MIT license).
-[![Screenshot](https://github.com/yihui/hugo-xmag/raw/master/images/screenshot.png)](https://xmag.yihui.name)
+[![Screenshot](https://github.com/yihui/hugo-xmag/raw/master/images/screenshot.png)](https://xmag.yihui.org)
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index e7642bd..ad05922 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -38,7 +38,7 @@ paginate = 6
description = "A website built through Hugo and blogdown."
summary_length = 300
github_edit = "https://github.com/yihui/hugo-xmag/edit/master/exampleSite/content/"
- footer = "&copy; [Yihui Xie](https://yihui.name) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
+ footer = "&copy; [Yihui Xie](https://yihui.org) 2017 | [Github](https://github.com/yihui) | [Twitter](https://twitter.com/xieyihui)"
[params.text]
back = "&larr; Back to Home"
diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md
index eabbdc1..a13b045 100644
--- a/exampleSite/content/about.md
+++ b/exampleSite/content/about.md
@@ -75,7 +75,7 @@ The page footer can be defined in `.Params.footer`, and the text is treated as M
[params]
summary_length = 200
github_edit = "https://github.com/yihui/hugo-xmag/edit/master/exampleSite/content/"
- footer = "&copy; [Yihui Xie](https://yihui.name) 2017"
+ footer = "&copy; [Yihui Xie](https://yihui.org) 2017"
```
There are a few phrases that you can "translate" (I didn't use Hugo's multi-language feature just because I'm lazy):
@@ -104,7 +104,7 @@ To add a table of contents to an article, you can add `toc: true` to the YAML me
# Custom layouts
-Besides the custom layout^[If this is the first time you have heard about "customizing layouts", please read the Hugo documentation first: https://gohugo.io/themes/customizing/.] files `head_custom.html` and `foot_custom.html` supported in **XMin** (see [documentation](https://xmin.yihui.name/about/)), this theme added a few more layout files such as `banner.html`, `comments.html` and `info.html` under `layouts/partials/`. The first can be used to customize the banner. The second can be used to add a comment section, e.g., if you want to use Hugo's default Disqus template, just add this to `comments.html`:
+Besides the custom layout^[If this is the first time you have heard about "customizing layouts", please read the Hugo documentation first: https://gohugo.io/themes/customizing/.] files `head_custom.html` and `foot_custom.html` supported in **XMin** (see [documentation](https://xmin.yihui.org/about/)), this theme added a few more layout files such as `banner.html`, `comments.html` and `info.html` under `layouts/partials/`. The first can be used to customize the banner. The second can be used to add a comment section, e.g., if you want to use Hugo's default Disqus template, just add this to `comments.html`:
```
{{ template "_internal/disqus.html" . }}
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum.md b/exampleSite/content/post/2015-07-23-lorem-ipsum.md
index f8f9c11..aea0fff 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/images/saga7.gif
+thumbnail: https://db.yihui.org/images/saga7.gif
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum2.md b/exampleSite/content/post/2015-07-23-lorem-ipsum2.md
index 6f02cd7..32e62d6 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum2.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum2.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/imgur/4rHon0B.png
+thumbnail: https://db.yihui.org/imgur/4rHon0B.png
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum3.md b/exampleSite/content/post/2015-07-23-lorem-ipsum3.md
index 3672c49..263f7dd 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum3.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum3.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/images/git-diff-gui.png
+thumbnail: https://db.yihui.org/images/git-diff-gui.png
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum4.md b/exampleSite/content/post/2015-07-23-lorem-ipsum4.md
index 2a89fa8..e66a8ca 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum4.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum4.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/imgur/2R9iyPv.jpg
+thumbnail: https://db.yihui.org/imgur/2R9iyPv.jpg
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum5.md b/exampleSite/content/post/2015-07-23-lorem-ipsum5.md
index 11e1645..96b8bc0 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum5.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum5.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/imgur/3mdv0k9.jpg
+thumbnail: https://db.yihui.org/imgur/3mdv0k9.jpg
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2015-07-23-lorem-ipsum6.md b/exampleSite/content/post/2015-07-23-lorem-ipsum6.md
index a7b96ae..8598529 100644
--- a/exampleSite/content/post/2015-07-23-lorem-ipsum6.md
+++ b/exampleSite/content/post/2015-07-23-lorem-ipsum6.md
@@ -7,7 +7,7 @@ categories:
tags:
- Markdown
- Lorem Ipsum
-thumbnail: https://db.yihui.name/imgur/CwBsAqs.png
+thumbnail: https://db.yihui.org/imgur/CwBsAqs.png
---
**Lorem ipsum** dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore _magna aliqua_. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
diff --git a/exampleSite/content/post/2017-02-14-hello-markdown.md b/exampleSite/content/post/2017-02-14-hello-markdown.md
index 30b62df..620a9c7 100644
--- a/exampleSite/content/post/2017-02-14-hello-markdown.md
+++ b/exampleSite/content/post/2017-02-14-hello-markdown.md
@@ -84,6 +84,6 @@ A table (centered by default):
An image (automatically centered when it is appropriate):
-![Happy Elmo](https://slides.yihui.name/gif/happy-elmo.gif)
+![Happy Elmo](https://slides.yihui.org/gif/happy-elmo.gif)
Looks good?
diff --git a/exampleSite/data/authors.yaml b/exampleSite/data/authors.yaml
index 800a25a..368b3c0 100644
--- a/exampleSite/data/authors.yaml
+++ b/exampleSite/data/authors.yaml
@@ -1,2 +1,2 @@
-"Yihui Xie": "Yihui Xie is currently a softwaren engineer at [RStudio](https://www.rstudio.com). You can find more information about him at https://yihui.name."
+"Yihui Xie": "Yihui Xie is currently a softwaren engineer at [RStudio](https://www.rstudio.com). You can find more information about him at https://yihui.org."
"Frida Gomam": "Frida Gomam is a joke."
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 4701244..3ea6bc9 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,4 +1,4 @@
-<script async src="//yihui.name/js/center-img.js"></script>
+<script async src="//yihui.org/js/center-img.js"></script>
<footer>
{{ partial "foot_custom.html" . }}
@@ -15,7 +15,7 @@
</footer>
{{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }}
-<script src="//yihui.name/js/math-code.js"></script>
+<script src="//yihui.org/js/math-code.js"></script>
<script async src="//mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML"></script>
{{ end }}
diff --git a/theme.toml b/theme.toml
index 99a7773..78e5dd2 100644
--- a/theme.toml
+++ b/theme.toml
@@ -2,11 +2,11 @@ name = "XMag"
license = "MIT"
licenselink = "https://github.com/yihui/hugo-xmag/blob/master/LICENSE.md"
description = "A minimal magazine theme for Hugo"
-homepage = "https://xmag.yihui.name"
+homepage = "https://xmag.yihui.org"
tags = ["minimal", "magazine", "clean", "simple", "minimalist", "blog", "responsive", "Google Analytics", "Syntax Highlighting"]
features = ["blog", "magazine"]
min_version = "0.18"
[author]
name = "Yihui Xie"
- homepage = "https://yihui.name"
+ homepage = "https://yihui.org"