From 2fffdf3f1e53eab2e4ebac627c4e9cf9d891af7a Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Wed, 29 Mar 2023 16:48:53 -0300 Subject: [PATCH] Moved information about creating your repo to front (#1298) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moved information about using this template to the beginning of the installation part, added a few more documentation links in it, fixed some typos. --------- Signed-off-by: George Araújo --- README.md | 94 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 54 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index 2990857..91471d6 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ If you like the theme, give it a star! [![Preview](https://raw.githubusercontent.com/alshedivat/al-folio/master/assets/img/al-folio-preview.png)](https://alshedivat.github.io/al-folio/) - ## User community The vibrant community of **al-folio** users is growing! @@ -133,12 +132,10 @@ Images2Symbols (CogSci: @@ -454,7 +462,7 @@ There are several custom bibtex keywords that you can use to affect how the entr - `abstract`: Adds an "Abs" button that expands a hidden text field when clicked to show the abstract text - `arxiv`: Adds a link to the Arxiv website (Note: only add the arxiv identifier here - the link is generated automatically) - `bibtex_show`: Adds a "Bib" button that expands a hidden text field with the full bibliography entry -- `html`: Inserts a "HTML" button redirecting to the user-specified link +- `html`: Inserts an "HTML" button redirecting to the user-specified link - `pdf`: Adds a "PDF" button redirecting to a specified file (if a full link is not specified, the file will be assumed to be placed in the /assets/pdf/ directory) - `supp`: Adds a "Supp" button to a specified file (if a full link is not specified, the file will be assumed to be placed in the /assets/pdf/ directory) - `blog`: Adds a "Blog" button redirecting to the specified link @@ -463,7 +471,7 @@ There are several custom bibtex keywords that you can use to affect how the entr - `slides`: Adds a "Slides" button redirecting to a specified file (if a full link is not specified, the file will be assumed to be placed in the /assets/pdf/ directory) - `website`: Adds a "Website" button redirecting to the specified link - `altmetric`: Adds an [Altmetric](https://www.altmetric.com/) badge (Note: if DOI is provided just use `true`, otherwise only add the altmetric identifier here - the link is generated automatically) -- `dimensions`: Adds an [Dimensions](https://www.dimensions.ai/) badge (Note: if DOI or PMID is provided just use `true`, otherwise only add the dimensions identifier here - the link is generated automatically) +- `dimensions`: Adds a [Dimensions](https://www.dimensions.ai/) badge (Note: if DOI or PMID is provided just use `true`, otherwise only add the Dimensions' identifier here - the link is generated automatically) You can implement your own buttons by editing the bib.html file. @@ -521,14 +529,16 @@ Easily create beautiful grids within your blog posts and project pages: ### Other features -#### GitHub repositories and user stats -**al-folio** uses [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) and [github-profile-trophy](https://github.com/ryo-ma/github-profile-trophy) -to display GitHub repositories and user stats on the the `/repositories/` page. +#### GitHub's repositories and user stats -Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories to the the `/repositories/` page. +**al-folio** uses [github-readme-stats](https://github.com/anuraghazra/github-readme-stats) and [github-profile-trophy](https://github.com/ryo-ma/github-profile-trophy) +to display GitHub repositories and user stats on the `/repositories/` page. + +Edit the `_data/repositories.yml` and change the `github_users` and `github_repos` lists to include your own GitHub profile and repositories to the `/repositories/` page. You may also use the following codes for displaying this in any other pages. -``` + +```html {% if site.data.repositories.github_users %}
@@ -538,7 +548,7 @@ You may also use the following codes for displaying this in any other pages.
{% endif %} - + {% if site.repo_trophies.enabled %} {% for user in site.data.repositories.github_users %} {% if site.data.repositories.github_users.size > 1 %} @@ -561,6 +571,7 @@ You may also use the following codes for displaying this in any other pages. ``` #### Theming + A variety of beautiful theme colors have been selected for you to choose from. The default is purple, but you can quickly change it by editing the `--global-theme-color` variable in the `_sass/_themes.scss` file. @@ -570,6 +581,7 @@ You can also add your own colors to this file assigning each a name for ease of use across the template. #### Social media previews + **al-folio** supports preview images on social media. To enable this functionality you will need to set `serve_og_meta` to `true` in your `_config.yml`. Once you have done so, all your site's pages will include Open Graph data in the HTML head element. @@ -580,12 +592,14 @@ If for an individual page this variable is not set, then the theme will fall bac In both the page-specific and site-wide cases, the `og_image` variable needs to hold the URL for the image you wish to display in social media previews. #### Atom (RSS-like) Feed + It generates an Atom (RSS-like) feed of your posts, useful for Atom and RSS readers. The feed is reachable simply by typing after your homepage `/feed.xml`. E.g. assuming your website mountpoint is the main folder, you can type `yourusername.github.io/feed.xml` #### Related posts -By default, there will be a related posts section on the bottom of the blog posts. + +By default, there will be a related posts section on the bottom of the blog posts. These are generated by selecting the `max_related` most recent posts that share at least `min_common_tags` tags with the current post. If you do not want to display related posts on a specific post, simply add `related_posts: false` to the front matter of the post. If you want to disable it for all posts, simply set `enabled` to false in the `related_blog_posts` section in `_config.yml`.