tonyfast / nsf-goali

A Testing Environment for Mini-Research Sites
tonyfast.com/nsf-goali
1 stars 3 forks source link

Tags in Posts #4

Open mwpriddy opened 9 years ago

mwpriddy commented 9 years ago

How do I use Tags in my posts?

tonyfast commented 9 years ago

@mwpriddy

There are several Predefined Global Variables in Jekyll. More on YAML Lists

There are two levels of tagging that Jekyll provides: categories and tags

Also, one of the published Global variables address #2

mwpriddy commented 9 years ago

So we can use the 'published' global variable to publish the posts and we can use 'categories' or 'tags' for organizing the posts? Sounds great. Can you add an example of each to the sample post page? Thanks.

tonyfast commented 9 years ago

@PaymanSh Can you add the samples and close this out?

PaymanSh commented 9 years ago

http://tonyfast.com/nsf-goali/2014/08/11/Tag-Example/

and also check the tag-example in posts: https://github.com/tonyfast/nsf-goali/blob/gh-pages/_posts/2014-08-11-Tag-Example.html

mwpriddy commented 9 years ago

Thanks for the example. Should the tags be hyperlinks or something similar?

tonyfast commented 9 years ago

@mwpriddy

Tags should just be plain text. Tags ( and collections ) provide I hierarchical search system for the data.

Tags are strings that could:

a few examples

# Tags for a webpage accumulating experimental information generated for a Titanium sample after 
# deformation that has been processed with EDAX and EBSD
tags:
  - titanium
  - EDAX
  - BSE
  - EBSD
  - deformed
# Alternatively comma separated tags
tags: titanium, EDAX< BSE, EBSD, deformed
# Tags for a webpage to describe data analytics to analyze twins in Mg and Ti alloys.
tags: Magnesium, Titanium, Twinning, Image Processing, Spatial Statistics, Principal Component Analysis

How do tags help

Tags will help in sorting posts and reports at varying checkpoints in the research process. This is merely an organizational technique which has no rules and will only prove beneficial if the collaborators use them consistently.