Data Files And Menus
Your theme includes several collections in the collections
folder. The menu system is a simple list order item in HTML5 in the _includes folder.
Table of Contents
Prev/Next
Probably Something
Sed tristique purus vitae volutpat ultrices. Aliquam eu elit eget arcu commodo suscipit dolor nec nibh. Proin a ullamcorper elit, et sagittis turpis. Integer ut fermentum.
Law Members
Inside _data/members.yml is a YAML file for law members only. You can modify that to include other staff to filter data point and list staff members on a new page. This is an example used in content authorship and organization members including founders.
attorney1:
birth_country: "United States of America"
birth_city: "Paso Robles"
birth_region: CA
birth_zip: 93446
birth_date: "05/1968"
education: "Southeastern University: B.A. History – 2008, University of Florida Levin College of Law: Juris Doctor – 2001"
image: attorney1.jpg
nationality: "United States of America"
name: "Attorney One Esq"
first_name: "Attorney"
last_name: "One"
honorary: Esquire
email: email@example.com
home_country: "United States of America"
home_city: "Ocala"
home_region: "FL"
home_zip: "34482"
gender: Male
permalink: "/lawyers/attorney1.html"
founder: true
practices: "Personal Injury · Insurance Litigation"
web: "Lawyer One Esq is a past member of the Hillsborough County Bar Association and Young Lawyers Division, the Lakeland Bar Association, and Emerge. Jon was also served on the Board of Directors for Tri-County Human services, which serves Polk, Hardee, and Highlands counties. Lawyer One Esq is currently a member of the Jacksonville Bar Association."
FAQ Data
Every law practice type should have an FAQ Everytime you add one, you should create the FAQ data file as well. Create a new file in _pages/xxxx.html Duplicate the file and change the name of the new data file you just created in _data/faq/xxxxx.yml. The filename becomes the data filter to display FAQ questions and relate the link in structured data. Here is a sample data file for Drug FAQ:
- id: q1
question: "What is Florida's Marijuana Possesion Law?"
answer: "In Florida, possession of marijuana without a prescription is a criminal offense. Individuals found to have less than 20 grams on their person may be charged with a misdemeanor, while those found with 20 grams or more of marijuana may be charged with a felony. Medical patients are advised to always have their card and their prescription on them when transporting their medication."
- id: q2
question: "What is Florida's Oxycodone possesion law?"
answer: "A prescription painkiller, oxycodone can be found in both OxyContin and Percocet. Individuals found to have less than 7 grams of oxycodone on their person without a prescription may be charged with a third-degree felony. Individuals found to have 7 grams or more may be charged with trafficking."
- id: q3
question: "What is Florida's Drug Possesion Law?"
answer: "Drug possession laws aim to limit the possession and personal use of illegal substances. These controlled substances include both Schedule 1 drugs like heroin, LSD, meth, and ecstasy and even prescription drugs like oxycodone and fentanyl.
It’s important to note that marijuana, though allowed for medical use, is still classified as a Schedule 1 drug at the federal level and considered an illegal substance. In Florida, Amendment 2, which was passed in November 2016, allows for the use and cultivation of medical marijuana for qualifying patients. The law does not allow everyone carte blanche access to marijuana. Rather, it requires that patients apply for a medical marijuana card and imposes purchasing and possession limits to ensure that medical marijuana is not abused.
Outside of medical marijuana, one must have a prescription. If you are in possession of marijuana, you can be charged with a misdemeanor or even a felony, depending on the amount of marijuana you have in your possession."
This is what the data filter looks like in the new page:
<div class="col-8 col-12-narrower">
<!-- Content -->
<div class="content">
<section>
<header class="image featured">
<h2>Frequently Asked Questions</h2>
</header>
{% for data in site.data.faq.drug %}
<details>
<summary id="{{data.id}}">
<h4>{{data.question}}</h4></summary>
<p>{{data.answer | markdownify }}</p>
</details>
{% endfor %}
</section>
</div>
</div>
Google Maps Q&A Feature
This section controls the dynamic Google Maps Q&A Feature
#
# Google Maps Business Name
google_name: 'Acme Law Firm'
# http://ryanbradley.com/blog/get-your-business-cid-number-and-url-for-google-maps
google_cid: 17926433025171928482
# https://developers.google.com/maps/documentation/javascript/examples/places-placeid-finder
google_pid: ChIJNaVyt67U54gRojU0q9t7x_g
google_map: https://goo.gl/maps/ZcxNwm9qrrCeMBRDA
Facebook ID/Page ID
This section controls Facebook advanced tracking. Have your webmaster fill in these values.
og_image: '/assets/images/acme-law-firm-logo.jpg'
og_locale: 'en_US'
fb_admins:
fb_appid:
fb_pageid: