How much can I contribute to HSA if I only have HSA eligible health insurance policy for partial year of 2023

I was covered by HSA eligible insurance plan for 5 months in 2023 before I got laid off. I was wondering what is the max amount I can contribute to my HSA for the year of 2023? Thanks!