Skip to content

Fancy Link Farm Template for showing a list of links in a searchable table from a YAML data file

License

Notifications You must be signed in to change notification settings

bowdoincollege/fancy-link-farm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fancy Link Farm Table

About

Template to display list of links in a searchable, filterable, pretty HTML table. Done in 100% JavaScript so no awkward server code is needed.

Originally forked from derekeder/csv-to-html-table, but later converted to just using YAML data and jQuery DataTables.

Adapt to your stuff and using this template

To set this up for your links, you will need to edit index.html:

  • Change the page title in the <head> section
  • Change the <header> text to match your project's description
  • Change the table row headings text to match your project's data fields
  • Change the columns in the JavaScript code to match your YAML data fields
  • Change the <footer> text to match your project's description (like the header)

Then for all your data:

  • Update the links.yaml file with your data

In daily usage, after being installed, the links.yaml is updated with new links and descriptive fields. Then, viola, the site is magically and deliciously updated.

About the Code

Originally adapted from derekeder/csv-to-html-table. Which would convert CSV files for use by jQuery DataTables. I no longer use any of Derek's code, but have an appreciation and give thanks for his work.

This version uses:

Copyright

Copyright (c) 2018 Stephen Houser. Released under the MIT License.

About

Fancy Link Farm Template for showing a list of links in a searchable table from a YAML data file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages