Conditional statement in nested block Azure web app

Please see: Guide to asking for help in this forum