@ca-plant-list/ca-plant-list 0.1.19 → 0.1.20

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.
@@ -38,6 +38,7 @@
38
38
  </nav>
39
39
 
40
40
  <div class="container-xxl px-5">
41
+ <h1>{{page.title}}</h1>
41
42
  {{content}}
42
43
  </div>
43
44
 
@@ -2,7 +2,6 @@
2
2
  title: Name Search
3
3
  js: name_search.js
4
4
  ---
5
- <h1>Search</h1>
6
5
 
7
6
  <script>
8
7
  const NAMES = {% include names.json%};
@@ -20,7 +20,6 @@ class GenericPage {
20
20
 
21
21
  getDefaultIntro() {
22
22
  let html = this.#getFrontMatter();
23
- html += HTML.textElement( "h1", this.#title );
24
23
  const introPath = "intros/" + this.#baseFileName + ".md";
25
24
  if ( Jekyll.hasInclude( this.#outputDir, introPath ) ) {
26
25
  html += HTML.wrap( "div", Jekyll.include( introPath ), { class: "section" } );
package/lib/taxon.js CHANGED
@@ -137,6 +137,10 @@ class Taxon {
137
137
  return name.replace( / (subsp|var)\./, "" ).replace( "×", "× " );
138
138
  }
139
139
 
140
+ getINatSyn() {
141
+ return this.#iNatSyn;
142
+ }
143
+
140
144
  getINatTaxonLink() {
141
145
  const iNatID = this.getINatID();
142
146
  if ( !iNatID ) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ca-plant-list/ca-plant-list",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Tools to create Jekyll files for a website listing plants in an area of California.",
5
5
  "license": "MIT",
6
6
  "repository": {