sfc-utils 1.3.13 → 1.3.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/topper.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",
package/topper.js CHANGED
@@ -96,10 +96,10 @@ let getTopper = function(settings){
96
96
  for (let i = 0; i<authorNames.length; i++){
97
97
  // If we have a matching link, build it
98
98
  if (authorLinks[i]){
99
- authorHTML += `<a class="byline-link" href=${authorLinks[i].includes('http') ? `\"${authorLinks[i].trim()}\"` : `\"https://${authorLinks[i].trim()}\"`}>${authorNames[i].trim()}</a>`
99
+ authorHTML += `<a itemscope="" itemprop="author" itemtype="http://schema.org/Person" class="byline-link" href=${authorLinks[i].includes('http') ? `\"${authorLinks[i].trim()}\"` : `\"https://${authorLinks[i].trim()}\"`}>${authorNames[i].trim()}</a>`
100
100
  } else {
101
101
  // If we don't just print the name
102
- authorHTML += `<span>${authorNames[i].trim()}</span>`
102
+ authorHTML += `<span itemscope="" itemprop="author" itemtype="http://schema.org/Person">${authorNames[i].trim()}</span>`
103
103
  }
104
104
  if (i < authorNames.length - 1){
105
105
  authorHTML += ", "