Tutorials

Tutorial articles for Hugo Connectome Theme

Introduction: Connectome Tutorials

How to Use

Published:
Summary: Load the themes in a folder inside themes. Read the docs by Hugo for more details. Use the config.yaml file in the exampleSite folder.
Pages: 8

7 Adding References

Published:
Summary: One could also add references to the post. Just add the following to the meta data of the post. references: - name: "Hugo (This is a demo reference)" link: "https://gohugo.com" The result is shown on the right.
Pages: 8

6 Embed Articles

Published:
Summary: Embed an article using the shortcode {{< e "tutorials/graph-of-connected-articles.md" >}} Here is the result: Graph of Connected Articles All articles that are connected by using links in metadata Link Articles Articles can be linked by adding a the reference of the target post to the meta data of the current post, e.g., links: - snm/single-neuron-model.md - tags/gauss-markov-theorem The ref of the target post can be the path to the markdown file inside the content folder, such as snm/single-neuron-model.
Pages: 8

5 Link to Other Page and Show Hovercard

Published:
Summary: Apart from the normal markdown links, e.g., [this link](snm/single-neuron-model) we can also link to other page using the following code. {{< c "tutorials/embed-articles.md" >}} The result will be this: Embed Articles Embed Articles Embed an article using the shortcode {{< e "tutorials/graph-of-connected-articles.md" >}} Here is the result: Graph of Connected Articles All articles that are connected by using links in metadata Link Articles Articles can be linked by adding a the reference of the target post to the meta data of the current post, e.
Pages: 8

4 Link Articles

Published:
Summary: Articles can be linked by adding a the reference of the target post to the meta data of the current post, e.g., links: - snm/single-neuron-model.md - tags/gauss-markov-theorem The ref of the target post can be the path to the markdown file inside the content folder, such as snm/single-neuron-model.md, the path to the tag page, such as tags/gauss-markov-theorem. If one needs to find the ref of a post, it is found on the right of the content.
Pages: 8

3 Upvote Button at the Bottom of the Page

Published:
Summary: The small upvote and downvote nav buttons at the bottom right of the page are make with lyket. This is a demo configuration. lyket: api_key: "xxbadsjflkdjwe" lyket_type: "updown" To get the api token, sign up and copy the API token.
Pages: 8

2 Comments

Published:
Summary: Hugo connectome supports two comment systems: utteranc.es, and giscus. Here is a demo config. We put both giscus and utterances here but we only use: "giscus". comments: use: "giscus" giscus: repo: "datumorphism/comments" repo_id: "MDEwOlJlcG9zaXRvcnkxNjU5MDkyNDI=" category: "Comments" category_id: "DIC_kwDOCeOS-s4B-Zxx" utterances: # comment system: utterances (https://utteranc.es/) parameters repo: "datumorphism/comments" # repo="[ENTER REPO HERE]", the comments will appear as issues in this repository on github. term: pathname # issue-term="pathname" theme: github-light # theme="github-light" utteranc.
Pages: 8

1 Graph of Connected Articles

Published:
Summary: All articles that are connected by using links in metadata Link Articles Articles can be linked by adding a the reference of the target post to the meta data of the current post, e.g., links: - snm/single-neuron-model.md - tags/gauss-markov-theorem The ref of the target post can be the path to the markdown file inside the content folder, such as snm/single-neuron-model.md, the path to the tag page, such as tags/gauss-markov-theorem. If one needs to find the ref of a post, it is found on the right of the content.
Pages: 8