sfc-utils 1.4.48 → 1.4.49

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.
@@ -42,34 +42,42 @@ const Byline = ({ meta, updateNote, updatePrefix }) => {
42
42
 
43
43
  {has_authors && <span>{" "}|{" "}</span>}
44
44
 
45
- {!moddateString &&
45
+ {!ReplacementTime &&
46
46
  <>
47
-
48
- <time
49
- className="topper-dateline"
50
- dateTime={ISO_PUBDATE}
51
- itemProp="datePublished"
52
- >
53
- {!has_authors && <span>Published </span>} {pubdateString}
54
- </time>
47
+ {!moddateString &&
48
+ <>
49
+ <time
50
+ className="topper-dateline"
51
+ dateTime={ISO_PUBDATE}
52
+ itemProp="datePublished"
53
+ >
54
+ {!has_authors && <span>Published </span>} {pubdateString}
55
+ </time>
56
+ </>
57
+ }
58
+ {moddateString && (
59
+ <>
60
+ <time
61
+ className="topper-dateline updated-date"
62
+ dateTime={ISO_MODDATE}
63
+ itemProp="dateModified"
64
+ >
65
+ {updatePrefix ? (
66
+ <>{updatePrefix}{' '}</>
67
+ ) : (
68
+ <>Updated{' '}</>
69
+ )}
70
+ {moddateString}
71
+ </time>
72
+ </>
73
+ )}
55
74
  </>
56
75
  }
57
- {moddateString && (
58
- <>
59
- <time
60
- className="topper-dateline updated-date"
61
- dateTime={ISO_MODDATE}
62
- itemProp="dateModified"
63
- >
64
- {updatePrefix ? (
65
- <>{updatePrefix}{' '}</>
66
- ) : (
67
- <>Updated{' '}</>
68
- )}
69
- {moddateString}
70
- </time>
71
- </>
72
- )}
76
+
77
+ {ReplacementTime &&
78
+ <ReplacementTime />
79
+ }
80
+
73
81
  {/* Add a note if this is a live-updating project */}
74
82
  {updateNote && (
75
83
  <>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.4.48",
3
+ "version": "1.4.49",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",