# Served by the admin gateway. Do not edit by hand.
backend:
  name: github
  repo: "yellis/adinaellis.com"
  branch: "main"
  api_root: "https://admin.adinaellis.com"
  graphql_api_root: "https://admin.adinaellis.com/api/graphql"
  squash_merges: true
publish_mode: editorial_workflow
media_folder: "src/assets/images/uploads"
public_folder: "/assets/images/uploads"
media_libraries:
  default:
    config:
      max_file_size: 26214400
      transformations:
        raster_image:
          format: webp
          quality: 85
          width: 2400
          height: 2400
  stock_assets: false
site_url: "https://adinaellis.com"
display_url: "https://adinaellis.com"
collections:
  - name: "articles"
    label: "Articles"
    label_singular: "Article"
    description: "Your essays and teachings. **Save** keeps a draft with a preview link; nothing is public until you **Publish**."
    folder: "src/articles"
    create: true
    delete: false
    slug: "{{date | date('YYYY-MM-DD')}}-{{slug}}"
    summary: "{{title}} — {{date | date('YYYY-MM-DD')}}{{featured | ternary(' · Homepage', '')}}{{hidden | ternary(' · Hidden', '')}}"
    sortable_fields:
      fields:
        - "title"
        - "date"
        - "category"
      default:
        field: "date"
        direction: "descending"
    view_filters:
      - label: "On homepage"
        field: "featured"
        pattern: true
      - label: "Hidden"
        field: "hidden"
        pattern: true
      - label: "Has video"
        field: "videoUrl"
        pattern: "youtu"
    view_groups:
      - label: "Category"
        field: "category"
    preview_path: "/articles/{{slug}}/"
    aliases_field: false
    fields:
      - label: "Title"
        name: "title"
        widget: "string"
        hint: "The headline, exactly as it should appear."
      - label: "Publish date"
        name: "date"
        widget: "datetime"
        type: "date"
        default: "{{now}}"
        hint: "The date shown on the article. Pick a future date to schedule it — it goes live by itself that morning."
      - label: "Category"
        name: "category"
        widget: "select"
        options:
          - "Tishrei"
          - "Cheshvan"
          - "Kislev"
          - "Tevet"
          - "Shevat"
          - "Adar"
          - "Nissan"
          - "Iyar"
          - "Sivan"
          - "Tammuz"
          - "Av"
          - "Elul"
          - "Tanach & Holidays"
        hint: "The Hebrew month this essay belongs to, or Tanach & Holidays."
      - label: "Body"
        name: "body"
        widget: "markdown"
        required: false
        modes:
          - "rich_text"
        buttons:
          - "bold"
          - "italic"
          - "link"
          - "heading-two"
          - "heading-three"
          - "quote"
          - "bulleted-list"
          - "numbered-list"
        editor_components: []
        hint: "Type Hebrew anywhere — a Hebrew paragraph or quote is shown right-to-left on the site. Shift+Enter starts a new line (for poems)."
      - label: "Excerpt (one-sentence teaser)"
        name: "excerpt"
        widget: "text"
        required: false
        hint: "One inviting sentence for article cards and the homepage. Plain text."
      - label: "Lead image"
        name: "image"
        widget: "image"
        required: false
        choose_url: false
        hint: "The picture at the top of the article and on its card. Optional."
      - label: "Image description"
        name: "imageAlt"
        widget: "string"
        required: false
        hint: "A few words describing the picture, for readers using screen readers. Optional."
      - label: "Tags"
        name: "tags"
        widget: "select"
        multiple: true
        required: false
        hint: "Pick about 6–8 topics. Start typing to search."
        options:
          - "adar"
          - "aharon"
          - "ahava"
          - "anxiety"
          - "av"
          - "avodah-zarah"
          - "avraham"
          - "ayin-tova"
          - "bamidbar"
          - "beauty"
          - "behaalotcha"
          - "biblical-commentary"
          - "biblical-heroes"
          - "bitachon"
          - "blessing"
          - "body"
          - "chanukah"
          - "chassidic-teachings"
          - "cheshvan"
          - "choice"
          - "comfort"
          - "communication"
          - "community"
          - "courage"
          - "creation"
          - "crisis-and-faith"
          - "dan"
          - "din-and-rachamim"
          - "divine-love"
          - "divine-providence"
          - "dreams"
          - "eicha"
          - "elul"
          - "empathy"
          - "emunah"
          - "enneagram"
          - "esther"
          - "exodus"
          - "faith"
          - "faith-and-reason"
          - "faithfulness"
          - "family-life"
          - "fear"
          - "finding-meaning"
          - "genesis"
          - "gideon"
          - "golden-calf"
          - "gratitude"
          - "greek-culture"
          - "grief"
          - "growth"
          - "growth-mindset"
          - "habits"
          - "harmony"
          - "healing"
          - "heroes-journey"
          - "hidden-potential"
          - "high-holidays"
          - "holiness"
          - "honoring-parents"
          - "hope"
          - "hope-and-resilience"
          - "inner-peace"
          - "intellect"
          - "iyar"
          - "jewish-holidays"
          - "jewish-identity"
          - "jewish-learning"
          - "joseph"
          - "journey"
          - "joy"
          - "judges"
          - "judgment"
          - "justice"
          - "kabbalistic-teachings"
          - "kedusha"
          - "kislev"
          - "kohelet"
          - "kosher"
          - "lag-baomer"
          - "lamentations"
          - "leadership"
          - "letting-go"
          - "life-lessons"
          - "life-transitions"
          - "light"
          - "loss-and-grief"
          - "love"
          - "maccabees"
          - "marriage"
          - "meditation"
          - "midian"
          - "midrash"
          - "mindfulness"
          - "miracles"
          - "mitzvot"
          - "modern-observance"
          - "moshe"
          - "mussar"
          - "nissan"
          - "october-7"
          - "optimism"
          - "overcoming-challenges"
          - "parasha"
          - "parenting"
          - "passover"
          - "peace"
          - "personal-development"
          - "personal-growth"
          - "perspective"
          - "pesach"
          - "physical-spiritual"
          - "pirkei-avot"
          - "prayer"
          - "prayer-practice"
          - "presence"
          - "process"
          - "prophets"
          - "protection"
          - "psalms"
          - "purim"
          - "purpose"
          - "rabbi-akiva"
          - "rabbinic-literature"
          - "rachel"
          - "rashbi"
          - "redemption"
          - "relationships"
          - "renewal"
          - "resilience"
          - "rosh-hashanah"
          - "seder"
          - "self-awareness"
          - "self-reflection"
          - "septuagint"
          - "shabbat"
          - "shalom-bayit"
          - "shavuot"
          - "shevat"
          - "shoftim"
          - "siblings"
          - "simcha"
          - "simchat-torah"
          - "sivan"
          - "song-of-songs"
          - "soul"
          - "spiritual-growth"
          - "spirituality"
          - "stars"
          - "sukkot"
          - "taanit-esther"
          - "talmud"
          - "talmudic-wisdom"
          - "tammuz"
          - "tanach"
          - "tears"
          - "tefillah"
          - "teshuvah"
          - "tevet"
          - "three-festivals"
          - "tikkun"
          - "tisha-bav"
          - "tishrei"
          - "torah"
          - "torah-learning"
          - "torah-study"
          - "transformation"
          - "trees"
          - "trust-in-god"
          - "tu-bav"
          - "tu-bshvat"
          - "uncertainty"
          - "unity"
          - "vulnerability"
          - "wisdom"
          - "women-in-judaism"
          - "yamim-noraim"
          - "yirah"
          - "yom-kippur"
          - "yosef"
      - label: "YouTube link"
        name: "videoUrl"
        widget: "string"
        required: false
        pattern:
          - "^https://(www\\.)?(youtube\\.com|youtu\\.be)/"
          - "Paste a YouTube link (https://www.youtube.com/… or https://youtu.be/…)"
        hint: "The video appears at the top of the article. Optional."
      - label: "Source sheet link"
        name: "sourceSheet"
        widget: "string"
        required: false
        pattern:
          - "^https://"
          - "Paste a full link starting with https://"
        hint: "Adds a “View Source Sheet” button. Optional."
      - label: "Originally published at"
        name: "externalUrl"
        widget: "string"
        required: false
        pattern:
          - "^https://"
          - "Paste a full link starting with https://"
        hint: "If this first appeared elsewhere (Matan, TorahWeb…), the site adds an “Originally published on…” line. Optional."
      - label: "Show on homepage"
        name: "featured"
        widget: "boolean"
        default: false
      - label: "Hide from site"
        name: "hidden"
        widget: "boolean"
        default: false
        hint: "Takes the article off the site without deleting it. Turn off to bring it back."
      - label: "Content Type"
        name: "contentType"
        widget: "hidden"
        default: "Full Article (hosted here)"
