Magento 2 – How to add customer name in CMS page/block?

I need to add the name of the customer into a CMS Site or Block. I tried to insert {{var customer.name}} as seen in the documentation, but it does not work.