The Laurence Family Document Archive

Preserving our family’s important papers, certificates, and keepsakes



How to Add a New Document to the Archive

To add a new document, you now simply need to edit the _data/documents.json file:

  1. Prepare your document file:
    • Scan or photograph your document and save as .jpg, .png, or .pdf.
    • Place the document file in the assets/documents/ folder.
  2. Add a document entry to the JSON data:
    • Open the file _data/documents.json in a text editor.
    • Add a new document object to the documents array:
      {
        "id": "your-document-id",
        "category": "genealogy",
        "filename": "your-document.jpg",
        "en": {
          "title": "Your Document Title",
          "description": "Description of your document.",
          "tags": "tag1,tag2,tag3"
        },
        "ja": {
          "title": "文書のタイトル",
          "description": "文書の説明。",
          "tags": "タグ1,タグ2,タグ3"
        }
      }
      
  3. Test your addition locally and push your changes.

This change will automatically update both the English and Japanese versions of the document archive!


Preserving our family’s paper trail—important documents, certificates, and treasured keepsakes that tell the story of our heritage.